Author Topic: Motion sensing with a single IR sensor?  (Read 1946 times)

0 Members and 1 Guest are viewing this topic.

Offline Half ShellTopic starter

  • Robot Overlord
  • ****
  • Posts: 225
  • Helpful? 0
Motion sensing with a single IR sensor?
« 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?

Offline cooldog

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: Motion sensing with a single IR sensor?
« Reply #1 on: November 14, 2007, 11:25:44 AM »
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,632
  • Helpful? 169
    • Society of Robots
Re: Motion sensing with a single IR sensor?
« Reply #2 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.

 


Get Your Ad Here