No PPM Encoder? Make your own with Arduino pro mini

A typical PPM encoder (Source:

Let’s talk about creating our own PPM encoder

  1. You need an Arduino Pro Mini
Arduino pro mini
A USB-to-TTL adapter for programming (Source:
  1. First is to use the hex version of the code provided by Ardupilot on their website. They have two different versions, one for Copter and other for Plane. You need Hex uploader for it (for eg: Xloader).
  2. The second option is to use the Arduino IDE and upload the code for it. There are several implementations over the Github and other websites. The one, I used is pretty basic but got the job done:
* Used Arduino IDE to program this firmware onto the Arduino chip.
* Connect upto 8 RC PWM input signals so that the wires go to:
red = 5v
black = GND or 0V pin on arduino
white = PWM signal pins, these connect to D0,D1,D2,D3,D4,D5,D6,D7

* Connect the PPM output so that the wires go to:
red = 5v
black = GND or 0V
PPM out = D10

A lazy programmer.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Piyush Agrawal

Piyush Agrawal

A lazy programmer.

More from Medium

Art Detectives Paid Summer Internship at the Guggenheim Museum — Due 5/1

Follow These Tips to Prep Your Skin Before Applying Makeup


Major Differences Between Web 2.0 and Web 3.0