Obstacle Avoidance system using Arduino and PIXHAWK

Hello!

Im working on a obstacle avoidance system for quadcopters as a university project.
For the sensor I am using a Maxbotix MB1200 sonar sensor to detect object.
I have developed a simple coding to convert the distance (analog voltage) of the object into PWM.
For flight control I am using PIXHAWK.
And my receiver is a Futaba R2008SB.

However I am having problem interfacing the Arduino Uno with the PIXHAWK.

Is there any suggestions or advise on this? Thank you!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • NVdrones has an Arduino-like board that interfaces with Pixhawk and other devices (nvdrones.com). We've integrated sonar sensors with flight using the Pixhawk and it works like a charm! I'd be happy to answer any questions you might have. 

    • Hello,

      Thank you, I will check the website and try find some information. 
      Well atm I have only been able to do a small bit of coding using Arduino Uno which converts the distance of objects in form of PWM. 

      My plan was to feed this PWM output from the Arduino into the Pixhawk or APM 2.5 flight controllers to control the speed of the motors. But i havent been able to interface them. 
      Is using I2C bus the only way ?

This reply was deleted.

Activity