Two PIR Sensors To Track Motion (Video)
I had an idea a few weeks back that two PIR sensors mounted left and right might be able to detect the presence of motion and the rough left or right direction of that motion. So I bought two of them and yesterday I hooked them up to the trusty CBA. When the robot is stationary it works like a champ. When the robot turns to follow the motion, its own motion can confuse the PIR sensors, but as you can see from the video it did eventually locate me.
[video=youtube_share;OpT7QkyculE]
I think an improvement I need to make is ignore the values of the PIR sensors while and just after the robot is moving. That should make it ignore its own motion and focus on motion of people.
[video=youtube_share;OpT7QkyculE]
I think an improvement I need to make is ignore the values of the PIR sensors while and just after the robot is moving. That should make it ignore its own motion and focus on motion of people.
Comments
Seems like you could just ignore the PIR's during wheel movement, and then read them when the Bot stops moving...
Pretty cool either way.
-Tommy
At any rate I tested a 'light to frequency converter' with a flashlight and decided that if I can get a similar level of sensitivity from an audio source then some interesting things could be done. Four electret mics are cheap and less complicated in my opinion than using a single microphone with a servo.
If I discover anything of value I'll share it with the forum.