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!
Introduction at Instructables:
Today I'm showing you how to make your bed glow!
This works by having a LED strip hidden under the frame of your bed. This will give off a pleasant glow illuminating your room from downwards and up.
The lights are either activated by the time of day or when it detects motion. I've attached my code and made it easy to tweak and edit to suit your needs.
Now you will never be blinded by light if you wake up in the middle of the night again!
Let's get started!