LED-Strip activated by a PIR-sensor or button, only turns on if the ambient is dark enough.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
rgb_pir_light.pdfschematicx-download - 41.39 kB - 02/07/2017 at 17:39 |
|
|
I changed my 12V Supply to a higher quality one, now everything works as expected.
I think the problem was, in sleep mode the circuit draws so little current, that the supply can't hold a steady voltage.
The only small problem left is, at low brightness you can see the individual brightness levels.
In the future I may add 10/12? bit software-PWM to get smoother dimming of the LEDs.
I haven't fixed the power supply issue yet, but I finished the control box.
The box features a momentary button, a green LED (with resistor) and a toggle switch, which switches the 230V for the 12V supply.
Next week, when I am back in my apartment, I hopefully will figure out what causes the power supply issues.
Everything works as expected if I power the circuit via the ISP programmer (Arduino UNO) or my bench power supply.
But if I use the 3,3V regulator from the PIR-module, the circuit behaves strange. I also tried a L78L33AC regulator powered from the 12V rail, resulting in the same strange behaviour.
My circuit consumes less than 10mA, which both regulators should be capable of.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates
This is great. I was looking to do something like this using a few NeoPixels instead of individual RGB and using an ATTiny85 and some AA batteries to fit in with my Nest Protect smoke alarm pathway lighting. Just bright enough to illuminate a small area.
Will definitely have a crack at forking this. Cheers for the effort!