Main Content

I love making projects for my kids and I also love making projects using RGB LEDs, so I came up with the idea of a light detecting RGB Star shaped Nightlight for my kids rooms. The nightlight can detect if it is in darkness and turn on the RGB LEDs to 50% brightness, and then dim them back to 10% brightness over an hour.
If the nightlight detects it is in light, it will turn off the LEDs which of course, also saves battery life.
The star is 3D printed and uses a TinyDev Tiny85 board to control the LEDs, because it has super low power consumption and is only 26mm x 9mm in size, the same width as an RGB strip, but you can of course substitute the TinyDev with any Arduino compatible micro controller.
The nightlight runs off 2x AA batteries.”

Link to article