I wanted to create something for my wife as a present and this is what I came up with. This is a dark activated color changing night light. It has a sensor that can tell when the room light is turned off. This then will light a RGB LED and slowly fade through different colors. Its brains is a ATtiny85, but you could also use an Arduino. We have little boys that would appreciate this on at night.
Remove these ads by
Signing UpStep 1: Parts
Parts for the Circuit:
- 22uf capacitor
- 10nf “103” capacitor
- 7805 voltage regulator
- LDR (Light Dependent Resistor)
- 2 – 10K resistor
- 2 – 100ohm resistor
- 220ohm resistor
- RGB LED (The one I got from RadioShack has a common anode.)
- ATtiny85 (can be bought at www.sparkfun.com)
- 8 pin socket
- Wire
- Perfboard
- Wall Wort Plug about 7-18V (test this with a voltmeter, don't trust the label)
Everything can bought at RadioShack but the ATtiny85.
Don't buy the Wall Wort Plug. You or someone you know probably has one they don't use, like the plug to charge a cell phone... When possible, recycle.
Parts for the Light:
- Hobby Glass Block
- Hot Glue Gun
- Glass Block Stand
- Glass Frosting Spray Paint
- Paint Pen/Sharpie
- Computer
- Arduino
- Breadboard
- Jumper Wire
- Wire Stripper
- Voltmeter
- Soldering Iron
- Solder
- Razer Blade
- That you at least have a little experience programing an Arduino and know how to solder on a perfboard. If you are an absolute beginner you may need some help.












































Visit Our Store »
Go Pro Today »




Build_it_Bob