This instructable shows how to make a USB LED candle that turns on automatically when it gets dark.
This project is made for the course If This, Then That which I followed at the HKU.
NB: This project has been transformed into an aesthetically pleasing and technologically improved version.
Step 1: Requirements
- Arduino Uno
- LED light
- LDR (photoresistor)
- 220 and 10k ohm resistors
-card board box
- wrapping paper
Step 2: The Arduino Connections
This is how you should attach everything together.
Step 3: Code
Fairly simple, this is the code that I borrowed from this instructable over here.
Step 4: TEST
One of the most important steps might be to TEST if your project works. You don't want to assemble everything together before you know if what you're making actually works.
On the other hand, the best way to never forget this is to actually forget a couple of times first...
Step 5: Start Building!
Now you can start scurrying around looking for a nice container for your project. In my case I had a small cardboard box to hold the Arduino itself and a candle holder with holes for the candle and the wires sticking out.
Ater you finish getting all the parts together, don't forget to TEST!!!!
Step 6: Soldering & Wrapping
Now you can put away the breadboard and solder all the parts together to make sure everything is secured tightly into place.
Step 7: Enjoy!
Congratulations! You made a very useful and more importantly, a very fancy gadget that doesn't take up too much space on your desk at all!