Jun 30, 17 Thomas Jensen 9 Images 1 Video Code Schematic 35 9
The mood light controller can control all kinds of RGB light, max 500mA pr. channel. The module has no voltage regulator and therefore needs 5V=, and enough current to drive the circuit and the connected LEDs. It very slowly cycles through different colors, fading one LED up or down leaving the previous LED turned on. The module can power Prolight LEDs, like Mood light using 3W Prolight RGB LED.
Table of content
The controller very slowly cycles through colors, fading one LED at the time. It happens so slowly that it’s hard to notice the change at all.
- Fade in blue color in about 12 seconds (only on first start up).
- Increase red.
- Decrease blue.
- Increase green.
- Decrease red.
- Increase blue.
- Decrease green.
- Go to step #2.
The fade time for each color is random and varies between 1 and 3 minutes, and changes between each fade.
A bit of history
Prior to firmware version 1.2 the mood light controller had different light patterns that was controlled with the four DIP switches:
- Pause between color change (long/short)
- Fade speed when changing color (long/short)
- Color change fade (on/off)
- Color mode (one color/multi color) 1
1 One color means that one color is stable at the time, this gives three colors. Multi color has two stable color at the time, and this gives six colors (red, yellow, green, cyan, blue and purple).
After using the light for a few years, I hadn’t changed the light pattern once… And I would like for it to be more subtle. I made a new pattern, and didn’t bother spending time to write code for the DIP switches I wasn’t using anyways.
- PC.2 DIP-Switch 1 (Not used from v1.2)
- PC.3 DIP-Switch 2 (Not used from v1.2)
- PC.4 DIP-Switch 3 (Not used from v1.2)
- PC.5 DIP-Switch 4 (Not used from v1.2)
- PB.1 (OC1A) Red LED (PWM)
- PB.2 (OC1B) Green LED (PWM)
- PB.3 (OC2) Blue LED (PWM)
Connector for LEDs
To make it easy to attach and detach lights, the module has a connector for the RGB light.
Turn any RGB LED into a mood light with this controller, written with BASCOM-AVR.
- Mood light (RBG) with 100 mA outputs
- Mood light using 3W Prolight RGB LED
- Fan and temperature controller with LCD
- Warning strobe light controller
- Emergency strobe light
- Created Mar 13, 2007
- Last modified 1 month ago
- Project status: Completed