<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Breadboard | Learn with Edwin Robotics</title>
	<atom:link href="https://learn.edwinrobotics.com/category/breadboard/feed/" rel="self" type="application/rss+xml" />
	<link>https://learn.edwinrobotics.com</link>
	<description>Tutorials on basics of electronics, etc.</description>
	<lastBuildDate>Tue, 26 Dec 2017 13:23:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>Getting Started with Raspberry Pi and Electronics</title>
		<link>https://learn.edwinrobotics.com/getting-started-with-raspberry-pi-and-electronics/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-started-with-raspberry-pi-and-electronics</link>
					<comments>https://learn.edwinrobotics.com/getting-started-with-raspberry-pi-and-electronics/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Mon, 06 Feb 2017 17:36:55 +0000</pubDate>
				<category><![CDATA[Breadboard]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1341</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black.png" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" fetchpriority="high" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black.png 6000w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-300x200.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-1024x683.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-140x94.png 140w" sizes="(max-width: 6000px) 100vw, 6000px" />New to Electronics or programming ? No need to worry now, the Raspberry pi is only for you. If you are beginner, we will recommend you to go through our Raspberry Pi Blogs. We will recommend you to go through these set of videos before getting started. Lets have a look at set of contents we [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black.png" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black.png 6000w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-300x200.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-1024x683.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-140x94.png 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" /><p>New to Electronics or programming ? No need to worry now, the Raspberry pi is only for you. If you are beginner, we will recommend you to go through our <a href="http://learn.edwinrobotics.com/category/raspberry-pi/" target="_blank" rel="noopener">Raspberry Pi Blogs</a>. We will recommend you to go through these set of <a href="https://www.raspberrypi.org/help/videos/" target="_blank" rel="noopener">videos</a> before getting started. Lets have a look at set of contents we are covering in this tutorial.</p>
<p>&nbsp;</p>
<ul>
<li>
<h6><a href="#step1">Hardware Needed</a></h6>
</li>
<li>
<h6><a href="#step12">Using RasPiO Portsplus with Raspberry Pi</a></h6>
</li>
<li>
<h6><a href="#step2">Getting Started With Breadboard and LED</a></h6>
</li>
<li>
<h6><a href="#step3">Getting Started with Switch, transistor and buzzer on breadboard</a></h6>
</li>
<li>
<h6><a href="#step4">Pi Wedge Hookup Guide</a></h6>
</li>
<li>
<h6><a href="#step5">Getting Started with Physical Computing on Raspberry Pi</a></h6>
</li>
<li>
<h6><a href="#step6">Getting Started with Scratch</a></h6>
</li>
<li>
<h6><a href="#step7">Test blinking LED using Python/Scratch</a></h6>
</li>
<li>
<h6><a href="#step8">Testing Switch using Python/Scratch</a></h6>
</li>
<li>
<h6><a href="#step9">Testing Capacitive Touch using Python/Scratch</a></h6>
</li>
<li>
<h6><a href="#step10">Testing Buzzer using Python/Scratch</a></h6>
</li>
<li>
<h6><a href="#step11">References</a></h6>
</li>
</ul>
<p>&nbsp;</p>
<h3 id="step1">Hardware Needed</h3>
<p>&nbsp;</p>
<p><a href="https://shop.edwinrobotics.com/kits/547-raspberry-pi-electronics-starter-kit.html" target="_blank" rel="noopener"><img decoding="async" class="alignleft wp-image-1392" src="http://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new.png" alt="Raspberry Pi Electronics Starter Kit tutorial and blog" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new.png 2048w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new-150x150.png 150w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new-300x300.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new-1024x1024.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new-184x184.png 184w" sizes="(max-width: 150px) 100vw, 150px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>        <em>Raspberry Pi Electronics Starter Kit</em></h4>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3 id="step12">RasPiO Portsplus</h3>
<p>&nbsp;</p>
<p>The RasPiO® Portsplus board is designed for the new Raspberry Pi 3/2/A+/B+. It labels the ports clearly for you so that you don’t need to count pins. This will help you avoid wiring errors and damage.You can slip it over the GPIO header if you want, or hold it next to the header.RasPiO® Portsplus has GPIO port numbers on one side and Pin numbers on the other side, so you can use whichever numbering system you prefer. At just 1mm thick, it leaves plenty of space for attaching your wires. It’s thick enough not to feel flimsy, but thin enough not to be clunky. Refer the image below, to see how to use RasPio Portsplus.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1465" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1.jpg" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-1465" class="wp-image-1465" src="http://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1.jpg" alt="How to connect jumpers to Raspberry Pi with RasPiO Portsplus" width="500" height="448" srcset="https://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1.jpg 1661w, https://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1-300x269.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1-1024x917.jpg 1024w" sizes="(max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1465" class="wp-caption-text"><em>Raspberry Pi with RasPiO Portsplus and jumpers</em></p></div>
<h4></h4>
<h4></h4>
<h3>Breadboard and LED</h3>
<p>&nbsp;</p>
<p>In this step we will start with the breadboard, breadboards are preferred platform to start building circuits because it don’t need any soldering, thus giving you the flexibility to try, test and modify your circuit at any point of time. They allow you to make quick circuits, test out ideas and allow prototyping before making a permanent Printed Circuit Board. They are inexpensive and reusable and they are easily available in any electronics store. Once you understood the basics regarding breadboading , then will go ahead with the basic essential component of all the electronics circuit i.e LED.<strong>We have already added all the details regarding this step in the following blog, refer this blog on <a href="http://learn.edwinrobotics.com/tutorial-how-to-breadboard-led/" target="_blank" rel="noopener">&#8221; How to Breadboard LED &#8220;</a></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3 id="step3">Getting Started with Switch, transistor and buzzer on breadboard</h3>
<p>&nbsp;</p>
<p>One of the most elementary and easy-to-overlook circuit component is the switch. Switches don’t require any fancy equations to evaluate. All they do is select between an open circuit and a short circuit. Simple. But how could we live without buttons and switches!? What good is a blinky circuit with no user input? Or a deadly robot with no kill switch? or any remote or mobile with no buttons? What would our world be without with big red buttons.A switch is a component which controls the open-ness or closed-ness of an electric circuit. They allow control over current flow in a circuit (without having to actually get in there and manually cut or splice the wires). Switches are critical components in any circuit which requires user interaction or control.A switch can only exist in one of two states: open or closed. In the <strong>off</strong> state, a switch looks like an open gap in the circuit. This, in effect, looks like an <strong>open circuit</strong>, preventing current from flowing.In the <strong>on</strong> state, a switch acts just like a piece of perfectly-conducting wire. A short. This <strong>closes the circuit</strong>, turning the system “on” and allowing current to flow unimpeded through the rest of the system.</p>
<p>&nbsp;</p>
<div id="attachment_1452" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Function.gif" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1452" class="wp-image-1452" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Function.gif" alt="LED + Switch Basic circuit with battery" width="500" height="237" /></a><p id="caption-attachment-1452" class="wp-caption-text"><em>A circuit with an LED, resistor, and a switch. When the switch is closed, current flows and the LED can illuminate. Otherwise no current flows, and the LED receives no power.</em></p></div>
<p>&nbsp;</p>
<p>There are tons and tons of switches out there: toggle, rotary, DIP, push-button, rocker, membrane, … the list just goes on and on. Each of those switch types has a set of unique characteristics to differentiate it from others. Characteristics like what action flips the switch, or how many circuits the switch can control. You can check the <a href="https://shop.edwinrobotics.com/21-switches" target="_blank" rel="noopener">different types of switches</a> we having with us.Transistors can be regarded as a type of switch, as can many electronic components. They are used in a variety of circuits and you will find that it is rare that a circuit built/available in school Technology Department/ Laboratory does not contain at least one transistor. Even the things you used in your daily life, i.e mobile, tv, computers, etc all comes with tons of transistors built into it, transistors are central to electronics and there are two main types; NPN and PNP. Most circuits tend to use NPN. There are hundreds of transistors which work at different voltages but all of them fall into these two categories.<strong>We had added detailed tutorial on <a href="http://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/" target="_blank" rel="noopener">&#8221; Getting started with switch, transistors and buzzer on breadboard &#8220;</a> ,</strong> so that you will clearly understand the basics of switches, transistors and buzzer.</p>
<p>&nbsp;</p>
<h3 id="step4">Pi Wedge</h3>
<p>&nbsp;</p>
<p>Its time to expand your GPIO pins from the Raspberry pi and made it accessible for Breadboarding. The preassembled 40-pin Pi Wedge will let your Pi pins broken out to a breadboard so that they can easily be used. The Sparkfun has already added a detailed <a href="https://learn.sparkfun.com/tutorials/preassembled-40-pin-pi-wedge-hookup-guide" target="_blank" rel="noopener">hookup guide</a> on their website, we will recommend you to <a href="https://learn.sparkfun.com/tutorials/preassembled-40-pin-pi-wedge-hookup-guide" target="_blank" rel="noopener">refer this tutorial</a> to understand pi-Wedge better.</p>
<p>&nbsp;</p>
<h3 id="step5">Physical Computing on Raspberry Pi</h3>
<p>&nbsp;</p>
<p>The Raspberry Pi learning resource is provided for free by the <a href="https://www.raspberrypi.org/" target="_blank" rel="noopener">Raspberry Pi Foundation</a> under a <a href="https://www.raspberrypi.org/creative-commons/" target="_blank" rel="noopener">Creative Commons</a> licence, which we are able to access from their website, you can find the <a href="https://www.raspberrypi.org/learning/physical-computing-guide/" target="_blank" rel="noopener">resources here</a>, We have provided all the items in the Electronics Starter Kit to get started with mentioned tutorial, all you need to do is follow the steps mentioned in the getting started tutorial to understand the basic principles  of interfacing individual items. <strong>please go through this guide on <a href="https://www.raspberrypi.org/learning/physical-computing-guide/worksheet/" target="_blank" rel="noopener">&#8220;Getting Started with Physical Computing on Raspberry Pi &#8220;</a></strong></p>
<p>&nbsp;</p>
<h3 id="step6">Scratch</h3>
<p>&nbsp;</p>
<p>Scratch is a visual programming tool which allows the user to create animations and games with a drag-and-drop interface. It allows you to create your own computer games, interactive stories, and animations using some programming techniques without actually having to write code. This resource will help get you started with the basics of Scratch. The Raspberry Pi learning resource is provided for free by the <a href="https://www.raspberrypi.org/" target="_blank" rel="noopener">Raspberry Pi Foundation</a> under a <a href="https://www.raspberrypi.org/creative-commons/" target="_blank" rel="noopener">Creative Commons</a> licence, which we are able to access from their website, you can find the <a href="https://www.raspberrypi.org/learning/getting-started-with-scratch/worksheet/" target="_blank" rel="noopener">resources here</a>, <strong>please go through <a href="https://www.raspberrypi.org/learning/getting-started-with-scratch/worksheet/" target="_blank" rel="noopener">&#8220;Getting Started with Scratch on Raspberry Pi Tutorial&#8221;</a></strong> to understand the various features and application of the Scratch tool.</p>
<p>&nbsp;</p>
<h3 id="step7">Blinking LED</h3>
<p>&nbsp;</p>
<p>Since you have already seen some basic programming in the getting started section, we are adding one more advancement in the LED circuit and code here, we will recommend you to build the following circuit in your breadboard:</p>
<div id="attachment_1472" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Circuit.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1472" class="wp-image-1472" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Circuit.jpg" alt="Getting started with LED and Raspberry GPIO pins" width="500" height="679" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Circuit.jpg 666w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Circuit-221x300.jpg 221w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1472" class="wp-caption-text"><em>Blinking LED Circuit</em></p></div>
<p>&nbsp;</p>
<p>To begin with, we will recommend you to open the IDLE from the following path: <strong>Menu -&gt; Programming -&gt; IDLE 3/Python 3 </strong>and you will find the Scratch in the Same path as well:  <strong>Menu -&gt; Programming -&gt; Scratch.</strong>We had added the python code and Scratch Project in the following link, you can save/download the file in your system, click on the respective icon to open/download the file.</p>

<table id="tablepress-7" class="tablepress tablepress-id-7">
<tbody>
<tr class="row-1">
	<td class="column-1"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperTTdkUXItODBGWm8" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1481" srcset="https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png 943w, https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo-300x89.png 300w" sizes="(max-width: 943px) 100vw, 943px" /></a></p></td><td class="column-2"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperQUxyNkEtYU1ydXM" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1475" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png 434w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-300x98.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-430x142.png 430w" sizes="(max-width: 434px) 100vw, 434px" /></a></p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-7 from cache -->
<p>You can refer to scratch program in the image below:</p>
<div id="attachment_1602" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Blink_Scratch.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1602" class="wp-image-1602" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Blink_Scratch.jpg" alt="Raspberry pi LED blinking and change cat costume color on scratch" width="500" height="584" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink_Scratch.jpg 826w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink_Scratch-257x300.jpg 257w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1602" class="wp-caption-text"><em>LED Blinking</em></p></div>
<h4></h4>
<h3 id="step8">Switch</h3>
<p>&nbsp;</p>
<p>In this step you have to add switch connection to the LED connections you made in the previous step. Follow the circuit shown below:</p>
<div id="attachment_1788" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Circuit.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1788" class="wp-image-1788" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Circuit.jpg" alt="Rising and falling edge detection using Raspberry Pi" width="500" height="675" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Circuit.jpg 667w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Circuit-222x300.jpg 222w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1788" class="wp-caption-text"><em>Switch Connection</em></p></div>
<p>Now refer the Scratch and Python Code to get it working</p>

<table id="tablepress-8" class="tablepress tablepress-id-8">
<tbody>
<tr class="row-1">
	<td class="column-1"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperQVRnNUFDLWQ3WE0" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1481" srcset="https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png 943w, https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo-300x89.png 300w" sizes="(max-width: 943px) 100vw, 943px" /></a></p></td><td class="column-2"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperUzF4cFNPU25nSGc" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1475" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png 434w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-300x98.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-430x142.png 430w" sizes="(max-width: 434px) 100vw, 434px" /></a></p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-8 from cache -->
<p>You can refer the Scratch program in the blow image:</p>
<div id="attachment_1601" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-Scratch.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1601" class="wp-image-1601" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-Scratch.png" alt="Controlling LED and Motors in scratch " width="500" height="539" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-Scratch.png 505w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-Scratch-278x300.png 278w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1601" class="wp-caption-text"><em>Contro LED Using Switch/Sensor</em></p></div>
<p>&nbsp;</p>
<h3 id="step9">Capacitive Touch</h3>
<p>&nbsp;</p>
<p>The capacitve touch module we providing in the Kit works as momentary switch in default mode, but if need you can solder the jumper to the pads or add some conductive tape to the pads to change the mode of operation from momentary to toggle. The Capapcitive touch module is capable to sense the human touch, even it can sense the body within nearby range to the pads thus allowing you to place the pads under thin cardboards/paper/plastic, you can add copper tape to it to extend the capacitive touch area as your wish. These tiny boards are nice addon to your project. Refer the image below for the connection diagram:</p>
<div id="attachment_1506" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Capacitive-Touch.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1506" class="wp-image-1506" src="http://learn.edwinrobotics.com/wp-content/uploads/Capacitive-Touch.jpg" alt="TTP223 Capapcitive touch module with toggle and momentary mode" width="500" height="431" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Capacitive-Touch.jpg 728w, https://learn.edwinrobotics.com/wp-content/uploads/Capacitive-Touch-300x259.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1506" class="wp-caption-text"><em>Capacitive Touch Board description</em></p></div>
<p>The board works well with 3.3v and 5v Systems, thus giving you the flexibility to use it straight away, these boards comes with onboard LED for the indication, thus you can use it as an independent product without any need of  Microcontroller or Microprocessor. Now, refer the breadboard connection for the Capacitive touch board and the LED:</p>
<div id="attachment_1508" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Capacitive-touch-and-Led.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1508" class="wp-image-1508" src="http://learn.edwinrobotics.com/wp-content/uploads/Capacitive-touch-and-Led.jpg" alt="Connect momentary and Toggle Capacitive Touch module with Raspberry Pi" width="500" height="674" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Capacitive-touch-and-Led.jpg 706w, https://learn.edwinrobotics.com/wp-content/uploads/Capacitive-touch-and-Led-222x300.jpg 222w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1508" class="wp-caption-text"><em>Capapcitive Touch and LED Connection with Raspberry Pi</em></p></div>
<h4></h4>
<p>Since we had replaced the tactile switch with Capacitive touch module in this circuit and we let the LED stay as it is like in the previous steps, thus the code which we used to control LED with tactile switch will work for this module as well.</p>
<p><strong>Note: We had used GPIO pin 24 to connect Signal pin of the Capacitive touch module thus the previous code will work for this case as well, but if you had used some other pins for this module, make sure to change the pin numbering in the code as well.</strong></p>
<p>If you are using the Capacitve module in Toggle Mode, try out the following code to understand the difference:</p>

<table id="tablepress-9" class="tablepress tablepress-id-9">
<tbody>
<tr class="row-1">
	<td class="column-1"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperZ3hUVWhuRjJTVlk" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1481" srcset="https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png 943w, https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo-300x89.png 300w" sizes="(max-width: 943px) 100vw, 943px" /></a></p></td><td class="column-2"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperVDRQM1JURzJrVEk" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1475" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png 434w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-300x98.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-430x142.png 430w" sizes="(max-width: 434px) 100vw, 434px" /></a></p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-9 from cache -->
<p>&nbsp;</p>
<h3 id="step10">Transistor and Buzzer</h3>
<p>&nbsp;</p>
<p>Till now, you have seen the LED indication in the output side, now its time to add some sound to the circuit, since you had already worked with <strong><a href="http://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/" target="_blank" rel="noopener">&#8221; Getting started with switch, transistors and buzzer on breadboard &#8220;</a>  </strong>tutorial, this step is going to be easy. Refer the modified breadboard connection for the circuit.</p>
<div id="attachment_1513" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-buzzer-and-P2N2222A-transistor.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1513" class="wp-image-1513" src="http://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-buzzer-and-P2N2222A-transistor.jpg" alt="Transistor, Buzzer and Switch Interface with Raspberry Pi using python and scratch" width="500" height="636" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-buzzer-and-P2N2222A-transistor.jpg 758w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-buzzer-and-P2N2222A-transistor-236x300.jpg 236w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1513" class="wp-caption-text"><em>Transistor, Buzzer and Switch Interface with Raspberry Pi</em></p></div>
<p>&nbsp;</p>
<p>We are not adding any specific code to this section because the circuit is connected to work with all the three codes described above, so we will recommend you to run all the three codes again for the above circuit, try to add and change the delay in the code, so that you can hear the variation in the output.Since you already understood the basics of various components and its interfacing and programming in scratch and python, <strong>we are giving you challenge to breadboard RGB LED we provided in the Kit and write your own Python and Scratch code for the same, to made it glow for different combination of colors. </strong></p>
<p>Let us know your feedback on this and we are happy to help you, if you found any issue or difficulty in any circuit or have any queries, please do let us know.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4 id="step11">References:</h4>
<ul>
<li><a href="http://learn.edwinrobotics.com/tutorial-how-to-breadboard-led/" target="_blank" rel="noopener">Tutorial: How to Breadboard LED</a></li>
<li><a href="http://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/" target="_blank" rel="noopener">Tutorial: Getting started with switch, transistors and buzzer on breadboard</a></li>
<li><a href="https://learn.sparkfun.com" target="_blank" rel="noopener">Sparkfun Tutorials</a></li>
<li><a href="https://shop.edwinrobotics.com/91-buttonsswitches" target="_blank" rel="noopener">Buy Switches Online</a></li>
<li><a href="https://shop.edwinrobotics.com/98-transistorsmosfet" target="_blank" rel="noopener">Buy Transistors Online</a></li>
<li><a href="https://www.raspberrypi.org/resources/" target="_blank" rel="noopener">Raspberry Pi Learning Resources</a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/getting-started-with-raspberry-pi-and-electronics/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial: Switch, transistor and Buzzer on Breadboard</title>
		<link>https://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-switch-transistor-and-buzzer-on-breadboard</link>
					<comments>https://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Wed, 29 Jun 2016 15:41:56 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Breadboard]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=608</guid>

					<description><![CDATA[Let start with building something interesting, in the previous tutorial you seen the functionality of  LED and we taught you the basics of breadboard, in this section we are going to show something more interesting, this tutorial is mainly focused on transistors which is basic common part in all of today&#8217;s electronics, they are just simple [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Let start with building something interesting, in the <a href="http://learn.edwinrobotics.com/tutorial-how-to-breadboard-led/" target="_blank">previous tutorial</a> you seen the functionality of  LED and we taught you the basics of breadboard, in this section we are going to show something more interesting, this tutorial is mainly focused on transistors which is basic common part in all of today&#8217;s electronics, they are just simple switches that we can use to turn things on and off. Even though they are simple, they are the most important electrical component. These are basic building block of any Integrated Circuits(IC), For example, transistors are almost the only components used to build a Pentium processor. A single Pentium chip has about 3.5 million transistors. The ones in the Pentium are smaller than the ones we will use but they work the same way.</p>
<p>&nbsp;</p>
<p>To understand transistor better we will start with one of the basic component we seen in electronic circuit, its nothing but switch, refer the image below:</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Switch-Description.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-592 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Switch-Description.jpg" alt="Switch Description" width="3552" height="2200" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Switch-Description.jpg 3552w, https://learn.edwinrobotics.com/wp-content/uploads/Switch-Description-300x186.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Switch-Description-1024x634.jpg 1024w" sizes="auto, (max-width: 3552px) 100vw, 3552px" /></a></p>
<p>&nbsp;</p>
<p>These switches are nothing but momentary push buttons, means when you press them then only it will be functional(i.e ON) otherwise it will remain OFF. Lets build a simple circuit on breadboard using a switch, refer the image below to build your circuit:</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-SWITCH.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-575 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-SWITCH.jpg" alt="LED-SWITCH" width="2572" height="2123" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-SWITCH.jpg 2572w, https://learn.edwinrobotics.com/wp-content/uploads/LED-SWITCH-300x248.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/LED-SWITCH-1024x845.jpg 1024w" sizes="auto, (max-width: 2572px) 100vw, 2572px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Note: We had Connected 5v supply and GND from Arduino board in the above image, you can use Raspberry Pi or any other boards you having with you to supply 5v and GND from the board.</strong> <strong>If you having our <a href="https://shop.edwinrobotics.com/kits/547-raspberry-pi-electronics-starter-kit.html" target="_blank">Raspberry Pi Electronics Starter kit</a> with you, then you can use the <a href="https://shop.edwinrobotics.com/raspberry-pi/394-raspio-portsplus.html" target="_blank">RasPiO Portplus</a> we provided with the kit, to find the 5v and GND pins on Raspberry Pi and use the <a href="https://shop.edwinrobotics.com/wires/19-male-female-jumper-wires.html" target="_blank">Male-Female Jumper wire</a> we provided in the Kit to Supply power to the LED-Switch Circuit on breadboard.</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now if you see, you can understand that this circuit is nothing but modification of the previous LED breadboard tutorial, here we have added one switch to the LED circuit. Care must be taken when you connect the switch. Out of four legs you will get two shorted legs, as described in the image, you refer the cut mark on the bottom of the switch to understand which sides of the switch are shorted. Make sure that the mark on the switch and the breadboard columns should match otherwise your switch will not functional properly.</p>
<p>&nbsp;</p>
<p style="padding-left: 120px;"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-611 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch.jpg" alt="LED+ Switch" width="351" height="921" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch.jpg 351w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-114x300.jpg 114w" sizes="auto, (max-width: 351px) 100vw, 351px" /></a></p>
<p>&nbsp;</p>
<p>When you power the above circuit, the LED won&#8217;t glow, its because the circuit is controlled by Switch now, so if you press the Switch now, you will see that the LED will remain On till the moment you press the Switch, otherwise it will remain off. The transistors works in similar fashion, its works as Switch, except that, with switch you need to use your hands to push it and made the LED glow, here with transistors you need to apply logics to turn the LED ON and OFF. Thus applying logic&#8217;s will simulate the key press in the transistor.</p>
<p>&nbsp;</p>
<p>All the Electronic Components runs on two logic&#8217;s only <strong>1(HIGH)</strong> and <strong>0(LOW), </strong>When you apply Logic High to transistor the transistor will either turn ON or turn OFF depending on the transistor type. Before we see the types, we will clear you what this Logic High and Low Means. Any Electronic Machine understands only two voltages/ Logic&#8217;s and they are  <strong>Vcc/ Logic 1(High)</strong> and <strong>Gnd/ Logic 0(LOW)</strong></p>
<p>&nbsp;</p>
<p>Now, we will see what are types of transistor:</p>
<ol>
<li>NPN</li>
<li>PNP</li>
</ol>
<p>&nbsp;</p>
<p>The NPN is nothing but N-Type transistor, which will activates when you supply a Logic High to it. Similarly, The PNP is nothing but P-Type transistor, which will activates when you supply a Logic Low to it.</p>
<p>&nbsp;</p>
<p style="padding-left: 90px;"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Transistor-P.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-613" src="http://learn.edwinrobotics.com/wp-content/uploads/Transistor-P.jpg" alt="Transistor-P" width="387" height="888" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Transistor-P.jpg 387w, https://learn.edwinrobotics.com/wp-content/uploads/Transistor-P-131x300.jpg 131w" sizes="auto, (max-width: 387px) 100vw, 387px" /></a></p>
<p style="padding-left: 90px;"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Transistor-N.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-612" src="http://learn.edwinrobotics.com/wp-content/uploads/Transistor-N.jpg" alt="Transistor-N" width="394" height="894" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Transistor-N.jpg 394w, https://learn.edwinrobotics.com/wp-content/uploads/Transistor-N-132x300.jpg 132w" sizes="auto, (max-width: 394px) 100vw, 394px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Refer the two different types of circuit shown above, you will clearly understand the difference between the two types of transistors working. The P type will turn on the LED when you applied Logic low to the transistor and the N type will turn on the LED, when you apply Logic High to the transistor.</p>
<p>&nbsp;</p>
<p>Note: The logic&#8217;s will be applied to <strong>base/gate</strong> Pin of transistors, the other two pins are <strong>emitter/drain</strong> and <strong>Collector/source</strong>.Collector/Source pin used to connect the transistor from power source and emitter/drain pin used to connect with loads.The Pin descriptions are mentioned in the datasheet of each transistor, so there is no need to worry about it as of now.</p>
<p>&nbsp;</p>
<p>Now we will move one step further and add some sound to the project, till now when we press the switch or apply the logic&#8217;s to transistor the LED will lit up. let us add one piezo buzzer to the breadboard and see what happens when we press the switch.</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Buzzer-DEscription.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-588 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Buzzer-DEscription.jpg" alt="Buzzer DEscription" width="3481" height="2466" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Buzzer-DEscription.jpg 3481w, https://learn.edwinrobotics.com/wp-content/uploads/Buzzer-DEscription-300x213.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Buzzer-DEscription-1024x725.jpg 1024w" sizes="auto, (max-width: 3481px) 100vw, 3481px" /></a></p>
<p>&nbsp;</p>
<p>Refer the schematic below to build your own circuit in a breadboard.</p>
<p>&nbsp;</p>
<p style="padding-left: 60px;"> <a href="http://learn.edwinrobotics.com/wp-content/uploads/TRANSISTOR-BUZZER-_LED.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-617 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/TRANSISTOR-BUZZER-_LED.jpg" alt="TRANSISTOR + BUZZER _LED" width="607" height="956" srcset="https://learn.edwinrobotics.com/wp-content/uploads/TRANSISTOR-BUZZER-_LED.jpg 607w, https://learn.edwinrobotics.com/wp-content/uploads/TRANSISTOR-BUZZER-_LED-190x300.jpg 190w" sizes="auto, (max-width: 607px) 100vw, 607px" /></a></p>
<p>&nbsp;</p>
<p>In the above shown example we had used Arduino as 5v power source to power the breadboard, you can use any other power source as per you convenience. Now if look at the circuit we had Used N-type(NPN) transistor, now if you google for <strong>BC547 </strong>Datasheet, you will see lots of options, open any one datasheet .pdf document, once you scan through all the pages you will notice lots of details about transistor is mentioned in it, right now we are focusing on the type, voltage and current of the transistor. If check you will see all these data  withing the first 5 pages. There its mentioned:</p>
<blockquote><p><strong>BC547</strong></p>
<ul>
<li>NPN Epitaxial Silicon Transistor</li>
<li>Vceo: 45v</li>
<li>100mA</li>
</ul>
</blockquote>
<p>&nbsp;</p>
<p>we seen that its N-Type(NPN) and its maximum voltage is 45v which is more than enough, since we are running only on 5v. Regarding current, if we calculate the current required for the loads, the LED needs 15mA and the buzzer needs 40mA max, thus combining two, its comes under 60mA, thus we are good to go with same transistor. If your loads exceeds the rated current go for higher current transistor. Refer the image below for the Pin description of the BC547 Transistor we are using.</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Transistor.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-593 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Transistor.jpg" alt="Transistor#" width="3756" height="2201" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Transistor.jpg 3756w, https://learn.edwinrobotics.com/wp-content/uploads/Transistor-300x176.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Transistor-1024x600.jpg 1024w" sizes="auto, (max-width: 3756px) 100vw, 3756px" /></a></p>
<p>&nbsp;</p>
<p>You can see that we are supplying High Logic from switch to transistor, so when you press the switch the Vcc(5v) will be applied to gate pin of transistor and this will activate the transistor, allowing the current to flow through LED and Buzzer and in return we can see and hear the light and sound respectively.</p>
<p>Note: Don&#8217;t forget to add current limiting resistor for buzzer and resistor and polarity of the buzzer must be taken care of similar to that of LED.</p>
<p>&nbsp;</p>
<p>So, this is all about the welcome little step you made into hands on with electronics, in the next tutorial, we will show you how to use microcontrollers/Arduino to control these kind of circuits.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial: Breadboard Power Supply</title>
		<link>https://learn.edwinrobotics.com/tutorial-breadboard-power-supply/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-breadboard-power-supply</link>
					<comments>https://learn.edwinrobotics.com/tutorial-breadboard-power-supply/#comments</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Wed, 29 Jun 2016 13:31:26 +0000</pubDate>
				<category><![CDATA[Breadboard]]></category>
		<category><![CDATA[General]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=589</guid>

					<description><![CDATA[There are cases when you need to rely on battery source to run your projects, like robotics based projects or any kind of portable projects where you need to consider weight, cost, complexity and lots of parameter for power supply. Once such Preferred source of power is a 9v Battery. Its small, cheap, simple, light weight [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>There are cases when you need to rely on battery source to run your projects, like robotics based projects or any kind of portable projects where you need to consider weight, cost, complexity and lots of parameter for power supply. Once such Preferred source of power is a 9v Battery. Its small, cheap, simple, light weight and easily available in local market but there are limitations too with this power source, like current is limited and you need to cascade multiple battery to provide more current to the circuit. Battery Discharges after limited operations but if you buy rechargeable ones. it will save you lots money and time.</p>
<p>&nbsp;</p>
<p>Most of the system either works on 5v or 3.3v and if we powered these devices straight from 9v battery, chances are there that it will damage the devices. In these case a voltage regulator will comes handy. There are different kinds of voltage regulators available in the market and based on your application you are free to opt for any of them. Here we are going to show you how to use a voltage regulator to step down the voltage from 9v to 5v or 3.3v</p>
<p>&nbsp;</p>
<p>The most common and preferred voltage regulator is 7805, which is capable of regulating voltage supply out to 5v. This regulator is preferred because its cheap and easily available in local market, capable for high current sourcing i.e 1.5A, which is reasonably enough for most of the applications and circuit complexity is less, just some capacitors and you are ready to go. In addition to this vast Input voltage range(max upto 35v and 40v in some variant). The 78xx voltage regulator family comes in different configuration, so all you need to do is select you desired output voltage and buy the corresponding regulator, like 3.3v, 9v, 12v, etc.</p>
<p>&nbsp;</p>
<p>Lets see the Pin configuration of the 7805 voltage regulator:</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/7805-Pinouts.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-596 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/7805-Pinouts.jpg" alt="7805-Pinouts" width="1772" height="900" srcset="https://learn.edwinrobotics.com/wp-content/uploads/7805-Pinouts.jpg 1772w, https://learn.edwinrobotics.com/wp-content/uploads/7805-Pinouts-300x152.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/7805-Pinouts-1024x520.jpg 1024w" sizes="auto, (max-width: 1772px) 100vw, 1772px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>We will use this voltage regulator to build a standard 5v power supply for breadboard, so that you don&#8217;t have to worry about supply Input. Adding this power supply to your breadboard will give you the flexibility to use any of the battery source. We will recommend you to dedicate one corner section of the breadboard for the voltage regulator, so that you don&#8217;t have to plug-unplug it for every other applications. Now let us show you how to build a simple breadboard power supply, refer the below diagram for better idea.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Power-Supply.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-565" src="http://learn.edwinrobotics.com/wp-content/uploads/Power-Supply.jpg" alt="Power-Supply" width="1168" height="486" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply.jpg 1168w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-300x125.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-1024x426.jpg 1024w" sizes="auto, (max-width: 1168px) 100vw, 1168px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The circuit shown above is really simple, we had used four capacitors in total which you can reduce to three also. Let me describe you the purpose of these capacitors, one by one:</p>
<ol>
<li>1000uF capacitor: If you look in the circuit, you can see one 1000uF polarized capacitor, the polarity matters to this capacitors, thus you need to take care of its polarity while connecting. Silver strip indicates the position of negative leg of the capacitor. The purpose of this capacitor is to store the charge before supplying anything to the voltage regulator, i.e it act as global reservoir, thus making it sure that supply to the voltage regulator from the battery source will always remains constant.</li>
<li>10uF Capacitor: These are nothing but local reservoir which will store the charge before supplying to the circuits, thus making sure that there is always a constant power supply across all the parts. We used two 10uf polarized capacitors in the circuit because we want both the parallel outer tracks of the breadboard to be supplied with constant power. You can fit in just one capacitor next to 7805 Out pin.</li>
<li>0.1uF Capacitor: we had used one ceramic capacitor in the output of 7805 voltage regulator, just to filter out any unwanted voltage spike(ripples) also called as noise, thus these tiny ceramic caps can act as filter element in the power supply you built. The polarity of these capacitors does not matters at all, you can use it either way.</li>
</ol>
<p>&nbsp;</p>
<p>Note: There are breaks in the outer tracks of breadboard, exact in the center portion, refer the diagram above, we had used wires as jumper to extend the power supply further, mentioned as power supply extension in the diagram.</p>
<p>&nbsp;</p>
<p>The orange line shown in the image above is Input to voltage regulator, you can supply upto 35v to this wire to get a constant regulated 5v output voltage. If you supply high voltage to voltage regulator like 12v or 24v, you will see that voltage regulator getting hot, this is because of voltage regulator power dissipation in the form of heat to covert that much high voltage to 5 volt out. Don&#8217;t touch your fingers or hands to regulator in case its hots and if you feels that voltage regulator getting hot every time, then its better to use use Heat sink for voltage regulator.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/tutorial-breadboard-power-supply/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial: How to Breadboard LED</title>
		<link>https://learn.edwinrobotics.com/tutorial-how-to-breadboard-led/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-how-to-breadboard-led</link>
					<comments>https://learn.edwinrobotics.com/tutorial-how-to-breadboard-led/#comments</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Tue, 28 Jun 2016 16:10:25 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Breadboard]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=553</guid>

					<description><![CDATA[Heard of breadboard? Sure you do, but some of you don&#8217;t have much idea that, what this little piece can do, we will start with some of the basics of breadboards before we start with projects. Breadboards are one of the basic element when you start learning how to build circuits. Breadboards are preferred platform [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Heard of breadboard? Sure you do, but some of you don&#8217;t have much idea that, what this little piece can do, we will start with some of the basics of breadboards before we start with projects. Breadboards are one of the basic element when you start learning how to build circuits. Breadboards are preferred platform to start building circuits because it don&#8217;t need any soldering, thus giving you the flexibility to try, test and modify your circuit at any point of time. They allow you to make quick circuits, test out ideas and allow prototyping before making a permanent Printed Circuit Board. They are inexpensive and reusable and they are easily available in any electronics store.</p>
<p>Breadboard is nothing but a plastic base with lots of holes in it, where you can fit in your components and wires to build your circuit. You can&#8217;t see what&#8217;s going inside the breadboard, but inside its nothing but many strips of metal that connect the rows and columns together. These metal strips are springy so that when you poke a wire or component into the hole, the clips grab onto it.</p>
<p>Breadboards are used for both the simplest circuit as well as very complex circuits. In case one breadboard can&#8217;t accommodate your circuit, you can snap in multiple breadboards together to make a big breadboard base. You can use breadboard to test and figure out the working of Integrated circuits (ICs).</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0072.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-558 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0072.jpg" alt="DSC_0072" width="3768" height="2656" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0072.jpg 3768w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0072-300x211.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0072-1024x722.jpg 1024w" sizes="auto, (max-width: 3768px) 100vw, 3768px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Breadboard_Description.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-586 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Breadboard_Description.jpg" alt="Breadboard_Description" width="3768" height="2656" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Breadboard_Description.jpg 3768w, https://learn.edwinrobotics.com/wp-content/uploads/Breadboard_Description-300x211.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Breadboard_Description-1024x722.jpg 1024w" sizes="auto, (max-width: 3768px) 100vw, 3768px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>If you refer the description in the image above you can see that the how tracks are connected inside the breadboard. Refer the Vcc and Gnd Lines in the image above, you can see these two lines are running round the borders, thus allowing us to use these lines for power supply distribution, but there is a discontinuity in Vcc and Gnd tracks as shown above(mentioned &#8220;Not Connected&#8221;), which you need to connect with jumpers to distribute the power. The center holes are column connected as shown in the picture and there is a gap in between the same columns, allowing us to fit in IC to the gap. To make things further clear, we have added the tear down image of the breadboard, refer the next diagram to get better idea of inside connections.</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Breadboard-Teardown.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-572 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Breadboard-Teardown.jpg" alt="Breadboard Teardown" width="1772" height="1606" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Breadboard-Teardown.jpg 1772w, https://learn.edwinrobotics.com/wp-content/uploads/Breadboard-Teardown-300x272.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Breadboard-Teardown-1024x928.jpg 1024w" sizes="auto, (max-width: 1772px) 100vw, 1772px" /></a></p>
<p>&nbsp;</p>
<p>The image shown above is of Half sized breadboard, thus don&#8217;t be confused comparing it with previous images. Hope things are clear to this point and you understood the breadboard well, now we will move further and see how to start building basic circuits on this breadboard. We are going to start with LED circuit, which is common to all the devices, we are going to build a circuit for Power LED Indication, i.e whenever there is power in the circuit, this led will let us know about it.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Description-.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-603 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Description-.jpg" alt="LED Description-" width="3029" height="2252" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Description-.jpg 3029w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Description--300x223.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Description--1024x761.jpg 1024w" sizes="auto, (max-width: 3029px) 100vw, 3029px" /></a></p>
<p>&nbsp;</p>
<p>If you notice the above image you will see the legs of LED mentioned with Anode and cathode and to understand how to distinguish between anode and cathode pins, we provided hints in the image, its nothing but one cut mark(Means the LED is not completely round from the bottom side) which indicates that the leg underneath it is cathode(-ve) pin and if we seen the size of the legs, the anode(+ve) pin is little longer. But most of the times you have to trim the legs of LED when you use these LED in any circuit thus making the anode pins and cathode pins indistinguishable in terms of Leg size.</p>
<p>&nbsp;</p>
<p>The importance of anode and cathode pins in LED is that, LED will glow only is you provide <strong>+ve power supply to Anode pin</strong> and &#8211;<strong>ve power supply to Cathode Pin. </strong>But wait, you cannot straight away supply the LED with power supply because there are chances that more current will pass through LED and this will lead to damage the LED, to avoid this situation, it is strongly recommended to use the resistor along with LED.</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/LEDREsistor.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-578 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/LEDREsistor.jpg" alt="LED+REsistor" width="457" height="834" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LEDREsistor.jpg 457w, https://learn.edwinrobotics.com/wp-content/uploads/LEDREsistor-164x300.jpg 164w" sizes="auto, (max-width: 457px) 100vw, 457px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The circuit will be something like shown above. But it is really important to use the correct resistor value in the circuit to limit the current. We will show you how to select the correct resistor value for each circuit. For this, you need to understand two necessary parameters of LED, i.e <strong>LED Current</strong> and <strong>LED Forward voltage</strong>, refer the section below, for detailed description:</p>
<p>&nbsp;</p>
<h3>LED Current:</h3>
<p>As an example we will <a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperZXpseVRrYk55N1E" target="_blank">refer the datasheet</a> for Basic Red 5mm LED.Starting at the top and making our way down, the first thing we encounter is this Absolute maximum ratings table:</p>
<p><a href="https://cdn.sparkfun.com/assets/8/a/5/0/2/51f20420ce395fe058000000.JPG"><img decoding="async" src="https://cdn.sparkfun.com/assets/8/a/5/0/2/51f20420ce395fe058000000.JPG" alt="alt text" /></a></p>
<p>Confused?  Questions coming that what does it all mean? right ?</p>
<p>So, the first row in the table indicates how much current your LED will be able to handle continuously. In this case, <strong>you can give it 20mA or less, and it will shine its brightest at 20mA</strong>. The second row tells us what the maximum peak current should be for short bursts. This LED can handle short bumps to 30mA, but you don’t want to sustain that current for too long. This datasheet is even helpful enough to suggest a stable current range (in the third row from the top) of 16-18mA. That’s a good target number to help you make the resistor calculations we talked about.</p>
<p>The following few rows are of less importance for the purposes of this tutorial. The reverse voltage is a diode property that you shouldn’t have to worry about in most cases. The power dissipation is the amount of power in milliWatts that the LED can use before taking damage. This should work itself out as long as you keep the LED within its suggested voltage and current ratings.</p>
<h3></h3>
<h3>LED Forward Voltage</h3>
<p>Now, when you check the datasheet further, you will come across the next table shown as follows:</p>
<p><a href="https://cdn.sparkfun.com/assets/4/4/9/0/9/51f6d886ce395f8c67000006.jpg"><img decoding="async" src="https://cdn.sparkfun.com/assets/4/4/9/0/9/51f6d886ce395f8c67000006.jpg" alt="alt text" /></a></p>
<p>Now,this is a useful little table! The first row tells us what the <strong>forward voltage</strong> drop across the LED will be. Forward voltage is a term that will come up a lot when working with LEDs. This number will help you decide how much voltage your circuit will need to supply to the LED.You need to follow the following formula every time you build circuits something with LED, refer the section below:</p>
<p style="text-align: left;">The basic ohm&#8217;s law states that:</p>
<blockquote>
<h2 style="text-align: left;"><strong>V = I x R    or   R = V/I</strong></h2>
<p>where,</p>
<p>V = Supply Voltage</p>
<p>I = Current through LED</p>
<p>R = Circuit Resistor</p></blockquote>
<p>Thus, applying this law for LED circuit, we will get following formula:</p>
<blockquote><p><a href="https://cdn.sparkfun.com/assets/8/3/4/4/e/515f354dce395fc424000000.png" target="_blank"><img loading="lazy" decoding="async" class="alignnone" src="https://cdn.sparkfun.com/assets/8/3/4/4/e/515f354dce395fc424000000.png" alt="Current limiting resistor = (Vs-Vf)/If" width="215" height="86" /></a></p>
<p>Where,</p>
<p>V<sub>S</sub> = Source voltage (usually a battery or power supply voltage)</p>
<p>V<sub>F</sub> = LED’s forward voltage</p>
<p>I<sub>F</sub> = Desired current that runs through it.</p></blockquote>
<p>For example, assume in this example you have a 9V battery to power an LED. If your LED is red, it might have a forward voltage around 1.8V. If you want to limit the current to 10mA (or 0.010A) rather than limiting it to 20mA , use a series resistor of about 720Ω.</p>
<p><a href="https://cdn.sparkfun.com/assets/3/2/b/a/2/515f369cce395f5425000000.png" target="_blank"><img loading="lazy" decoding="async" class="alignnone" src="https://cdn.sparkfun.com/assets/3/2/b/a/2/515f369cce395f5425000000.png" alt="Current limiting example equation R=(9-1.8)/.010" width="500" height="86" /></a></p>
<p>Now, if we are going to build power supply Indicator circuit for 5v system, thus our resistor calculation will come somewhat like this:</p>
<blockquote><p>R = (5-1.8)V ÷ 0.010A</p>
<p>R = 3.2V ÷ 0.010 A</p>
<p>R =  320 V/A</p>
<p>R = 320 Ω</p>
<p>R = 330Ω Approx (Nearest standard resistor value)</p></blockquote>
<p>&nbsp;</p>
<h3></h3>
<p>Thus if you notice in the circuit shown above, you will see that we had used 330Ω resistor in the circuit, but wait you may be confused with how the resistor shown above is 330Ω, its again you need to follow the ring colors on the resistor surface. Refer the image below for better idea:</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Resistor-Color-Guide-.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-602 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Resistor-Color-Guide-.jpg" alt="Resistor Color Guide-" width="3781" height="2532" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Resistor-Color-Guide-.jpg 3781w, https://learn.edwinrobotics.com/wp-content/uploads/Resistor-Color-Guide--300x201.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Resistor-Color-Guide--1024x686.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Resistor-Color-Guide--140x94.jpg 140w" sizes="auto, (max-width: 3781px) 100vw, 3781px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>If you notice in the image, it is well documented how the 330Ω value is calculated. Refer the formula shown on the image, which will help you to find out the resistance value of the resistor, you just need to substitute the A,B,C and D value in the formula based on the colored ring.</p>
<p>In our case the resistor colors are orange, orange, brown, gold in sequence, thus if we substitute the corresponding values of the colors in the formula, yow will get: 33 x 10, which is nothing but 330 with 5% tolerance, tolerance will let you know how good the resistor is?</p>
<p>In this case its 5% means: The resistance value is limited within the vast range [<strong>270 &#8211; (5% of 270)</strong>]<strong>  </strong>and  [<strong>270 +</strong> <strong>(5% of 270)</strong>], which is not good, the lesser the range, the more close the resistance to the desired resistance value.</p>
<p>&nbsp;</p>
<p>Let start assembling the circuit in the breadboard, refer the image below for better idea:</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-1.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-574 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-1.jpg" alt="LED-1" width="4248" height="2764" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-1.jpg 4248w, https://learn.edwinrobotics.com/wp-content/uploads/LED-1-300x195.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/LED-1-1024x666.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/LED-1-207x136.jpg 207w, https://learn.edwinrobotics.com/wp-content/uploads/LED-1-260x170.jpg 260w" sizes="auto, (max-width: 4248px) 100vw, 4248px" /></a></p>
<p>&nbsp;</p>
<p>Now, you can see how we utilized the breadboard columns which are internally shorted to connect the LED anode pin with resistor, similarly we used the jumper wires to connect the LED cathode pin and resistor other end. Now if you power the above shown circuit, i.e Red wire with 5v and Black with Ground supply, you will see that your LED will glow safely.</p>
<p>&nbsp;</p>
<p><strong>Note: We had Connected 5v supply and GND from Arduino board in the following image, you can use Raspberry Pi or any other boards you having with you to supply 5v and GND from the board. If you having our <a href="https://shop.edwinrobotics.com/kits/547-raspberry-pi-electronics-starter-kit.html" target="_blank">Raspberry Pi Electronics Starter kit</a> with you, then you can use the <a href="https://shop.edwinrobotics.com/raspberry-pi/394-raspio-portsplus.html" target="_blank">RasPiO Portplus</a> we provided with the kit, to find the 5v and GND pins on Raspberry Pi and use the <a href="https://shop.edwinrobotics.com/wires/19-male-female-jumper-wires.html" target="_blank">Male-Female Jumper wire</a> we provided in the Kit to Supply power to the LED on breadboard.</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED.jpg" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-573 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/LED.jpg" alt="LED" width="3960" height="2213" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED.jpg 3960w, https://learn.edwinrobotics.com/wp-content/uploads/LED-300x168.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/LED-1024x572.jpg 1024w" sizes="auto, (max-width: 3960px) 100vw, 3960px" /></a></p>
<p>&nbsp;</p>
<p>Now, we want you to build one circuit on your own with multiple LED&#8217;s in series, but before doing that, we want to clear some basics related to building such circuits. When you went through<strong> LED forward voltage</strong> section above, you seen the table with LED forward voltage, you must use that value to find out how much LED you can use in your circuit. When using multiple LED&#8217;s in series, always remember that the Forward Voltage of all of your LEDs added together can’t exceed your system voltage. This is because every component in your circuit has to <em>share</em> the voltage, and the amount of voltage that every part uses together will always equal the amount that’s available. This is called <a href="https://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws" target="_blank">Kirchhoff’s Voltage Law</a>. So if you have a 9V power supply and each of your LEDs have a forward voltage drop of 2.4V then you can’t power more than three at a time.</p>
<p>Kirchhoff’s Laws also come in handy when you want to approximate the voltage across a given part based on the Forward Voltage of other parts. For instance, in the example we just mentioned there’s a 9V supply and 3 LEDs with a 2.4V Forward Voltage Drop each. Of course we would want to include a current limiting resistor, right? How would you find out the voltage across that resistor? It’s easy:</p>
<blockquote><p>9 (System Voltage) = 2.4 (LED 1) + 2.4 (LED 2) + 2.4 (LED 3) + Resistor</p>
<p>9 = 7.2 + Resistor</p>
<p>Resistor = 9 &#8211; 7.2</p>
<p>Resistor = 1.8</p></blockquote>
<p>So there is 1.8V across the resistor! This is a simplified example and it isn’t always this easy, but hopefully this gives you an idea of why <strong>Forward Voltage Drop</strong> is important. Using the voltage number you derive from Kirchhoff’s Laws you can also do things like determine the current across a component using Ohm’s Law. In short, you want your system voltage equal to the expected forward voltage of your combined circuit components.</p>
<p>Hope the things are more clear to you now and this is the end of your first basic steps towards hands on with electronics. Refer the next tutorial for more advanced Projects.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/tutorial-how-to-breadboard-led/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 41/294 objects using APC
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 29/101 queries in 0.055 seconds using APC

Served from: learn.edwinrobotics.com @ 2025-07-27 22:56:43 by W3 Total Cache
-->