Jan 24
This evening I wrote a sketch to protect my toes better. The sketch switches the LED strip on and off based on motion detection by 2 PIRs. It works
The blue LED on the Protoshield indicates when there is motion detected by the PIR. The motion detection turns the LED strip on and it will stay on until a period of 15 seconds with no motion has passed – only then, the LED strip is turned off again.
The sketch takes care of the “soft on/off” feature, by gently raising or lowering the brightness during a configurable time-span.
All that’s left to do is cleaning up the code, solder some wires, wait for the enclosure to arrive and give the LED strip, PIRs and Arduino enclosure a place under the bed.
Simple, yet very convenient automation

January 25th, 2012 at 10:10
Would love to see pictures how it looks at night when the led strip is turned on!
January 25th, 2012 at 10:19
Hi DJ,
I think that can be arranged. There will be a follow-up on this, later this week(end). I’ll post some pictures then
January 25th, 2012 at 16:51
Hi Robert, again a nice project and application!! Very nice!
And again I have been thinking about the same application, just don’t have the time and bandwidth to do all these things.
Great work!
Rgds,
Michel.
January 25th, 2012 at 20:12
Hi Michel,
Thanks, this intermezzo is all about priority… all the rest will just have to wait a bit longer!
Robert
February 5th, 2012 at 23:19
[...] small update with some results on the bedroom floor lighting [...]