PIC based UPS Schematic / Firmware / PCB Layout

Microchip’s Digital Pure Sine Wave Uninterruptible Power Supply (UPS) Reference Design is based on the dsPIC33F “GS” series of digital-power Digital Signal Controllers (DSCs). This reference design demonstrates how digital-power techniques when applied to UPS applications enable easy modifications through software, the use of smaller magnetics, intelligent battery charging, higher efficiency, compact design ...

Read more

PIC18F452 PWM Code and Proteus Simulation

This post provides the PWM code (using C language) and Proteus simulation for PIC18F452 micro-controller CCP1 and CCP2 modules ( written using MPLAB and HI-TECH C18 compiler ). There are many uses for PWM signals, e-g you can control dc motor speed using PWM. CCP is the name for the built in PWM module in PIC18F452. There are 2 built in PWM modules available, namely CCP1 and CCP2. You can download the compl ...

Read more

PIC12F675 PWM Code and Proteus Simulation

This post provides the PWM code for PIC12F675 microcontroller using timer0. There are many uses for PWM signal, e-g you can control dc motor speed using PWM. Timer0 is initialized in the start of the main function and using timer0 interrupts, PWM is generated. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this ...

Read more

PIC16F84A PWM code and Proteus simulation

This post provides the PWM code for PIC16F84A microcontroller using timer0. There are many uses for PWM signal, e-g you can control dc motor speed using PWM. Timer0 is initialized in the start of the main function and using timer0 interrupts, PWM is generated. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this ...

Read more

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 the 2 channel PWM code (using C language) an ...

Read more

8 Channel PWM Power MOSFET LED Chaser for PIC16F628A

Description Update: Variable chase speed option kit now available (see here for details) This neat little circuit provides 8 LEDs directly driven from the PIC along with a single mode control switch.  The firmware elsewhere on this page drives the LEDs with a 5 bit PWM signal providing each of the 8 LED channels with four levels of intensity; off, dim, mid, bright.  A number of sequences are programmed into ...

Read more

8 Channel PWM LED Chaser for PIC16F628A

Description Update: Variable chase speed option kit now available (see here for details) This neat little circuit provides 8 LEDs directly driven from the PIC along with a single mode control switch.  The firmware elsewhere on this page drives the LEDs with a 5 bit PWM signal providing each of the 8 LED channels with four levels of intensity; off, dim, mid, bright.  A number of sequences are programmed into ...

Read more

RGB LED PWM Driver Standalone PWM controller for RGB LEDs using PIC12F629

Want to build an RGB LED controller that you can program with your own custom sequences and effects? Then read on.  The RGB LED controller has proved to be very popular project and has been the most frequently downloaded code on the site since it was made available.  I've been contacted by people who have incorporated this project into all kinds of things including mood lamps, lighting for a sculpture, acce ...

Read more

PWM DC Motor Controller for PIC12F683

Description There are lots of designs on the Internet for DC power controllers using Pulse Width Modulation (PWM) to control the speed of a motor or power to a resistive load.  Most of these use analogue methods to generate the PWM signal which in turn drives a power MOSFET or transistor. When I wanted a speed controller for the PCB drill I use to make all my PIC Projects what else could I do but design a P ...

Read more

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 // for use wit ...

Read more
Scroll to top