Lessons · Lesson E2 · Electricity basics · 15 min
Your first circuit
Build a loop on a breadboard, spot a short circuit, and check it with a multimeter. About 15 minutes, with one interactive breadboard.
A circuit is a loop
For anything to run, the current needs a route that leads back to where it left from. Picture a battery sending current out of one terminal, through your parts, and home to the other terminal. That closed route is a circuit [1].
Cut the loop at any point and the flow stops. That is an open circuit: harmless, but idle [1]. When a build stays dead, look for a break first, most often a wire that came loose or a leg that is not fully seated [1].
In this lesson you will build the simplest useful loop: a battery pack, a resistor and an LED, in a row, closing back on the battery.
Before you start. Everything in this lesson uses small batteries only, such as AA cells, which give about 1.5 V each [3]. Never work on, or measure, anything plugged into a wall outlet: that kind of electricity (AC) can be dangerous [3].
How a breadboard is wired inside
A breadboard lets you build without soldering: behind every hole is a small metal clip that holds a wire or a component leg [2].
Strips. The clips in one short row are joined by a single piece of metal. Plug two legs into the same strip and they are connected [2]. A strip usually has five holes [2]. Down the middle of the board runs a gap, the “ravine”. It splits every row in two: a strip on the left of the gap and the strip facing it on the right are not connected [2].
Rails. Running along the long edges are the power rails. They normally carry a “+” and a “−” mark, one beside a red line and the other beside a blue or black line. Each rail is a single long strip, connected from end to end [2]. The rail on the left edge and the one on the right edge are not connected to each other. If you want both, you add jumper wires [2]. The colours are a convention, not a rule: the board will not object if you put “+” on the blue rail, but following the convention spares you confusion [2].
Check your own board. The same SparkFun page marks the “all connected” rule with a footnote (“typically”), and some boards sell with split power buses [2]. If your rail is split in the middle, bridge it with a jumper. To find out, take the battery out, set the multimeter to continuity and touch the probes to both ends of the same rail: no beep means the rail is split (see screen 5) [2][3][8].
Tap a hole: every hole joined to it lights up.
Battery 4.5 V on the left rails
Split rails: the top half and the bottom half of each rail are separate. Bridge them with a jumper.
Click a hole in the widget: every hole that is electrically joined to it lights up.
Build the loop
You need a battery holder (3 × AA, 4.5 V when the cells are fresh), a 330 Ω resistor (orange, orange, brown), a red LED and three jumper wires [3][4].
- Keep the battery out (or its switch off) while you wire.
- Put the LED across the middle gap, one leg on each side, so its two legs are in different strips [2]. The longer leg is the “+” side [4][5].
- Put one leg of the resistor in the same strip as the LED’s longer leg, and the other leg in a free strip on the same side of the gap, or onto a rail.
- Wire the battery’s “+” lead to the resistor’s free end, and its “−” lead to the strip of the LED’s short leg.
- Insert the battery. The LED lights.
330 Ω is a common starting value for LEDs [4]. Why that value, and how to pick another, is the next lesson. For now, never leave out the resistor.
The LED does not light? Flip it around: an LED put in backwards does not break, it simply stays dark [4][6].
Short circuits: how to spot one
A short circuit is a direct route from the positive side of the supply to the negative side, with nothing in the way to hold the current back [1]. The current then grows as large as the supply can deliver, which can burn a wire, harm the supply or flatten the battery [1].
On a breadboard, a short usually happens by accident:
- a wire or a leg links a strip on the “+” side to a strip on the “−” side,
- a jumper goes from the “+” rail to the “−” rail.
A close cousin is not a true short, but it goes wrong too: a part gets bypassed. For example, the two legs of the resistor touch, or a wire lies across them. The current skips the resistor and the LED has nothing in front of it to hold the current down (the next lesson explains why that matters).
Signs. Something gets hot, or a part suddenly gives up [1]. If you notice either: switch off and remove the battery first, then look for the problem [1].
Before powering up, check for a short with a multimeter, as the next screen shows [3][8].
Check your loop with a multimeter
A multimeter is a small meter with two probes. It is the first tool to grab when something does not work [1][3]. Plug the black probe in “COM” and the red probe in the socket marked with “V” and “Ω” [3].
Measure voltage (battery on).
- Turn the dial to the DC voltage range: the “V” with a straight line, not the wavy one. Choose a range above what you expect, for example 20 V for a 4.5 V pack [3].
- Touch the black probe to the “−” side and the red probe to the “+” side. A fresh AA cell reads about 1.5 V [3]. Swap the probes and the display just adds a minus sign; the meter is fine [3].
- Measure across the whole battery pack, across the resistor, then across the LED. A lit red LED sits somewhere around 2 V, and the resistor takes the rest: the two add up to about the battery voltage [6][7].
- No voltage where you expect one is a clue. Walk the probes along the loop to find where it disappears; that is how you find an open spot [1].
Check continuity (battery off).
- Remove the battery. Continuity is tested on a circuit that is not powered [3][8].
- Turn the dial to continuity: the diode-and-sound-waves symbol. Touch the probes together: the meter beeps [3][8].
- A beep means a path of very low resistance, so the two points are connected [3][8]. No beep means they are not [3].
- Touch the “+” rail and the “−” rail. A beep means a short. Fix the wiring before inserting the battery [3]. If your build has capacitors, a brief chirp that then stops is normal: they are charging [3][8].
- Touch both ends of one rail. A beep means the rail is whole; no beep means it is split [2][3].
Safety, once more. Use the meter on small battery circuits only. Never on a wall outlet [3].
Check yourself
Three short questions. Nothing is saved, take your time.
Two parts each have one leg pushed into the same short row of five connected holes (same side of the middle gap). What does that do?
- Nothing, the two legs are still separate
- The two legs are electrically joined
- The breadboard switches off
Show the answer
The two legs are electrically joined. The five holes of a strip sit on one piece of metal, so anything plugged into them is connected together [2].
You plug a bare wire from the "+" rail straight to the "−" rail of a battery-powered board, with nothing else in between. What have you made?
- A brighter circuit
- A short circuit
- An open circuit
Show the answer
A short circuit. A wire straight across the supply, with no part to limit the current, is a short circuit. Disconnect the battery right away [1].
You want to use the multimeter's beeping continuity mode on your build. What do you do first?
- Switch the circuit off or remove the battery
- Turn the dial to the AC symbol
- Add a second battery
Sources
Show the 8 sources
- SparkFun, “What is a Circuit?” (closed loop; short circuit and its effects; open circuit; multimeter tip for finding a break; hot parts or sudden burn-out: switch off and look for short circuits) — https://learn.sparkfun.com/tutorials/what-is-a-circuit
- SparkFun, “How to Use a Breadboard” (five-hole strips; central ravine; power rails; rails on either side not connected; markings are a reference; “typically” and split buses) — https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
- SparkFun, “How to Use a Multimeter” (probes and COM; DC voltage range; about 1.5 V per AA; reversed probes read negative; continuity mode and beep; test unpowered; capacitor chirp; AC from the wall can be dangerous) — https://learn.sparkfun.com/tutorials/how-to-use-a-multimeter
- SparkFun, “Light-Emitting Diodes (LEDs)” (330 Ω as a good value for most LEDs; longer leg is positive; a reversed LED will not light) — https://learn.sparkfun.com/tutorials/light-emitting-diodes-leds
- SparkFun, “Polarity” (LED anode and cathode; longer leg or flat edge) — https://learn.sparkfun.com/tutorials/polarity
- Adafruit, “All About LEDs”, pages “What is an LED?” and “Forward Voltage and KVL” (reversed LED does not break; red/yellow/orange LED drop about 1.85–2.5 V; the loop voltages balance) — https://learn.adafruit.com/all-about-leds/what-is-an-led and https://learn.adafruit.com/all-about-leds/forward-voltage-and-kvl
- SparkFun, “Resistors” (red LED forward voltage around 1.8 V) — https://learn.sparkfun.com/tutorials/resistors
- Adafruit, “Multimeters”, page “Continuity” (continuity can only be tested on an unpowered device; the tester beeps; a big capacitor gives a quick beep then silence; a beep means very low resistance) — https://learn.adafruit.com/multimeters/continuity