Decoding and encoding PPM signal using Arduino

Hi all,

I am working on collision avoidance system for my drone. I am using a 8 channel R2008SB Futaba radio receiver and a Pixhawk as the flight controller for the drone. I am thinking of implementing an Arduino that modifies some radio receiver channels signals such as the roll and pitch to avoid collision when the drone sees an obstacle with infrared red sensors.

I am looking for Arduino code that decodes the PPM signal from the PPM encoder, and encodes PPM signal to the RC signal terminal of the Pixhawk. I hope someone is able to help me, please? Thanks.

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

Join diydrones

Email me when people reply –

Activity