|
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. 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.”
|
November 27th, 2006
DIY HACK - PIC based Serial Controlled RGB LED PWM Driver
View This Video on You Tube
Cool little LED control using PWM of PIC.
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 …
November 28th, 2006
[…] « MAKE open source MP3 player (daisy) - getting started guide PIC based Serial Controlled RGB LED PWM Driver [via:PIC based Serial Controlled RGB LED PWM Driver] Pete has made a RGB LED PWM Driver, thedriver will run on the following PIC chips. 12F629, 12F675 AND 12F783. More information after the jump. […]
December 6th, 2006
[…] 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. “ [via] - Link. […]
December 22nd, 2006
[…] Okay, we have seen some really cool Light Orbs while trying to make this Music Syncing Light Orb Alarm Clock. We started with Tod’s creation and soon realize that 1 LED will not be bright enough in slightest light conditions though his Light Orb is tight let us say. So we checked out RGB lights at Hackedgadgets.com. Which is cool and uses 4 Red, 3 Green, and 3 Blue LEDs. Well during our google search for Light Orb HOWTOs, we came to the Ambient Devices schematic and their technical notes. Well it says that with the right voltage, you don’t need to use resistors. […]
April 4th, 2007
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
April 4th, 2007
Hi Simon,
Your best bet is to click on the link in the article, there more information available on the authors site.
April 5th, 2007
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)?
April 5th, 2007
Hi Simon,
The source code can be found here.
http://www.petesworld.demon.co.uk/homebrew/PIC/simplergb/index.htm#Code,_Constuction_&_PCB
April 5th, 2007
i am sorry Alan,i can’t open the site,
(http://www.petesworld.demon.co.uk/homebrew/PIC/simplergb/index.htm#Code,_Constuction_&_PCB)
i don’t know why.
April 5th, 2007
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”
April 5th, 2007
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
April 5th, 2007
Thank you for your help!
You can see the schematic of my project(http://www.hlwjx.com/sch.jpg)
maybe,i need your help later in programing
thank u again!
April 24th, 2007
Simon, if you need more help with programing your LED controller. You may get some idea from these people. Check it out here www.lunaraccents.com/technology-programmable-LED-controller.html
I have talked with a couple people there. They are cool but my project is too small and I don’t have enough budget to do business with them.
September 7th, 2007
[…] Hacked Gadgets - DIY Tech Blog » Blog Archive » PIC based Serial Controlled RGB LED PWM Driver Posted by roedward Filed in Uncategorized […]