Every circuit in this series is a loop. Current leaves the supply’s + terminal, flows through the parts, and returns to its − terminal. Break the loop anywhere, with a loose wire, a part in the wrong strip or an open switch, and the current stops everywhere at once.
The − side has several names, and they all mean the same thing: 0 V, minus, ground and, on chip pinouts, . It is the reference every other voltage is measured from. When this series says an input is “at 5 volts”, it means 5 volts above ground: put the multimeter’s black probe on the blue rail and the red probe on the input, and it reads 5.
The + side, at 5 volts above ground, is the supply, called on logic chips. Between the two, a logic circuit has only two states that matter. A wire connected towards + is high; a wire connected towards ground is low. The LED in this part is the simplest way to see which one you have.
An is a diode: it lets current through in one direction only, and it glows while it does. Like every diode, it takes a roughly fixed voltage for itself, its . A red LED takes about 2 volts; a blue or white one about 3.
Below that voltage, almost no current flows. Above it, the current climbs so steeply that a few tenths of a volt more means many times more current. Connect an LED straight to 5 volts, three volts more than it wants, and nothing limits the current except the thin wires and the supply itself. Hundreds of milliamps flow, against the 20 milliamps a standard 5 mm LED is made for, and it burns out.
The cure is a resistor in the same loop, a . The LED still takes its 2 volts. The resistor takes the other 3, and by Ohm’s law it lets through:
current = voltage ÷ resistance = 3 V ÷ 330 Ω ≈ 0.009 A, about 9 mA
Nine milliamps is bright enough to see across a room, comfortably inside the LED’s rating, and, as part 7 will show, a current a logic chip’s output can supply. That is why the kit has a bag of 330 Ω resistors. The full story, with Ohm’s law and the LED’s curve, is in Diodes and LEDs.
With and without a resistor
Choose a resistor and watch the current and the glow. Then choose None. Try the other colours, and turn the LED round.
About 8.96 mA: safely inside the LED's rating, and plenty bright.
A 5 V supply, about 0.6 Ω of supply and wires, and typical LEDs: red 2.0 V, green 2.2 V, blue 3.1 V at 10 mA. Real LEDs vary a little.
Notice how forgiving the circuit is. Anything from about 150 Ω to 1 kΩ lights a red LED safely, so you never need an exact value. Only the extremes are wrong: no resistor at all, which destroys the LED, and a resistor so big, like 10 kΩ, that the LED barely glows. If an LED in this series looks dim, the first thing to check is whether a 10 kΩ resistor has crept in where a 330 Ω belongs.
Small resistors are too small to print a number on, so their value is painted on in bands of colour. Each colour stands for a digit:
| Black | Brown | Red | Orange | Yellow | Green | Blue | Violet | Grey | White |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Hold the resistor with the gold band on the right. On a four-band resistor, the first two bands are digits, the third says how many zeros follow, and the gold band means the true value is within 5 % of the printed one. Your two values read:
- 330 Ω: orange, orange, brown, gold. 3, 3, and one zero.
- 10 kΩ: brown, black, orange, gold. 1, 0, and three zeros: 10,000 Ω.
Many kits contain precision resistors instead, usually with a blue body and five bands, three digits and then the zeros. On those, 330 Ω is orange, orange, black, black, brown and 10 kΩ is brown, black, black, red, brown. The last band, brown, means 1 %.
The two values in the kit look alike at a glance, and mixing them up is the commonest wiring mistake in this series. When in doubt, measure: a multimeter on Ω settles it in a second. The Resistor has a colour-code instrument to practise on.
An LED only lights one way round, so each leg has a job:
- The longer leg is the anode, the + side. It goes towards the supply, through the resistor.
- The shorter leg is the cathode, the − side. It goes towards ground.
- The rim of the plastic body has a flat edge on the cathode side, which still works once the legs have been trimmed.
Put an LED in backwards and nothing happens: it blocks the current, and stays dark. LEDs are usually rated to block 5 volts the wrong way round, exactly what this supply gives, so a reversed LED comes to no harm. Turn it round and it lights.
The first practical visible LED was a red one, made by Nick Holonyak at General Electric in 1962. It is still the colour of choice for indicators, because a red LED needs the least voltage and gives plenty of light from a few milliamps.
- With the power off, push one leg of the 330 Ω resistor into the top + rail and the other into hole c10. It does not matter which way round a resistor goes.
- Push the LED’s long leg into e10 and its short leg into e11, so the flat edge faces column 11.
- Connect a black wire from a11 to the top − rail.
- Switch the power on.
The loop runs from + through the resistor into column 10, through the LED from column 10 into column 11, and back to − through the wire. Every joint is two legs sharing one strip.
The LED lights steadily and not too brightly, and stays lit when you tap the board. With a multimeter: about 2 V across the LED and about 3 V across the resistor, adding up to the supply.
An LED shows you an output. The next part adds an input, a push button, and with it the trap that catches nearly every beginner.
Sources for this part
LEDs
Resistors