Sonar holding at 20cm

Hello, for some reason my sonar sensor wont give any value other than 20cm. It is working as I have tested it on a standard arduino, any idea on how to get it to play nice with the APM?

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

Join diydrones

Email me when people reply –

Replies

  • Double check your connections to the sonar and APM.  I had this issue a while back, and it was a bad connection in my sonar cable.  If you used the same wire/connector when you tested with your arduino, your cable must be fine.  Try applying a voltage 0-5V to the signal pin on the oil pan and see if you get a different readout.  It shows 20 cm for a 0V signal, so I would assume there is a bad solder joint on that pin, or you have some sort of problem with the oil pan.  I hope this helps!

  • Developer
    Is it blocked? The field of view is pretty wide.
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…