I always keep my eye out for small problems that could be improved my over engineering a solution to test my skills. My recent tutorial is no exception! I’ve attached a meter of LED strip under my bed, and it is of course controlled by an arduino.
The arduino is soldered onto a perf board along with an RTC module and a PIR sensor. The code is written to work as a wake-up and night light. The lights turn on in the morning, 06:30, to make it easier to wake up because the room is no longer dark. Then it turns off a couple hours later, when I’m out of bed.
After this the lights turn on again in the evening before it turns off and goes into motion detect mode. The motion detect mode is on between 19:00 and 06:30. This means the lights turn on and stay on for three minutes whenever it detects movement between these hours. Perfect whenever I need to get out of the bed in the middle of the night!
Even though the LEDs are directed straight down to the floor, they still cast a lot of glowing light through out the bedroom!
Code, circuit, and detailed build instructions: http://www.instructables.com/id/DIY-Bed-LEDs-Time-and-Motion-Activated-Video-Tutor
Music from Jukedeck – create your own at http://jukedeck.com
Production Eirik Sverd