go away spammer

Author Topic: Blending sonar with IR?  (Read 1632 times)

0 Members and 1 Guest are viewing this topic.

Offline jocatchTopic starter

  • Jr. Member
  • **
  • Posts: 29
  • Helpful? 0
Blending sonar with IR?
« on: August 27, 2010, 11:51:34 AM »
I got my first project rolling around for the first time today. It uses the Arduino Mega and Sharp IR sensor mounted on a servo to sweep 110 degrees. I also have but not used yet the Maxbotix EZ0 sonar ranger.

The IR code looks for something within 12" of the robot and then looks at the posistion of the sensor to take corrective action, pretty standard stuff.

My question is when I add the sonar unit, how should I blend the sonar and IR together in the code? Use the IR for short range and sonar for long range? If the IR is detecting close in objects, why even use sonar? The sonar unit will be stationary, not moving. Any suggestions for using both at the same time?

JC

 


Get Your Ad Here