Sonar not working

Hi guys,

I have a brand new MB 1200 sonar, but I cant seem to get it to work. What happens when I flick the Alt Hold switch at low altitude, (~2m) is that my quad will rise slowly and then at about 10m then the motors slow down and the quad just drops.  I have attached a log file from that flight as suggested by Randy and it seems that the baro and sonar readings don't tally.  Do I have a bad sonar? II have already installed the resistor/capacitor filter and use a 2 core shielded cable to connect everything up. And yes, I did choose the correct sonar in APM Planner.

2012-05-15 15-51 3.log

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

Join diydrones

Email me when people reply –

Replies

  • @Ronang44,
     
    I just ran across your post.  I am glad that you have gotten the sensor working well on your quad.  As you had found, clean power is very important to our sensor. Checking the power to ensure it is strong, stable and clean is our first recommended troubleshooting step.  We have provided some recommended solutions by clicking this link http://maxbotix.com/articles/035.htm. Your solution of a separate power supply is a great solution.  Provided the power is clean, the XL-MaxSonar-EZ sensors have a very high noise tolerance which can be read about in our noise testing.  You can click this link http://maxbotix.com/articles/012.htm to view the noise testing data. Also, we recently released a series of I2C interface sensors that were designed with the DIY Drones community in mind.  You can click this link to view the sensors http://maxbotix.com/Ultrasonic_Sensors/I2C_Sensors.htm
     
     
    @Wesley Chuen 
     
    Exactly! The MB1260 is a very sensitive sensor and is designed to detect even tiny targets out to significant distances.  For some UAV users this is ideal because they hover over soft targets like tall & thick grass and in this instance it can provide better detection.  Many other users prefer the MB1240 because it is better suited for large targets and is more noise tolerant.  The best balance is found in the MB1220 or if you want an I2C sensor the MB1222.

     

    I you have any support questions, please don't hesitate to send me an email.  

     

    Best regards,


    Scott Wielenberg
    Technical Support & Sales
    of MaxBotix Inc.
    Phone: (218) 454-0766
    Fax: (218) 454-0768
    Email: scott@maxbotix.com

  • Your sonar is not working.  

    3692419085?profile=original

    Have your APM plug into the computer and look at the Flight Data screen.  In the Status tab, you should see the parameter updating live.  Look at the "alt" and it should starts at 20 (cm).  Move your sonar to point to a different places and see if that number update.

This reply was deleted.

Activity

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…
Sunday
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
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
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
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
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
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
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
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
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
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
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…