There are 3 main things I need for this project in addition to a microcontroller (Arduino Nano):
- LED strip
- I went with a generic RGB non-addressable LED strip. I just wanted something simple so I took the example from Adafruit https://learn.adafruit.com/rgb-led-strips/example-code
- Motion sensor
- For the motion sensor I used the HC-SR501 module. Really easy to use with a pot for sensitivity and a pot for how long the data pin stays high for after sensing motion
- RTC
- I looked for a library for the popular DS3231 RTC. I used the library found here: http://www.rinkydinkelectronics.com/library.php?id=73
With so much existing code out there for these common devices, this is a really quick and easy project to make. The only time consuming part is the hardware side, soldering all the components onto protoboard and putting it all together.
Here is the schematic:
And the first test run of the LED strip:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.