Instructables
Picture of Breadboard How To
This instructable will guide someone with no experience in electronics through prototyping their first circuits on a breadboard.  You will need a few basic components to get started:

LED: white, red, green, blue
220 resistor
5V power supply/battery/arduino board
solderless breadboard
22 gauge solid core jumper wire - It's a good idea to get many colors of wire (esp black and red) so that you can keep your breadboard organized.
 
Remove these adsRemove these ads by Signing Up

Step 1: The Basics

Picture of The Basics
closeup.jpg
The-Basics.jpg
The purpose of the breadboard is to make quick electrical connections between components- like resistors, LEDs, capacitors, etc- so that you can test your circuit before permanently soldering it together.  Breadboards have many small sockets on them, and some groups of sockets are electrically connected to each other.  On the underside of the board there are many small metal strips which physically connect certain groups of sockets together and allow electricity to flow freely between them.  These strips are probably not visible on the underside of your breadboard, but the third picture shows how they are organized.

Breadboards are usually divided into four sections, two outer sections and two inner sections.  Each row of five sockets in the inner sections are electrically connected to each other (see the green lines in figure 3).  The two outer sections of the breadboard are usually used exclusively for power.  On many breadboards these sockets will be labeled with colors denoting positive voltage (usually red) and ground (black or blue).  It is important to note that on many breadboards the power lines only run half the length of the board (as indicated in figure 3).  You will need to run a wire between these two sections to send power to from one end to the other.  There is nothing special about the outer sections of the breadboard that makes particularly suitable for power other than that they run most of  the length of the board, but if you choose to use these rows for other things you may confuse others or even yourself, so it is good practice to use these for power only.


Step 2: Getting Started

Picture of Getting Started
IMG_2301.JPG
IMG_2303.JPG
IMG_2304.JPG
IMG_2452.JPG
IMG_2451.JPG
The first thing to do is send power to the breadboard.  Breadboards do not have their own power supply.  Some breadboards come with a power supply attached, but it is usually not connected directly to the power lines on the breadboard.
Power supplies come in many shapes and sizes, you may have to dial in the voltage or your power supply may only let you chose from one or a few types voltage levels.  For this tutorial (and for many of your future projects) we will be using 5V DC power.  This means that you will make two connections to your power supply, +5 and ground.

Alternative power supplies:
-use the +5 volt and GND (ground) pins of an arduino (you must plug the arduino into a computer or wall socket via usb first)
-battery- will require an attachment to connect to your breadboard

Connect ground and +V to one side of your breadboard as shown in figure 2.  Remember, many breadboards separate each of the two power rows into two sections (electricity cannot flow across the center of the board), so you'll need to connect these groups with jumper cables to ensure that power is being sent across the length of the board (see figures 5 and 6).  Figure 6 shows a breadboard with power on across its entire length and on both sides.

Now the breadboard is powered.  Convince yourself by using a multimeter to measure the voltage of any of the sockets in the power lines of the board.

Step 3: Hello World!

Your first circuit will turn an LED on.  The circuit diagram is given in figure 2; it includes an LED and a resistor connected in series to power.  I posted an alternate schematic (figure 3) to demonstrate that it does not matter which order the LED and resistor are connected, as long as they close a circuit between 5V and ground.

The resistor is there to prevent too much current from going through the LED; we call it a "current-limiting resistor."  If you connect an LED to your 5V power supply directly it will most likely burn out, this may be accompanied by a cracking sound, a smell, smoke, or even a small explosion, so be careful!
I'm using a 1/4 watt 220ohm resistor for my current limiting resistor, if you know the specs of your LED you can find the best resistor value for your circuit using an online LED calculator.   Using too much resistance in this circuit will never damage the LED, it will just glow slightly dimmer, but anything between 200 and 1000ohms should be fine.

Electric current always runs from high voltage to ground in a circuit.  Some components only work when current flows through them in one direction (and they may even be damaged by wiring them backwards).  As the first images indicate, LEDs must be wired so that current flows from the anode (the longer lead) to the cathode (the shorter lead).  Resistors do not have directionality, this mean that you can flip a resistor around in a circuit and it will behave exactly the same.

While you are putting components into your breadboard it is a good idea to turn off the power to the board; this prevents accidental short circuits which may burn out parts.

STEPS:

-connect the anode of the LED to +5V and the cathode to a row of pins in the middle section of the breadboard (figure 5)
-connect one resistor lead to ground and the other lead to a pin in the same row as the LED cathode (figure 6)
-connect power to the board- the LED should light up

As you can see, connecting the LED and the resistor to the same row of sockets on the breadboard created an electrical connection between these two components.

Step 4: 7 Segment Display on a Breadboard: Part 1

This project is a little more challenging, but  the idea is basically the same as the last circuit.

Parts List:
7 segment display (common cathode)
7x150ohm resistors
4x10kohm resistors
4511 decoder chip

A 7 segment display is a component that contains 7 rectangular LEDs (we'll ignore the DP LED for now) arranged so that they can display the numbers 0-9 (see figure 2).  Each of the LEDs in the display are connected to a common cathode.  By looking at the diagram at the bottom of figure 2, we can see that pins 1, 2, 4, 6, 7, 9, and 10 each connect to an anode of one of the seven LEDs and pins 3 and 8 both connect to the common cathode (see the bottom diagram in figure 2).

As in the last circuit, we need to use current limiting resistors to prevent damaging the LEDs in the display.  In this step we will wire 7 current limiting resistors and individually control the 7 LEDs.

The first step is to calculate the resistance we need for the current limiting resistors.
From the 7 segment display datasheet: each LED has a forward voltage of 2.2V at 25mA of current.  If there is 2.2V across the resistor, then there will be 5V-2.2V, or 2.8V across the resistor.

Using Ohm's Law (V=IR) we can calculate our current limiting resistance as follows:
(5V-2.2V) = 0.025 A * R
R = 112ohms

to be safe we won't run the LEDs at their maximum power ratings, so we'll use 150ohm resistors.

Wiring Steps:
-again, disconnect power to your breadboard to avoid damaging your components
-press the 7 segment display into breadboard so the it straddles the center section of the board (figure 1)
-connect one of the common cathode pins of the display (pins 3 or 8) to ground (figure 3)
-connect power across to the other side of the board (figure 4)
-insert 7 current limiting resistors onto breadboard so that they connect pins 1, 2, 4, 6, 7, 9, and 10 to 5V (figure 5)
-turn on power (figure 6)

Your 7 segment display should light up to display the number "8."  Experiment with disconnecting some of the jumper wires between the current limiting resistors and the display to make other numbers/letters; I made the letter "E" in the last image by disconnecting pins 4 and 6 on the display.

Step 5: 7 Segment Display on a Breadboard: Part 2

In this step we will use a chip called a 4511 binary to 7 segment decoder to make displaying numbers on the 7 segment display much more simple.  This chip connects to the 7 segment display so that when we give it a binary number input (0000-1001), it will output the base ten value (numbers 0-9) on the display.

The pin configuration of the 4511 is given in the datasheet, and I've copied it in figure 2.  Notice how pin numbering starts at 1 at the top left of the chip (indicated with a semicircle or sometimes a dot) and wraps around the outside of the chip until ending at 16 in the top right.

Wiring Steps:
-disconnect power to the board
-put the 4511 on the breadboard so that it straddles the middle section of the board (figure 4)
-disconnect the 5V connections of the 150ohm resistors and connect to 4511 pins Qa-Qg.  You will probably need to use jumper wires to extend these connections (green wires in figures 5, 6, and 7).  Pin numbering/letters are given in the diagram at the bottom of figure 3 for the display and in figure 2 for the 4511.
-use four 10kOhm resistors to create a connection between the 4511 input pins (1, 2, 6, and 7) and four spare rows on the breadboard (figure 8)
-connect 5v to 4511 pins 3, 4, and 16 (red wires in figure 9)
-connect ground to 4511 pins 5 and 8 (black wires in figure 10)
-connect the free ends of the 10kohm resistors to ground (red wires in figure 11)
-power on, you should see the number 0 (figures 12 and 13)

Try connecting the 4511 input pins (red wires connected to 10kOhm resistors to 5V to make different numbers.  Here is a table that shows you how to convert from binary to decimal:

D0(pin 7)     D1(pin 1)     D2(pin 2)     D3(pin 6)          decimal
     0                 0                   0                 0                       0
     1                 0                   0                 0                       1
     0                 1                   0                 0                       2
     1                 1                   0                 0                       3
     0                 0                   1                 0                       4
     1                 0                   1                 0                       5
     0                 1                   1                 0                       6
     1                 1                   1                 0                       7
     0                 0                   0                 1                       8
     1                 0                   0                 1                       9

So if you connect D0 to 5V and D1-3 to ground you should see a 1(figure 14)
D0 and D1 to 5V and D2 and D3 to ground gives a 2 (figure 15)

Troubleshooting:
Since there are so many connections, it is easy to make a small mistake that causes the whole project to malfunction.  If the display is not lighting up at all: check to see if all your components are powered and are connected in the correct orientation.  If it is on but displaying nonsense: carefully check the schematic and make sure your connections between pins a-g are correct.

I've also attached a fritzing document for this circuit for your reference, find it below.
Granzeier18 days ago

Very nice 'ible.

If I may, I would like to offer one correction to your information in Step 3. You mention that "Electric current always runs from high voltage to ground in a circuit." This, however is incorrect (I run across this quite often in teaching electronics.) The only thing, in electronic circuits, which moves, is electrons. Electrons have a negative charge to them. When you have a voltage difference in a circuit, electrons will leave the negative terminal of the power supply (battery, etc.) and be attracted to the positive terminal - "opposites attract."

Your LED is actually connected correctly, but the current flow goes against the arrow, not with it. Back when we used tubes, they would actually have a heater inside them to heat up the cathode, so that the electrons would flow off the cathode, towards the anode, more easily (I started in electronics in 1962, tubes was about it. :-) )

Also, not to take away from your great Instructable, I wrote up a paper on breadboards, including their history, and why they are called breadboards. It does not go into anywhere near as much detail on how to use them as you do, but you may find it interesting for the history. You can find it on my projects site at: http://projects.granzeier.com/what-is-a-breadboard/.

What you've observed is the difference between conventional flow and electron flow in circuits. Ben Franklin started the "convention" of describing electricity as flowing from positive to negative. By the time science figured out electrons were going the opposite direction, the terminology had taken hold, and "conventional flow" is still used in certain fields. All About Circuits offers an interesting detailed explanation.

RollTide7727 days ago

Very Informative. Thank you.

zrelli2 months ago

it's a very informative instructable...thank you very much

bsimon26 months ago

this is great now i can make use of this bread board i have had for ever and had no idea what to do with. I have looked at a lot of youre instructables and see that you do a lot with electronics , have you done much with PIC programming? Im looking into building NES reproduction cartridges and things of that nature. Im also curious about the teensey++ 2.0 development board and what i can do with it as well.

DkAngelito1 year ago
Hi, Why are the 10k resistor for? Can't I just connect pins D0-D3 directly to Ground or Vcc?
amandaghassaei (author)  DkAngelito1 year ago
no, it will draw too much current and damage the arduino.
redrok2 years ago
Hi All:

I use these plugboards all the time, I have dozens of them.

I don't particularly like the standard 22 gauge jumper wire.
I have found other wire I like much much better.

I use 8 conductor "Telephone house wiring wire".
No, not the flexible stuff that goes from the instrument to the wall jack.
I mean the stuff behind the wall. It looks like 26 gauge or so, and comes in roles of 100 feet or more. Strip off the jacket and you have 8 different colored wires. The insulation strips easily.

Its the perfect wire, and cheap to.

redrok
pfred2 redrok2 years ago
Just so you'll be jealous to the end of time I'll put up a picture of what the ultimate breadboarding wire looks like :)
MultiCon.jpg
tseay redrok2 years ago
I like that wire, too. First electrical projects, I worked were connecting phone jacks. :)
ak47freak2 years ago
very nice it helped me a ton! thanks
sagar.latti2 years ago
thanks 4 d tutorial,
justbennett2 years ago
But what are the screw terminals for? I think they look cool and all, but does anybody use those for anything?
i guess these screw terminals are for fixed power cord to avoid short circuit. :-)
They make for easy power supply connection. That way you can just pull a couple plugs and work on the unpowered bread board.
That's kinda what I thought, but I've never seen anyone use them, and I've never found a use for them. I guess it depends on your set up. My power supply is still a "universal" wall wart with some solid core soldered on the ends!

Maybe someday I'll be sophisticated enough to use the terminals. :-)
Last year I built an Elenco XP-720 Power Supply kit for breadboarding and other electronics projects. It's nice to have the fixed 5V and dual adjustable +/- 1-15V for op-amps and other projects that use multiple voltages. It has all binding post outputs so I just run cables with banana plugs to get power to breadboard. Works great. The power supply is a nice inexpensive kit to build as well.
They make it easier to get +/- V and ground into the board. A 4mm plug fits in the top or you can screw a multicore cable in from the side.
wilgubeast2 years ago
Awww yeah. Now I can use my prototyped breadboard to create the LED traffic light! No longer will I be constrained by my ignorance! (Except, probably, I will. Just not around breadboards.)
very good tutorial about using a bread board. I too had taken electronics in my 1970s high schooling, but have never used it. Now maybe I can LOL. Thanks.
cjumpc2 years ago
This is fabulous. I've been wanting to play with LED kits but have been at a loss with tutorials that seem to require previous experience or am unfamiliar with the jargon. I completely understand your tutorial. Very clear. I'm excited to pick up my breadboard and materials and give this a try.

Thank you. I hope you plan to do more.
amandaghassaei (author)  cjumpc2 years ago
thanks, glad to hear it! I will be doing more.
pvdhyden2 years ago
You apply Ohms Law to the LED. IMHO you should apply it to the resistor. In other words: the forward voltage should be (5-2.2) = 2.8 V, resulting in R = 112 Ohms.
amandaghassaei (author)  pvdhyden2 years ago
oops, you're right, thanks, fixing it now
amandaghassaei (author)  amandaghassaei2 years ago
this is an easy mistake to make- another good reason to use a current limiting resistor that is a bit higher than what your components are max rated for :)
This is put together very well. I like the information provided with the 7 segment display. I would agree in that it would be nice to mention that the rails down either side are often split rather than continuos. I guess if you are a beginner the pictures make up for it when you show having to use a jumper wire to connect the side rails together. I can tell you spent a lot of time making this look great. It's in the details and I like that you have added a Fritzing Diagram. I myself am looking to be using it in a near build of mine, like the possibilities fritzing can offer.
Jayefuu2 years ago
Nice tutorial! Thought I think that the diagram in step 1 might confuse a lot of people. You don't show the whole board, nor do you talk about how the rails down either side are often split into two parts rather than being continuous, the source of many rookie mistakes.

Fritzing has a nice breadboard picture which would be easy to make an excellent diagram with if you felt like making that step clearer.