Introduction: LED Nightstand
This model of nightstand consists of 3 LEDs in order to change its brightness. The three LEDs will have the same brightness. Pressing the push button will make the three LEDs change to a new level of brightness, from low to mild to bright, giving users the most suitable brightness. The target audiences of this nightstand are kids, particularly the girls in teens and small girls. Since the inside of the bottle is already filled with cotton, the atmosphere of the nightstand is basically romance that girls will like.
Step 1: Supplies
Arduino Leonard https://www.amazon.com/Arduino-A000057-Leonardo-wi...
1 mini breadboard https://www.amazon.com/Arduino-A000057-Leonardo-wi...
3 LEDs (white) https://www.amazon.com/Arduino-A000057-Leonardo-wi...
Resistor (10k ohm) https://www.amazon.com/Arduino-A000057-Leonardo-wi...
Male-male Jumper wires https://www.amazon.com/Arduino-A000057-Leonardo-wi...
Female- Male Jumper wires https://www.amazon.com/Arduino-A000057-Leonardo-wi...
Step 2: Decoration
All of these below are available at a grocery store
Utility Knife ( Be careful when you use it )
Decoration steps :
First, you need to build your cardboard into a box, for my sake, the box size just fits my Arduino board. (15x10cm) Then, you'll need to dig two holes, one on the top one on the side. For the hole on the top, it needs to fit the bottleneck of the bottle you prepared. The second hole you need to dig needs to fit the size of your button, the button I used is 3x3, so I dug a 3x3 hole on the side.
Rip the Cotton / Tissue you have into small pieces and put them into your bottle, after finish, you plug your bottle into the hole. Pull your extension line through the bottle.
Step 3: LED
This is the pace your light will shine if you followed my circuit diagram.
Step 4: Code
Change D6 to D2 ( Only if you followed my circuit diagram )
Remember, to upload your code to your board, you have to press the upload button on the top left corner.
Step 5: How Does It Work/ What If It Did Not Work
If your nightstand didn’t work, there are several ways you can try to fix it. First, you need to make sure your components are all intact, then you can then examine your code or your circuit diagram for any mistakes. ( What I mean mistake is any part that was different from my)
If it still doesn’t work, it might be the uploading problem, if you're using Arduino Web editor https://create.arduino.cc/, you can refer to the link attached, which is a YouTube video that guides you step-by-step through the process of activating the website and uploading the code to your Arduino device.