PIC based Serial Controlled RGB LED PWM Driver

 

If you want to play around with some LEDs, why not hook them up to some brains (a PIC chip) and have some fun. Pete provides all the details you will need to create your own Serial Controlled RGB LED PWM Driver. The provided firmware will run on the following PIC chips: 12F629, 12F675 and 12F683.

“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 together a simple Red/Green/Blue Pulse Width Modulation LED driver that has a serial interface. The RGB values to control the LED brightness are sent to the PWM driver over this serial interface.

With both the original and revised versions of the RGB PWM driver there was one big shortcoming when you want to have several drivers working together. Even when they’re running the same sequence, the small differences in the frequency of the internal RC oscillator cause some to run the sequence slightly faster, others slower. The result, well sometimes it’s quite effective, but mostly it just looks awful.

With the controller / driver presented here it is possible to connect multiple drivers to the same serial cable, all attached units then appear to operate synchronously since they’re all receiving the same control data. The PCB for the RGB PWM Driver has been designed so that it can be used with both the serial control firmware on this page, or the standalone firmware here

The serial data can be sent from the serial COM port of a PC or using a small dedicated controller that I’ve put together. The Controller code is based on the standalone RGB driver code described elsewhere on this website. The controller uses the same format for the sequence data as the standalone RGB driver so any SequenceData.inc files you have for the standalone driver can be used with the Serial RGB Controller.”

21 Comments






  1. Hey,view this video on your web,I am interesting in your project,can u provide some details to me?
    E-mail:572info@gmail.com
    thanks


  2. Hi Simon,

    Your best bet is to click on the link in the article, there more information available on the authors site.


  3. Alan,Thank u for your reply

    Right now,I have 3 led,PIC 12F629…,i try many times,but i failled!
    i need some help with the coding,can u give me some source codes(assembler or C)?


  4. Try to copy and paste it into your address bar.
    If that doesn’t work click on the link in the article for the project and click on “download code”


  5. sorry,can’t find the web host.
    maybe,i am forbidden to access this source in our country
    can u download the code and mail to me?
    E-mail:572info@gmail.com




  6. PIC based Serial Controlled RGB LED PWM Driver


  7. PIC based Serial Controlled RGB LED PWM Driver schematic , please?


  8. Hi Ivan,

    It looks like the original site has gone away so unfortunately I can’t help you with the schematic. If you stumble on the new location of the site please post it here for the rest of us.


  9. hi i have a local factory making my own candles so i need an electronic device with leds on it so i will be able to make my own change colour candles. attention i need only the electronic curcuit. thank you


  10. good day
    ı need PIC based Serial Controlled RGB LED PWM Driver hex file send me please.
    thank you.

Comments are closed.