Wow! I’ll have traffic lights in my house now with wireless sensing capability with a PIR sensor. When the PIR doesn’t sense anyone in front of it, it lights the red LED. If it does, the Arduino starts calculating the time once it detects something. If the time is below 5 seconds, the yellow LED will light. Once over 5 seconds, the red LED will light up. It will turn back to red once the PIR go back to LOW. Enjoy!
For more information, please visit https://so1malaysia.blogspot.com/ or https://toosyok.blogspot.com/
by low5545
Post time: Jan-24-2017