Ever wake up in the middle of the night for a needed restroom visit? Ever stepped on something very uncomfortable while setting your feet on the darkened floor?
Well this solves that problem! Very temporary lighting that is activated by heat and motion. I built this in stages, first the Photoelectric cell, then the PIR (HC-501), and finally the code to light up the neopixel strip.
Project ImageHigh level function is as follows:
IF (The light level is low) AND (PIR movement is detected)
THEN Turn on light for 90 seconds.
The final assembly included soldering and hot glue gunning the parts into place.Pretty simple device. I only had one problem, I should of considered its mounting location better as I do not have a good place to mount my new device.
Details....
Update: due to making the 1A power regulator super hot, i thought it would be a good idea to swap it out with a more powerful 5A power regulator, as my 3A power supply may not go THAT high but should be able to accommodate the LEDs better.
Comments