Sonar on Pixhawk

Anyone ever install a Sonar on Pixhawk, or where is any instructions on it ?

here is a Sonar unit at jameco;

http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?search_type=jamecoall&catalogId=10001&freeText=2206168&langId=-1&productId=2206168&storeId=10001&ddkey=http:StoreCatalogDrillDownView&trk_msg=BVDFL3BN140KP7E1VHMNM8IAC8&trk_contact=AC6O7QGJKSHJB541A3DF7D7L8O&utm_source=Listrak&utm_medium=Email&utm_term=Ultrasonic+Range+Finder&utm_campaign=Ultrasonic+Range+Finder+Goes+the+Distance

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

Join diydrones

Email me when people reply –

Replies

  • A simple sketch I wrote up for the Arduino Nano. I try to use I2C interface for SR04 sonar

    Block diagram

    [ HC-SR04 5V ] <=> [ Trig(8), Echo(9) ArduinoNano 5V SDA(A4), SCL(A5) ] <=> [Bi-Directional Logic Level Converter 5V 3.3V] <=> [Rixracer/Pixhawk I2C]

    Sonar model from the drop down list

    Mission Planner | Optional Hardware | Sonar = MaxbotixI2C

    IMG_8962.jpg

    arduino_i2c_sonar.ino

  • $14.95 !, oy vey!!

    If you want to experiment with this sonar unit instead of the MaxBotics, or better, a Lidar, then consider the module from HK:  http://www.hobbyking.com/hobbyking/store/uh_viewItem_B.asp?idProduc...

    It has an Arduino board already piggy-backed on to that sonar you linked, so I assume you can connect it directly to the digital input pins (5-6)

    Ultrasonic Module for ArduPilot Mega

    Either way, good luck.  Let us know your progress.

    • PostScript:  I received one of these HK sonars about a week ago, but I won't have time until after the HollyDaze to spend time playing with configuring it.

      I snapped a quick shot of the processing board:

      3702607352?profile=original

      The chip is an Atmel Mega 328P

  • Yes sir! I installed the max sonar 3dr sells. Just make sure you're installing it for the right reasons. Will it serve a purpose or is it for the "cool factor."
    Make sure you use a shielded cable! You may have to build one yourself! Regardless, good luck.
    • Want to use sonar to fly indoors in auditoriums and such . Would you suggest ?? 

      Thanks  ??

  • BTDT.  That "sonar" will not work.

    At one time I had one on an APM and it seemed to work.  I took it off for a while. I put it back on after I had upgraded to 3.2.1 FW but I could never get it to work right.  I tried it on a Pixhawk and it was a no-go....

    • i hope someone replies to that, before i get into installing on my Pixhawk.

This reply was deleted.