PIC PWM Controller
-
Published in issue 345, July 2005
An efficient and economical method to control the power into a load (for example the speed of a motor or the temperature of a heating element) is to use PWM (Pulse Width Modulation). But things are a little bit more involved of we want an accurate adjustment from 0 to 100 % and an indication of the power. A little 8-pin microcontroller can do these tasks easily: generating a PWM signal and indicating the power via a 4017.
Resistors:
R1 = 100k
R2,R3 = 4k7
R4 = 220
Capacitors:
C1 = 2200µF 25V
C2 = 10µF 25V
C3-C6 = 100nF
Semiconductors:
D1 = 1N5408
D2 = 1N4148
D3-D7 = LED, 3mm, green
D8-D12 = LED, 3mm, red
T1 = IRFZ34N
T2 = BS170
IC1 = 78L05
IC2 = PIC 12C508-I/P
IC3 = CD 4017
Miscellaneous:
K1,K2 = 2-way PCB terminal block, lead pitch 5mm
S1,S2 = pushbutton, 1 make contact, DTS6
F1 = 2 AT (time lag) fuse with PCB mount holder
Heatsink type SK104 (Fischer)
PCB, ref. 050056-1
PIC source and hex code, ref. 050056-11
|
Click below to download a PDF copy of this article from Elektor magazine.
Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.
|