Change the resistor
The first circuit works with any resistor from 220 Ω to 1 kΩ, and the six values in the box show what that choice does. Current falls as resistance rises, brightness follows it more slowly than the arithmetic does, and below a point the LED is on and you cannot tell.
This is the first circuit with one thing changed. You need the same LED and board, and whichever of the resistors you want to try: one at a time, with the USB unplugged while you swap.
Pull one out, push another in
Everything on the board stays where it is. The resistor's two legs go into the same two holes, whatever the value, and nothing tells you the value except its colour bands.
The bands drawn here are the five-band kind: three digits, then a multiplier, then a tolerance band. If yours has four, the first two are the digits. Check them before you push a resistor in, because the board looks the same for every one. The markings page has the code.
One LED, six resistors
Pick a colour and a power side, and move through the six.
Side by side
The drawing is not a photograph, and it is not to scale. What it shows is that the steps are uneven. The first one, from 220 Ω to 1 kΩ, takes the LED from bright to about a fifth of that current, and it still looks lit. From 4.7 kΩ on, there is almost nothing to see.
Why the curve looks like that
Current is the voltage across the resistor divided by the resistor. The LED takes its fixed share of the supply, so the same voltage is left over for any resistor, and halving the resistance doubles the current.
This is why the useful values in the box sit in the middle. 100 Ω is on the steep part of the curve, where a small change in resistance is a big change in current. 10 kΩ and 1 MΩ sit on the floor, where nothing you do shows.
Choosing one yourself
The rule is one line, and it works for any colour and any supply:
resistor = (rail - LED voltage) / the current you wantFor a red LED on a 4.8 V rail at 5 mA, that is 2.8 V ÷ 0.005 A, or 560 Ω. The box has no 560 Ω, so use the nearest value that keeps the current inside the range: 220 Ω gives 12.7 mA, 1 kΩ gives 2.8 mA. If you want something in between, two resistors in a row add: two 220 Ω in series make 440 Ω, which gives about 6.4 mA. See series and parallel.
On the 3.3 V side
On the module's 3.3 V side every current is smaller. A 220 Ω resistor gives a red LED about 5.9 mA, a comfortable brightness, and a blue or white one about 1.4 mA, which is dim. 1 kΩ gives the blue LED 0.3 mA, which is barely visible. Nothing in the box is damaged by any combination on 3.3 V: the risk is on the 5 V side with the smallest resistor.
Measure it
Use a red LED on the 5 V side, a meter on DC volts, and take these three resistors one at a time. Measure across the resistor, then divide by its value.
| Resistor | Across it | Current | What the LED looks like |
|---|---|---|---|
| 220 Ω | about 2.8 V | about 12.7 mA | Bright |
| 1 kΩ | about 2.8 V | about 2.8 mA | Clearly lit |
| 10 kΩ | about 2.8 to 3.1 V | about 0.3 mA | Faint or dark |
The reading across the resistor hardly changes while the current changes forty times. That is the point of the circuit: the LED fixes the voltage, and the resistor sets the current from it. At very small currents the LED's own voltage sags by a few tenths of a volt, so the resistor reads a little more than the table's first rows say. It is not a fault.
To check a resistor itself, take it out of the board, set the meter to ohms and touch one probe to each leg. Expect the printed value within a few percent. The meter page shows how.
When it does not work
Either the resistors are the same value and the bands were misread, or the brightness is too close to compare by eye. The eye is bad at judging brightness: 12.7 mA and 2.8 mA look more alike than the numbers suggest. Measure the voltage across each resistor instead, and divide by its value.
It has not gone out, it has gone below what a lit room lets you see. At 10 kΩ the current is under 0.3 mA, and at 1 MΩ it is a few millionths of an amp. Cover the LED with your hand, or dim the room, and a 4.7 kΩ one should still be visible.
On a red, yellow or green LED, 100 Ω gives about 26 to 28 mA, past the usual 20 mA ceiling. It will usually light, run hot and wear out much sooner than it is rated to. A blue or white LED takes 18 mA from the same resistor and is inside its rating, which is why the damage depends on the colour.
It conducts about 3 millionths of an amp, which no LED shows. Its job in other circuits is to hold a point at a voltage while taking almost no current, and it is the wrong choice here. The meter shows the circuit is working: the resistor reads most of the rail's voltage.
Edit this page — content/books/estkit/change-the-resistor.mdx
Questions about this product
See what other owners have asked, and read their solutions.
Electronics Starter Kit, Breadboard, Power Module and Components
Loading discussions…
Discuss this article
Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.