RC India

General Topics => Beginners Zone => Topic started by: nitin0836 on March 16, 2016, 09:44:48 AM

Title: Sonar shows no readings
Post by: nitin0836 on March 16, 2016, 09:44:48 AM
I have connected MB1040 sonar to A0 pin of apm 2.6 board as shown in the following link

http://copter.ardupilot.com/wiki/sonar/

I have selected Analog in the initial setup and there are no values being shown...

i also tried giving the signal pin 5 V separately it just doesn't seem to work
Help me!
Title: Re: Sonar shows no readings
Post by: Swapnil on March 16, 2016, 01:22:58 PM
Your input pin is set to -1. Set it to 0. You may also need to change the scaling. For my MB1240, I set it to 2.04.
Title: Re: Sonar shows no readings
Post by: nitin0836 on March 19, 2016, 10:19:54 AM
Quote from: Swapnil on March 16, 2016, 01:22:58 PM
Your input pin is set to -1. Set it to 0. You may also need to change the scaling. For my MB1240, I set it to 2.04.

I tried them it doesn't work at all...  there is no reading at all