weber_alejandro
May 05, 2008, 10:34 PM
Hi guys, this is my almost final version of a 7 Ch PIC16F876 PPM encoder. Is working and have this features:
7 channels
5 analog proportionals (5th from extra pot)
2 on/off (1ms to 2ms digital jump)
2 switchs to activate/deactivate Dual Rate on channels 1 and 2 (alerons and elevator)
The control sticks are calibrated from menu
Has 5 memory registers to setup this:
% de Dual Rate for each channel
Channel inversion
Channel trim
Chanel end points, both max and min
PPM signal normal or inverted
http://www.e-radiocontrol.com.ar/images/rcenconderlcddemo.gif
The circuit is very simple, the supply is 5v from a 7805 voltage regulator. The signal from control sticks is amplified in LM324 to improve the level to the A/D conversor of 10 Bits. The 5th channel is not amplified becouse the signal change from 0v to 5v in 300º (normal pot)
http://www.e-radiocontrol.com.ar/images/rcencoder_foto1.jpg
The stick pot only moves 60º of 300º, and the voltage across only change from 0 to 1v, that is the reason of amplification with LM324.
The other periphericals are switchs of digital channels, dual rates, setup buttons, a 16x2 display and a "piezo buzzer".
http://www.e-radiocontrol.com.ar/images/rcencoder_sch_big.jpg
http://www.e-radiocontrol.com.ar/images/rcencoder_brd_big.jpg
http://www.e-radiocontrol.com.ar/images/rcencoder_com_big.jpg
Display circuit:
http://www.e-radiocontrol.com.ar/images/display16x2circuito.jpg
Some setup screens:
Configuring max and min reading from AD to later calculations
http://www.e-radiocontrol.com.ar/images/rcencoder_display_p1198219.jpg
Channel inversion
http://www.e-radiocontrol.com.ar/images/rcencoder_display_p1198226.jpg
PPM direction
http://www.e-radiocontrol.com.ar/images/rcencoder_display_p1198227.jpg
BOM
Capacitors
C1 220n
C2 0.1uF
C3 0.1uF
C4 0.1
C5 220n
C6 220n
C7 18pF
C8 18pF
C9 220n
Semiconductors
D1 1N4148
IC1 LM324
IC2 7805 (1A)
IC3 PIC16F876
T1 BC547 o BC548 or similar NPN (CBE)
Miscelanious
LED1 Green
Q1(cristal) 20MHz
SG1 Piezo Buzzer
Resistors (5%)
R1 1K
R3 1K
R5 47K
R7 1K
R9 1K
R11 47K
R12 1K
R14 10K
R15 1K
R16 10K
R17 560
R18 10K
R19 10K
R21 1K
R22 10K
R23 10K
R24 10K
R25 10K
R26 10K
R27 1K
R29 47K
R31 1K
R32 1K
R34 1K
R37 47K
R39 10K
Trimpots (mini)
R6 1K
R13 1K
R30 1K
R38 1K
Channel Pots
R2 1K (1k trims)
R4 5K
R8 1K
R10 5K
R20 1K
R28 5K
R33 1K
R35 10K chasis channel(CH5)
R36 5K
Switchs
S1 Reset Microswitch
S2 Pulsa1 Button
S3 CH7
S4 CH6
S5 DualRate4
S6 DualRate3
S7 DualRate2
S8 DualRate1
S9 Pulsa2 Button
Some pics of the planes I fly with ths encoder:
.46 trainer
http://www.e-radiocontrol.com.ar/images/entrenador_recargando.jpg
Nemo, electric
http://www.e-radiocontrol.com.ar/images/adama_preflight1.jpg
Me =) and the encoder (old version without display):
http://www.e-radiocontrol.com.ar/images/ale_radiocontrol.jpg
My home site
http://www.e-radiocontrol.com.ar/
7 channels
5 analog proportionals (5th from extra pot)
2 on/off (1ms to 2ms digital jump)
2 switchs to activate/deactivate Dual Rate on channels 1 and 2 (alerons and elevator)
The control sticks are calibrated from menu
Has 5 memory registers to setup this:
% de Dual Rate for each channel
Channel inversion
Channel trim
Chanel end points, both max and min
PPM signal normal or inverted
http://www.e-radiocontrol.com.ar/images/rcenconderlcddemo.gif
The circuit is very simple, the supply is 5v from a 7805 voltage regulator. The signal from control sticks is amplified in LM324 to improve the level to the A/D conversor of 10 Bits. The 5th channel is not amplified becouse the signal change from 0v to 5v in 300º (normal pot)
http://www.e-radiocontrol.com.ar/images/rcencoder_foto1.jpg
The stick pot only moves 60º of 300º, and the voltage across only change from 0 to 1v, that is the reason of amplification with LM324.
The other periphericals are switchs of digital channels, dual rates, setup buttons, a 16x2 display and a "piezo buzzer".
http://www.e-radiocontrol.com.ar/images/rcencoder_sch_big.jpg
http://www.e-radiocontrol.com.ar/images/rcencoder_brd_big.jpg
http://www.e-radiocontrol.com.ar/images/rcencoder_com_big.jpg
Display circuit:
http://www.e-radiocontrol.com.ar/images/display16x2circuito.jpg
Some setup screens:
Configuring max and min reading from AD to later calculations
http://www.e-radiocontrol.com.ar/images/rcencoder_display_p1198219.jpg
Channel inversion
http://www.e-radiocontrol.com.ar/images/rcencoder_display_p1198226.jpg
PPM direction
http://www.e-radiocontrol.com.ar/images/rcencoder_display_p1198227.jpg
BOM
Capacitors
C1 220n
C2 0.1uF
C3 0.1uF
C4 0.1
C5 220n
C6 220n
C7 18pF
C8 18pF
C9 220n
Semiconductors
D1 1N4148
IC1 LM324
IC2 7805 (1A)
IC3 PIC16F876
T1 BC547 o BC548 or similar NPN (CBE)
Miscelanious
LED1 Green
Q1(cristal) 20MHz
SG1 Piezo Buzzer
Resistors (5%)
R1 1K
R3 1K
R5 47K
R7 1K
R9 1K
R11 47K
R12 1K
R14 10K
R15 1K
R16 10K
R17 560
R18 10K
R19 10K
R21 1K
R22 10K
R23 10K
R24 10K
R25 10K
R26 10K
R27 1K
R29 47K
R31 1K
R32 1K
R34 1K
R37 47K
R39 10K
Trimpots (mini)
R6 1K
R13 1K
R30 1K
R38 1K
Channel Pots
R2 1K (1k trims)
R4 5K
R8 1K
R10 5K
R20 1K
R28 5K
R33 1K
R35 10K chasis channel(CH5)
R36 5K
Switchs
S1 Reset Microswitch
S2 Pulsa1 Button
S3 CH7
S4 CH6
S5 DualRate4
S6 DualRate3
S7 DualRate2
S8 DualRate1
S9 Pulsa2 Button
Some pics of the planes I fly with ths encoder:
.46 trainer
http://www.e-radiocontrol.com.ar/images/entrenador_recargando.jpg
Nemo, electric
http://www.e-radiocontrol.com.ar/images/adama_preflight1.jpg
Me =) and the encoder (old version without display):
http://www.e-radiocontrol.com.ar/images/ale_radiocontrol.jpg
My home site
http://www.e-radiocontrol.com.ar/