Hi All,

I have a PX4FMU and PX4IO board running the Arducopter V2.9.1b Quad firmware. I am trying to add a Maxbotix XL-EZ4 sonar (http://www.maxbotix.com/Ultrasonic_Sensors/MB1240.htm).

The instructions here (http://copter.ardupilot.com/wiki/sonar/) say to connect the XL-EZ4's analog output to one of three pins on the PX4FMU+IO and set the SONAR_PIN parameter accordingly in Mission Planner.

However, I can't seem to find the SONAR_PIN parameter in Mission Planner (I see SONAR_ENABLE, SONAR_GAIN, and SONAR_TYPE).

Running the "sonar" test program from the command line interface constantly shows a measurement of 20cm, so the sonar is definitely not being read. 

Am I missing something, or is there another way to set the sonar pin?

Thank you in advance!

- Harihar

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

Join diydrones

Email me when people reply –

Replies

  • I have the same problem, somebody can help as?

    The only difference is that I have arducopter version is 3.1.4, I am using pin 11 on px4io

     raffy

  • I'm having the same problem, has this been solved?

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Saturday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
More…