CLICK TITLE FOR MORE INFORMATION
Wow! I will 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.
Wow! I will 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.