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/...

Views: 210

Reply to This

Replies to This Discussion

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

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

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?

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?

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?

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

Reply to Discussion

RSS

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2017   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service