Difference between revisions of "ATmega168 PPM Encoder Board"

From PaparazziUAV
Jump to: navigation, search
 
Line 1: Line 1:
 
<p>Thanks to Chris we have a way to use virtually any RC receiver with Paparazzi without any modifications to the receiver.</p>
 
<p>Thanks to Chris we have a way to use virtually any RC receiver with Paparazzi without any modifications to the receiver.</p>
<p>This board plugs into the servo output ports on a R/C receiver and encodes them into a PPM pulse suitable for the paparazzi autopilot.</p>
+
<p>This board plugs into the servo output ports on a R/C receiver and encodes them into a single PPM pulse suitable for the paparazzi autopilot. It is also possible to remap channels by changing the connection between the receiver and the encoder. Want Tx ch5 to be output on ch7 of the ppm stream? Just connect the Ch5 signal from the receiver to the Ch7 input on the encoder.</p>
<p>Channels output by the Rx are fed into the encoder which then outputs a PPM signal to the autopilot PPM input.</p>
+
[[Image:Ppmencv3_sm.jpg|250px]]
<p>If you decide to use the tiny board to power the receiver, make sure you put-in a jumper and plug something between the 8th channel and the receiver.</p>
 
[[Image:Ppmencoders.jpg|250px]]
 
 
= Programming the PPM encoder =
 
= Programming the PPM encoder =
 
<p>Programming the board can easily be accomplished using an AVR ISP (in-serial programming) programmer.  These are inexpensive and can be found many places online.  Once you have the ISP connected to the PPM encoder, simply use avrdude with the following command:</p>
 
<p>Programming the board can easily be accomplished using an AVR ISP (in-serial programming) programmer.  These are inexpensive and can be found many places online.  Once you have the ISP connected to the PPM encoder, simply use avrdude with the following command:</p>

Revision as of 21:54, 17 August 2010

Thanks to Chris we have a way to use virtually any RC receiver with Paparazzi without any modifications to the receiver.

This board plugs into the servo output ports on a R/C receiver and encodes them into a single PPM pulse suitable for the paparazzi autopilot. It is also possible to remap channels by changing the connection between the receiver and the encoder. Want Tx ch5 to be output on ch7 of the ppm stream? Just connect the Ch5 signal from the receiver to the Ch7 input on the encoder.

Ppmencv3 sm.jpg

Programming the PPM encoder

Programming the board can easily be accomplished using an AVR ISP (in-serial programming) programmer. These are inexpensive and can be found many places online. Once you have the ISP connected to the PPM encoder, simply use avrdude with the following command:

avrdude -p atmega168 -P <Insert port here> -c <Insert ISP type here> -U lfuse:w:0b00100010:m -U efuse:w:0b111:m -U flash:w:servo2ppm+bootloader.hex


Source files

Gerber & Drill files