Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Half Shell on November 14, 2007, 09:58:16 AM

Title: Motion sensing with a single IR sensor?
Post by: Half Shell on November 14, 2007, 09:58:16 AM
I've been seeing a couple of projects using motion sensing but they're only using a single sharp ir sensor. I've been playing with mine but can't figure out how to do motion sensing with a single IR sensor. Is there a trick I am missing?
Title: Re: Motion sensing with a single IR sensor?
Post by: cooldog on November 14, 2007, 11:25:44 AM
http://www.societyofrobots.com/step_by_step_robot_step4.shtml

this uses motion to follow a object
Title: Re: Motion sensing with a single IR sensor?
Post by: Admin on November 14, 2007, 01:19:03 PM
If I were to do it, I'd have it scan and save the distances in an array.

Then I'd have it scan again.

Do a comparison between those two scans, and if it finds a big difference in values, you know something moved and the angle wrt the robot of that movement.