Full schematic and construction details are shown on this page, as well as the firmware download for those who want to create their own effects or build their own version from the schematic. If you're not into programming the kit includes a PIC microcontroller pre-programmed with the firmware and a number of mood lighting effects.
Circuit Description
The circuit itself is fairly straightforward. Diode D1 provides reverse polarity protection for the board in case the power supply is connected backwards. C1/C2 and IC2 take the incoming 12 volt supply and provide a regulated 5 volt supply required by the PIC microcontroller.
The red, green and blue LEDs are arranged in three parallel strings of three LEDs. Resistors R1, 2 and 3 limit the current through the LEDs to a safe value when using a 12 volt power supply. The low side of each LED string connects to a BC547 NPN transistor which is used to switch the LEDs on and off. These transistors are in turn controlled by the PIC microcontroller which drives each of the red, green and blue channel transistors with a PWM signal to control the average brightness of the LEDs. Switch S1 is used to select different effect sequences. The firmware program running on the PIC microcontroller is the smart part of the circuit and determines what colours are generated and how they fade from one colour to the next.
The three colours of LEDs are positioned on the PCB in an irregular arrangement to improve the colour mixing effect when placed behind / inside a diffuser such as a frosted glass globe.
The controller uses (RGB) Red, Green and Blue high brightness LEDs that are pulse width modulated (PWM) to vary the intensity of each colour LED. This allows effectively any colour to be generated with rapid changing strobe effects, fast and slow colour fades as well as static colours. The data used to set and change the colours is held in an easy to edit file so if you don't like the sequences provided with it, you can modify the sequence data include file yourself and reprogram with your own sequences.(you will need a PIC programmer and some practical knowledge of microcontrollers and programming if you want to do this.)
download source code
download hex file