H-Bridge Microchip PIC Microcontroller PWM Motor Controller

One of the advantages using the Microchip PIC microcontroller Pulse Width Modulation or PWM for short is; this PWM peripheral circuit is designed to control the DC motor using the full bridge mode PWM feature. The PWM peripheral works by supplying the correct signal to the H-Bridge DC motor circuit such as speed controlling and changing the DC motor direction. Therefore on this tutorial we will learn to use ...

Read more

Using Serial Peripheral Interface (SPI) with Microchip PIC18 Families Microcontroller

The Serial Peripheral Interface (SPI) is one of the popular embedded serial communications widely supported by many of today’s chip manufacture and it considered as one of the fastest serial data transfer interface for the embedded system. Because of its special in/out register configuration, the SPI master device could transfer its data and at the same time it receive a data from the SPI slave device with ...

Read more

RGB LED Mood Light Standalone PWM controller for RGB LEDs using PIC12F629

This project is an update to the original RGB LED PWM Driver.  The new version allows the use of either 5mm LEDs or the square bodied Superflux / Piranah style LEDs.  The circuit now uses bipolar transistors rather than MOSFETs which make it more suitable for novice constructors and for the first time this project is available as a kit with all parts required to assemble the PCB including the superflux LEDs ...

Read more

Generating PWM using PIC Microcontroller with MPLAB and XC8

This is our 10th tutorial of Learning PIC microcontrollers using MPLAB and XC8. Till now, we have covered many basic tutorials like  LED blinking with PIC, Timers in PIC, interfacing LCD, interfacing 7-segment, ADC using PIC etc. If you are an absolute beginner, then please visit the complete list of PIC tutorials here and start learning. [caption id="attachment_12853" align="aligncenter" width="600"] Gener ...

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

RGB LED PWM Driver for High Power 350mA LEDs V3 using PIC12F629

Description As featured in Electronics Weekly Gadget Freak (20/02/2008) The main reason I made this version is that I wanted to fit it in to the base of an Ikea Mylonit lamp. This lamp is made entirely from glass and has a small recess in the base with an entry for the power lead.  Since it had nowhere to fit a separate power connector but did have a slot for a power lead to pass in to the base, I needed to ...

Read more

Throbbing Apple Logo Sticker using PIC10F206 microcontroller

Throbbing Apple Logo Sticker This little gizmo adds the iconic "sleeping Mac throb" to an ordinary Apple logo decal. The idea for this came about when passing by the Apple Store in Palo Alto, California late one night. After hours, when the store is "asleep," the lighted logos out front pulsate just like the power indicator on a sleeping Mac, and I just about fell over laughing. Unrelated, the following day ...

Read more

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

In-Circuit debugger, created by E.E. Atanasios Melimopoulos using PIC16F628 microcontroller

This project was sent by Electrical Engineer Atanasios Melimopoulos (Copyright (c) June 15, 2007) INTRODUCTION: In-Circuit-Debuggers, as you may already know, have become the PIC's debugging standard tool for many programmers because it's easy use and handy interface to the target picplaced- board. They come with MPLAB plug-ins that provides a full rich set of commands and functions in order to debug your c ...

Read more

Power MOSFET RGB LED PWM Driver for PIC12F683

Description Since I published the original RGB LED driver (photo right) I've had many enquiries from people asking how they could make the original board work with more LEDs.  I'd already made a couple of custom boards up for myself, so I finally decided it was time to put together one for the website. The RGB LED driver described on this page uses logic level 'N' channel MOSFETs which allow it to control L ...

Read more
Scroll to top