Temperature based color control
CPU load based color control
Screen based color control
This project is featured on pcbheaven.com
» This project is a full color LED-controller that can be configured via a USB connection. The color of the connected LEDs (common anode only) depends on the selected operating mode:
In the color change modes the color of the LED changes automatically through all possible colors of the rainbow within a certain time.
» This is the screenshot of the application.
Building the circuit
» This is the circuit diagram for the LED controller. The following parts are needed to build it:
» First of all the PCB needs to be made. The above picture shows the layout of the PCB. The Eagle files are contained in the project's download.
» The finished PCB.
» Next the parts required for providing the 5V for the microcontroller are soldered on the PCB. Once this is done 12V can be supplied and it is checked if 5V are available to the microcontroller (pin8=GND, pin20=+5V). Afterwards the remaining parts can be soldered.
» This picture shows where which parts need to be placed.
» The above picture shows how the LED-Stripe (common anode) needs to be connected, as well as the wiring for the DS18S20.
Programming the PIC
» Last but not least the PIC needs to be programmed accordingly. This is done in three steps:
Now you can interrupt the power supply of the circuit to let the PIC restart (this time without pressing the mode-button) to let the PIC enter application mode. Now the connected LED(s) should light up. If Windows asks for a driver again please use the one supplied by my project's download (in the folder /ConfigurationUI/WinXP_USBDriver). Please press the mode button now once to let the PIC initialize (this only needs to be done once).
If you start the Windows application (/ConfigurationUI/RGBConfigurator/bin/Debug/RGBConfigurator.exe) now you should be able to configure the PIC according to your needs as shown in the first picture above.