Servers by jDrones

Arduino & pixhawk


(Ishwar Jha) #1

Hey guys I’m trying to build a drone that works on audio hence I’m using an audio sensor and giving the output of it to pixhawk via Arduino I’m not sure how to program the pixhawk and arduino to work together.
Motive: on or off the pixhawk via audio
Also to fly up and down the drone via audio
Please help me I’m stuck
Whether to use mavlink or mission planner or any other software


(Hunt0r) #2

What you are trying to do will be difficult, and you’ll need to understand a good deal of how ArduPilot works to be successful.

To connect the Arduino to the PixHawk, I think that I would use i2c. But you’ll need to essentially implement a new sensor inside the ArduPilot firmware and also choose an appropriate mode (or make one) to accomplish the desired behavior.