You Are Here: Home » Projects » PWM Projects

Aurora 9×18 RGB LED art using PIC24F08KA101 microcontroller

Aurora 9x18 RGB LED art *** Check out my blog for updated version of this project and more! *** My obsession of LEDs has led me to this. Aurora 9x18 is a thing of beauty (if I can say so myself) - has 162 RGB-LEDs in a circular configuration. The color of each circle is controlled by a microcontroller using a twisted form of PWM. The microcontroller (PIC24F08KA101) only has one PWM module, yet Aurora is cap ...

Read more

Laser show for poor man using PIC18F1220 microcontroller

Laser show for poor man Here's another useless but cool looking "must build" gadget for every romantic geek. Let me introduce PIC microcontroller based three axis laser spirograph. Step 1 Gathering stuff Design is quite simple and employs regular parts and components but you are free to change/modify it in way you like. At first prototype I used blank DVD as reflective material but later I discovered more p ...

Read more

Generating PWM with PIC Microcontroller using CCP Module

PWM is a technique used to generate analog output signal using digital signals. It is commonly used to control average power delivered to a load, motor speed control, generating analog voltage levels and for generating analog waveforms. CCP Modules are available with a number of PIC Microcontrollers. CCP stands for Capture/Compare/PWM. Using PWM module is far more easier and cost effective than using extra ...

Read more

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

LED Heart PWM Fading using PIC18F252

With my Grandma's birthday fast approaching I wanted to put something together that was not too complicated but still sweet enough to make for a cool widget gift. Since fading LEDs never seem to go out of style and grandmas always love to see a heart, putting two and two together here was a no-brainer. The concept for this small birthday present was to create a small heart shape with red LEDs and then to dr ...

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
Scroll to top