Quantcast
Channel: ArduCopter - ArduPilot Discourse
Viewing all articles
Browse latest Browse all 21347

How do I get Maxbotix sonar to work with serial?

$
0
0

@tecnic08 wrote:

Hi, I am new to this forum, please advise me.

I am working on an octa-copter for some agricultural purpose and I need a sonar for a ground proximity sensor. I need to keep the cost down, so I choose sonar instead of laser rf.

I got a MaxBotix MB7060. I made a cable and hook it according to the data sheet so that the sonar will output the reading through a serial protocol. I plug the serial out from the sonar and into my PX4 Pixhawk V2.4.5 at serial 4. I upload the Copter 3.5 rc1. Then, I use mission planner to set the parameter for serial 4 to be LIDAR and Baud rate to 9600 (according to sonar spec), and rangefinder type to MaxBotix Serial. and... nothing happened.

I checked the reading in Range Finder page and it seems that it doesn't have any reading.
I checked the reading from the pixhawk in the status page and I can't seem to find sonarrange or sonarvoltage or something relevant.

Am I missing something? Please help

I tried updating to Copter 3.5 latest (rc7?) from github master.
The sonar works in analog, but a lot of noise and I want the filter (which is in serial)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 21347

Trending Articles