Ultrasonic Range Sensor from RadioShack

Hello,

I got this sonar sensor a while ago: https://www.radioshack.com/products/radioshack-ultrasonic-range-sensor

I am wondering if the pixhawk supports it, and if so how do I connect it?

They have some arduino sample code here: https://github.com/RadioShackCorp/2760342-Range-Sensor/blob/master/UltrasonicRangeSensor.ino

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics

    Use a Maxbotix sensor. Costs a few buck more and actually works. 

  • To be honest I don't have much idea, and I just hope it can help with landing.

    For the Maxbotics senors the doc said to use them in analog mode? This one doesn't seems to have a mode switch. :/

    Can I connect it using one of the AUX pin?

  • 3D Robotics

    Yes, the Maxbotics sensors are also either PWM or Analog voltage output. 

    BTW, those Radio Shack sonar sensors are terrible (noisy, short range, wide angle) and I can't think of any application where I'd use them. What do you have in mind?

  • Thanks for the reply!

    That's what I thought but it seems to have a pulse width output, does pixhawk support this kind of sensor?

  • 3D Robotics

    Yes, that's just an analog sonar. Instructions are the same as this one: 

    http://ardupilot.org/copter/docs/sonar.html?highlight=analog%20sensors

    Analog Sonar (AC3.1) — Copter documentation
This reply was deleted.

Activity