I want to make a system using a PIR sensor to arduino nao, my idea is if PIR sensor detects a motion it will send HIGH for 6 hours, in beetween if the PIR sensor doesnt detect any motion within 2 hours it will send LOW
is this possible, please help me.
Your post was MOVED to its current location as it is more suitable.
did not understand your meaning.
You posted your topic in the Installation & Troubleshooting section of the forum but it is not an Installation & Troubleshooting question, so it was moved to the Project Guidance section
There are tons of PIR sensor using projects done. Search for Arduino +PIR.
Quite trivial problem, but you have not adequately specified it.
If 2 hours inactivity will make the output LOW, under exactly what condition will it stay HIGH for 8 hours?
Have you learned to use the "blink without delay" example? That is the first step in both your previous question and this one.
Also read the instructions for posting code in particular.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.