Cute and simple DIY color changing night light made with Arduino. via instructables
I hadn’t done a single electronics project for a month, and seeing my Arduino after so long made me pretty excited, albeit a little lost. I felt I needed a small, simple project to revive my familiarity with Arduino. This RGB LED night light was good enough for the purpose; I had all components in my drawers and it didn’t take too much time to make. It’s easy to make, and suitable for one beginning to work with wires and solder.
Although it took less than a couple of hours to finish, this night light ispretty good-looking, especially in the dark. In fact, it benefits my younger sister, who is delighted having this lamp to illuminate her bedroom at night.
In this instructable, I’ll be showing you how I made my RGB LED Night Light with an ATtiny13 at its heart. Of course, this isn’t a strict guide; you can use your imagination and modify the design of the lamp, change the LED driver code, or even use a totally different circuit!
Time Required: 2 hours
Basic Knowledge of Electronics
Some experience with Arduino and Porgramming
Experience with soldering
ATtiny13 or ATtiny45 or ATtiny85 microcontroller
RGB LED strip (1.5 – 2m)
240V to 12V transformer (OR a 120V to 12V one if you live in the states)
7805 regulator IC
IN4007 diodes (5 of them)
2N2222 transistors (2-3 of them)
1K resistors x2
Capacitors:- 1000uF, 10uF
8pin IC socket or Berf Socket