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
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.