PWM Projects

PIC16F877 PWM

PIC16F877 PWM (2 channel) code and Proteus simulation

This post answers the question, “How to make a pulse width modulator using PIC16F877” ? Also, using PIC16 simulator (Proteus) you can verify this PWM code and change it according to your needs. You can download the complete project code and Proteus simulation from the ‘Downloads‘ section at the bottom of this page. This PIC16F877 microcontroller tutorial provides …

PIC16F877 PWM (2 channel) code and Proteus simulation Read More »

DC motor speed control

DC motor speed control using PWM using PIC16F876

If you do not have EAGLE, you can download a full working version from CadSoftUSA http://www.cadsoftusa.com Here is a zip file with the EAGLE schematics and PCB layout.  http://hans-w.com/MotorSpeedEAGLE.zip New ! Source code  available C source code… requires CCS PCM compiler. PCM is available from CCS http://www.ccsinfo.com/picc.shtml //(C)Copyright 2002 Hans Wedemeyer Houston Texas U.S.A // …

DC motor speed control using PWM using PIC16F876 Read More »

Generating PWM signals on GPIO pins of PIC Microcontroller

Generating PWM signals on GPIO pins of PIC Microcontroller

PWM signal generation is a vital tool in every embedded engineers arsenal, they come in very handy for lot of applications like controlling the position of servo motor, switching few power electronic ICs in converters/invertors and even for a simple LED brightness control. In PIC microcontrollers PWM signals can be generated using the Compare, Capture and PWM (CCP) …

Generating PWM signals on GPIO pins of PIC Microcontroller Read More »