Introduction: Basic LED Dimmer
Step 1: Parts Needed
1 x Breadboard
1 x Breadboard Power supply (optional)
1 x LED (The color doesn't matter)
1 x 10k potentiometer
1 x 9V Battery
1 x 9V Battery Clip
4 x Jumper Wires
Allchips is an electronics components online service platform, you can buy all the components from them.
Step 2: Plug in the Potentiometer and the LED
Choose a suitable space on the breadboard for both of the parts. Plug them in and make sure that they are secured to the breadboard
Step 3: Connecting the Potentiometer
Plug in 3 of your jumper wires to the corresponding rows of the potentiometer on the breadboard. The connections are as follows: 1 side of the potentiometer connects to the 5V (+) rail of the breadboard and the other side - to the GND (-) of the breadboard. The middle pin then connects to the LED's anode (the longer of the two leads)
Step 4: Connecting the LED
You should have the longer lead of the LED connected by now. The shorter one (the cathode) needs to go to the breadboard's negative (GND) row
Step 5: Powering Up!
Connect your 9V battery to the breadboard using a breadboard power supply board (optional, converts the 9V to 5V) and press the button. Now you can turn the potentiometer to vary the brightness of the LED by changing the resistance.