Using Pic Microcontroller

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 »

PIC16F84A PWM

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 …

PIC16F84A PWM code and Proteus simulation Read More »

PWM Code

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 …

PIC12F675 PWM Code and Proteus Simulation Read More »

sine wave

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 designs, reduction in …

PIC based UPS Schematic / Firmware / PCB Layout Read More »

Generating PWM

Generating PWM with PIC Microcontroller – MPLAB XC8

Pulse Width Modulation (PWM) is the one of the simple and most commonly used technique to produce analog voltages from digital signals. It has a wide variety of applications such as Digital to Analog Converter (DAC), DC Motor Speed Control, Sine Wave Inverters, Brightness control etc. PWM signals are ON – OFF signals (HIGH or LOW) …

Generating PWM with PIC Microcontroller – MPLAB XC8 Read More »

Simple Generating Pulse Width Modulation

[Simple] Generating Pulse Width Modulation using PIC Microcontroller – Mikro C & Proteus Simulation

How to generate Pulse Width Modulation (PWM) using PIC microcontroller? This is going to be a continuation of our microcontroller online tutorial series. This article covers the detailed explanation and simulation of PWM generation using PIC16F877A microcontroller.What is a Pulse Width Modulator? A PWM has series of pulses with variable pulse width. We have used Mikro C pro for pic microcontroller programming because it has inbuilt library functions to …

[Simple] Generating Pulse Width Modulation using PIC Microcontroller – Mikro C & Proteus Simulation Read More »

Serial Controlled RGB LED PWM Driver (1)

Serial Controlled RGB LED PWM Driver PIC12F629 based PWM controller for RGB LEDs

Description If you want to build your own multiple RGB LED display that you can control from either a PC or a dedicated controller then this project will let you do just that. The project on this page came about when while I was developing a more complex intelligent driver. During that work I put …

Serial Controlled RGB LED PWM Driver PIC12F629 based PWM controller for RGB LEDs Read More »