Introduction: Bedside Lamp With Potentiometer

Hey guys, today I'm going to show you how to make a bedside lamp led dimmer with a Potentiometer. I rebuild and improve a bit on this guy's project So let's begin.

Step 1: Material

the material you will need is

1. Arduino( I use Leonardo, but others work too.)

2. Computer

3. Breadboard

4. LED

5. wires

6. Potentiometer

7. USB cable

Step 2: Wiring

Step 3: Coding

In the original code, there's only 1 led to control. In the new one I made, I add another led and Potentiometer in it.

Step 4: Make It Look Better

When you finish a project, do you want it to look better or worse? If you want to make your project look better, you can cover the wires with a box. I use a shoebox to cover the wire and the breadboard.