Use an Ultrasonic Sensor with a Pixhawk or Ardupilot for collision avoidanceWe’ve written quite a bit about how to use our sensors with Arduino and Raspberry Pi. There are other microcontrollers to consider when developing your application. Other popular microcontrollers include the Pixhawk and the Ardupilot Mega (APM). The Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware to the academic, hobby and industrial communities at low costs and high availability. Ardupilot.co.uk describes the APM as an autopilot used to control fixed-wing aircraft, multi-rotor copters, and traditional helicopters. The Ardupilot is primarily used for collision avoidance. While we are aware of the large culture of UAV / Drone pilots, we have not tested these particular controllers in-house. Yet, we often get questions about how you would connect our sensors in these particular applications
- Supported Sonars - Our recommended sonars for multicopter use include the MB1240 and MB1340.
- How to build a cable that reduces sonar noise
- How to connect the sonar sensor on the APM2.x
- How to connect the sonar sensor on the PX4
- How to mount the sonar sensor
- How to enable the sonar through Mission Planner (Ground Control Station)
- How to test the sonar and tune the gain
- Review how the sensor works in cold weather
- What else is causing sonar noise?
Disclaimer: Protected use (indoor) sensors are not designed for use in outdoor environments, or environments that will see chemicals/fumes or dust and moisture. Any moisture or environmental damage from placing the sensor in an unprotected environment will void the manufacturer's warranty.This tutorial demonstrates the process of connecting to the Pixhawk, image source: http://ardupilot.org/copter/docs/common-rangefinder-maxbotix-analog.html Connecting to the APM2.x with setup through the mission planner, and testing the sensor in the application.
Multicopter with APM Video TestTest Features
- Automatic take-off.
- Automatic Landing with Sonar Sensor (Maxbotix MaxSonar - EZ1).
- Ability to Follow and Orbit.
Disclaimer: Protected use (indoor) sensors are not designed for use in outdoor environments, or environments that will see chemicals/fumes or dust and moisture. Any moisture or environmental damage from placing the sensor in an unprotected environment will void the manufacturer's warranty.This brief tutorial shows:
- How to connect your ultrasonic sensor with a Pixhawk
- How to set up your sensor through the Mission Planner
- How to test the sensor in the application.
Smart Drone Presentation - Using a MaxBotix Ultrasonic Sensor with a PixhawkReview this presentation to see how a smart drone was created using the Pixhawk and using our sensors as the foundation of the Collision Avoidance System.
ConclusionReview our tutorial on how our MaxSonar operates in a Multicopter for basic troubleshooting advice for your UAV sensor application. - MaxSonar Operation on a Multicopter Make sure to review the tutorials on ArduPilot with specific instructions on using our ultrasonic sensors with a Pixhawk and APM. Do you have any more questions about using MaxBotix Sensors in your UAV application? We offer Free Sensor Selection Help, Click the button below to get started.
Our Recommended Sensors for Multicopter Use:
Features of the MB1240, XL-MaxSonar-EZ4, include centimeter resolution, has the highest noise tolerance and narrowest beam width of any sensor in the XL‑MaxSonar‑EZ sensor line, range information from 20cm to 765cm, a 10Hz read rate, and various output options: pulse-width, analog voltage, and RS232 serial.Buy Now
Features of the MB1340, XL-MaxSonar-AE4, include centimeter resolution, has the highest noise tolerance and narrowest beam width of any sensor in the XL‑MaxSonar‑AE sensor line, short to long distance detection, range information from 20cm to 765cm, a 10Hz read rate, and various output options: analog envelope, analog voltage, and RS232 serial.Buy Now