Home › Magazines › 2005 › July › PIC PWM Controller

PIC PWM Controller

-

Published in issue 345, July 2005

PIC PWM Controller
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.

 

Downloads 

PDF Article (050056-UK.pdf)
10 Elektor Credits
PCB layout (050056-PCB.pdf)
10 Elektor Credits
 

Order from Elektor 

PCB, bare
050056-1
 

Order from Eurocircuits 

PCB, bare

 

Free downloads 

050056-11.zip

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

Sponsored

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Controller Area Network Projects

The aim of this book is to teach you the basic principles of CAN networks and in addition the development of microcontroller based projects using the CAN bus.

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.