I used a delay in the code to make it more usable. The out of the box PIR code will just constantly check for motion on the PIR. I inserted a delay so if it sees motion, wait 1 minute and then start checking again. Every once in a while I am real still and the sensor does not pick up but again we are talking low-tech easy solution here.
Materials
- Arduino UNO
- 2 - LEDs
- PIR Motion Sensor
- Jumper Cables
Code
Pics
Buddy said I should add a mood feature to display the mood. I have an RGB LED laying around so I may implement that next.
0 comments:
Post a Comment