Sonar not appearing in flight data

I put a sonar sensor (MB1230 XL-MaxSonar®-EZ3) on my DIY Drones hexa-copter. I went to the CLI and ran a test on the sonar and it performed perfectly. I then went to the flight data tab and then pulled up the SonarRange value which read 0. I then looked at SonarVoltage and this also read 0. I have tried just about everything and I am not sure what the problem is. The pin and sensor are working perfectly, but it is not being picked up by the flight data. if anyone has had a similar problem, any insight would be MUCH appreciated  Thank you.

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

Join diydrones

Email me when people reply –

Replies

  • Apparently, a friend has told me, there is no MAVLINK message for sonar, which is why it only shows in the CLI in test mode and not on the HUD? Is this true?

  • Something is wonky with the 3.01 and Sonar.  I installed a 1240 which read nicely in the CLI tests but if enabled over grass it was nuts.   Fine over pavement but still did not impress but can't see what its reading in this version of Mission Planner nor on OSD.

     

    Second issue was the Sonar disable switch, it seems to have an issue or needs to be enabled and disabled at the start of every flight.   If switch is left in disabled position and not touched, the copter will gave loiter and alt hold issues until the sonar disable switch is toggled.

    If I disable Sonar totally, it's fine.  I'll do more testing...

  • Did you get this fixed? Having the same problem.

This reply was deleted.

Activity

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…