TX_DA TA OUT
TX_DATA_GND
R9
10K
ALT_CONTROL
RX_DATA_IN
6
5
4
R8
OPTOTX
1
680
C5
.1uF
2
OPTORX R7 180
4N25
1
2
4N25
R12
10K
6
4
5
5V
R10
100
R11 1K
5V
R6
10K
55 22
66 33
44 11
ICSP CONNEC TOR
C4
.1uF
MCLR 1
U1
2 RA0
3 RA1
4 RA2
5 RA3 RB6/PGC 27
6 RA4/T0CKIRB7/PGD 28
7 RA5
10 RA6
9 RA7
21 RB0/INT0
RB3
24
25 RB4
26 RB5 RB1 22
RB2 23
11 RC0
12 RC1/CCP2
13 RC2/CCP1
14 RC3 RC6/TX 17
15 RC4 RC7/RX 18
16 RC5
VDD 20
GND 8
GND 19
PIC18F2620
470uF@16V
+ C3
3. D1 IS 5.6V 1.5 WATTS - ON SEMI 1SMA5919BT3G
4. C1 IS 470nF 275VAC TYPE X2 MET POLYESTER
5. C2 IS 1.0uF @275VAC TYPE X2 MET POLYESTER
6. ALL RESISTORS SMT 0805 1% UNLESS OTHERWISE SPECIFIED
7. ALL CAPACITORS SMT 0805 16WVDC UNLESS OTHERWISE SPECIFIED
8. J1 AND J2 PHOENIX CONTACT 1729128
2. R1 IS 100 OHMS 1 WATT MINIMUM
1. RV1 - AVX VE07P00151K
NOTES:
1N4007
D2
5.6V
D1
1M
R4
1.0uF
C2
100
R5
R1 47
R2 47
R3 47
J2
N LOAD
L
NEU TRAL (WHI TE)
470nF MT1
BTA16-600CW
MT2 TRIAC1
GATE
C1
HO T (BLACK)
RV1
10A
F1
J1
N
L
Schematic 2. This is an AC power
supply, a DC power supply, and a PIC
microcontroller melded together to turn
an AC motor shaft under our control.
The amount of hardware stuff you load
onto the PIC side of this circuit depends
on how much DC current you provide
with the transformerless capacitive
power supply. I’ve supplied a piece of
code in the download package that
uses the OPTORX optocouplers as a
simple ON/OFF switch.
42 SERVO 11.2008