Hello,
I am trying to make arduino robot that will sense motion from 25 ft away. If there is any motion, the robot will stop. The concept is a robot crossing-guard that will help blind people safely cross a street. I was looking at some other forums about the motion sensor and the code for it. What is the function that will be a boolean if there is any motion? I am sorry if I am not making any sense,I just started learning about arduino code.
might not work outside because of all the IR from the sun. So sorry, no suggestions, but just wanted to point out that the most common PIR sensor might not work.
What is the function that will be a boolean if there is any motion?
That would depend on what you are using to sense motion. Handwaving really doesn't cut it here.
@PaulS
So if there is any motion, it would be true or false. If any motion sensed 20-25 feet away it would be true, and the robot would move. @arusr
I already have this sensor.
I have some PIR activated lamps on the outside of my house which seem to be pretty reliable in daylight and at night. It would be easy enough to incorporate something similar into your project. However, the I don't think the range is as much as 25'. You might need to reduce the scope of your requirements, or else position the sensors so that they don't need to cover as much range.