Search This Blog

Saturday, February 16, 2013

4CH R/C system (encoder - decoder) - Home made style



Finally, I got to get all together and test my system. It works, as expected!

DIY 4ch PPM encoder-decoder system. Encoder system displays on LCD the position (in percentage) of the lever and change symbol based on position (1ms to 1.4ms - DOWNWARDS or LEFT ARROW, 1.4ms to 1.6ms - "-", 1.6ms to 2ms - UPWARDS or RIGHT ARROW - for channels 1 to 3), shows position ("L", "C" or "H") for a 3 position switch (type (ON)-OFF-(ON)), and monitored value of the Tx battery (displays "!" under the battery recharge level).

I used a 16F677 (690) to create the PPM sequence based on the 4 measured voltages. The PPM signal is to be Tx via radio link to the decoder (12F635). The Red LED on the decoder is flashing when correct signal is decoded. It is mainly useless for the Rx system, but it is a visual indication for correct communication.

I intend to use it for a R/C boat for pleasure, and yes it cost more than a ready-to-buy system.

NB: I agree the PICs are highly underused, but I had them getting dusty for about 3 years and had to give them a life too :).

PS: for curious guys, the noisy background is Helloween's "Straight Out Of Hell", a simple coincidence, no setup.