Manual LED Brightness Dimmer
Adjust the brightness of an LED by turning a potentiometer, no code needed. The potentiometer works as a variable resistor.
Bill of materials
Everything you need to build it, with the reference you will see on the schematic.
| Qty | Part | Ref. |
|---|---|---|
| 1 | 10 kΩ potentiometer | RV1 |
| 1 | 470 Ω resistor (yellow-violet-brown) | R1 |
| 1 | red LED | D1 |
| 1 | 9 V battery with snap clip | BT1 |
| 1 | Breadboard (400 tie-points or more) | |
| 3 | Jumper wires |
Missing parts? The kits recommended by Impeca Tech include almost all of them. See the kits
Schematic & wiring
On the left, the circuit diagram; on the right, the same circuit built on a breadboard. Both connect exactly the same things.
Wire it step by step
-
Place the components
- 10 kΩ potentiometer RV1: its three legs in 5f (end 1), 6f (wiper, the middle one) and 7f (end 2).
- 470 Ω resistor R1 (bands: yellow, violet, brown, gold): one leg in 6i and the other in 3i (either way round).
- red LED D1: the long leg (+, anode) in 3f and the short leg (−, cathode, flat side) in 4f.
-
Add the jumper wires
- Red wire: from 5j to the + (red) rail.
- Orange wire: from 6j to 7j.
- Black wire: from 4j to the − (blue) rail.
-
Connect the battery
- Connect the 9 V battery to its clip: the clip’s red lead to the + (red) rail and the black one to the − (blue) rail. Do this last, once everything else is in place.
-
Test the circuit
- Turn the potentiometer from one end to the other: the LED should go from bright to almost off, smoothly. If the direction is the opposite of what you expected it is not a mistake: it depends on how you placed it.
How to read the holes: the letter is the row and the number is the column of the breadboard (for example 7f). The red (+) and blue (−) rails are the two long lines along the edge.
How does it work?
- 1You turn the potentiometer
- 2The series resistance changes
- 3The LED current changes
- 4The LED gets brighter or dimmer
A potentiometer has three legs. Joining the middle leg (the wiper) to one end leg leaves only the part of the track between them in use, anything from 0 to 10 kΩ depending on the turn. That resistance sits in series with R1 and the LED: at the minimum about 15 mA flows and the LED is at full brightness; as you turn it the resistance rises and the current drops below 1 mA. R1 always stays in the circuit so the LED can never get too much current.
Testing & troubleshooting
What you should see
- Potentiometer at minimum (full brightness)
- LED current≈ 15 mA
- Potentiometer halfway
- LED current≈ 1.3 mA
- Potentiometer at maximum (lowest brightness)
- LED current≈ 0.69 mA
Approximate values, calculated with typical parts. With real parts they can vary by 10 % or more.
If something does not work
The brightness does not change when turning?
The wire between the middle leg and the end leg of the potentiometer is missing or in the wrong hole. Without it the potentiometer does not work as a variable resistor.
The LED goes completely off at one end?
It is normal for it to be very dim at the 10 kΩ end. If it goes fully off before that, check that the LED and R1 are pushed in properly and that the battery is not nearly flat.
Want to automate this circuit with code?
Learn how to program sensors and custom schedules in our e-book “Arduino from Scratch”.