What You'll Learn
This is the perfect first electronics project. By the time you've finished, you'll understand how to calculate a current-limiting resistor, read a basic schematic, use a breadboard, and apply Ohm's Law in a real circuit. Best of all, you'll have something that glows at the end of it.
What You'll Need
- 1× LED (any color — red is easiest to start with)
- 1× Resistor (value calculated below — approximately 330Ω for a 9V battery)
- 1× 9V battery with snap connector (or a 5V USB power bank with appropriate adapter)
- 1× Breadboard
- 2× Jumper wires (or stripped solid-core wire)
- Optional: Multimeter to verify connections
Understanding the Circuit Before You Build
An LED (Light Emitting Diode) is not like a regular light bulb — it has a very low internal resistance and will draw too much current and burn out if connected directly to a power supply. You must always use a current-limiting resistor in series with an LED.
Calculating the Resistor Value
Use this formula:
R = (Vsupply − Vforward) ÷ Idesired
Where:
- Vsupply = your battery voltage (9V)
- Vforward = the LED's forward voltage drop (typically ~2V for red, ~3.2V for blue/white)
- Idesired = your target current (20 mA = 0.02 A is standard for most LEDs)
For a red LED on a 9V battery:
R = (9 − 2) ÷ 0.02 = 7 ÷ 0.02 = 350Ω
The nearest standard resistor value is 330Ω — that will work perfectly. It will push the current slightly above 20mA, but still within a safe range.
Reading the Schematic
The circuit is simple: Battery (+) → Resistor → LED (anode) → LED (cathode) → Battery (−). In schematic form, the LED is represented by a triangle pointing toward a bar, with the triangle side being the anode (+) and the bar being the cathode (−).
On a physical LED, the longer leg is the anode (+) and the shorter leg is the cathode (−). Getting this wrong won't damage the LED (current simply won't flow), but the LED won't light up either.
Building on the Breadboard
- Connect the positive (red) wire from your battery snap to the positive rail (marked with a +) on the breadboard.
- Connect the negative (black) wire from the battery snap to the negative rail (marked with a −).
- Insert the resistor so one leg connects to the positive rail and the other leg lands in a free row on the breadboard.
- Insert the LED's anode (long leg) into the same row as the free end of the resistor.
- Insert the LED's cathode (short leg) into a different row.
- Use a jumper wire to connect that final row to the negative rail.
- Attach the battery and your LED should glow!
Troubleshooting
- LED doesn't light: Check LED polarity (try flipping it around). Check that all breadboard connections are firmly seated.
- LED is very dim: Your resistor value may be too high. Try a lower value (e.g. 220Ω).
- LED burnt out immediately: You likely skipped the resistor or used a very low value. Replace the LED and recalculate.
- Nothing works: Use a multimeter to check your battery voltage and verify current flows through the circuit.
Taking It Further
Once your single LED is working, try these extensions:
- Add a second LED in series — recalculate your resistor to account for two forward voltage drops.
- Add a switch in series to turn the LED on and off.
- Try different colored LEDs and notice how the brightness and forward voltage differ.
- Replace the fixed resistor with a potentiometer to dim the LED.
Congratulations — you've just built and understood your first real electrical circuit!