i have apm 2.6 with quadcopter configuration .. it flies perfectly. but i wanted to add sonar to it for better altitude hold capabilities.. i have made the connections all right and also enables the range finder parameters correctly .. but no luck.. still shows 4.8 v
i thought sensor is bad so i gave the separate 0 v and 5 v respectively to the A0 pin of apm and the range was shown correctly .. thus i checked the sensor with arduino uno and the sensor is also working fine ...
so now i dont know what is the problem please help me out guys
Replies
very cool and thanks for the update as it may well help the next person who runs into that issue.
Hi there ... i figured it out .. the problem was with the A0 pin of apm.. i changed the settings to make use of A1pin and its working now..
Craig said:
Make sure sonar is still supported on APM:Copter for APM boards. I seem to remember it is disabled by default in source code after 3.x. Also if you're using the horrible SR-04 then you're better off without it as they blow chunks.