Here is my first prototype LED Driver and controller that I made almost a year ago. It features the STCS1 LED driver from ST micro and a PSOC microcontroller. The driver can drive 9 strings of six leds at 700 mA using one power supply. The Drivers are dimmable and can be turned on and off individually. I programmed two modes of operation, Auto and Manual. When the light is first turned on you enter the current time then you enter four time periods The four time periods that can be preprogrammed, “Sunriseâ€Â, “Daylightâ€Â, “Sunset†and “Lunarâ€Â.
The four periods are described below:
Sunrise Mode: All LED’s are initially set to the lowest intensity level and fans turn on. As time progresses the lights are gradually increased in intensity to simulate sunrise.
Daylight Mode: All LED’s are turned on to the highest setting or preprogrammed value and fans are turned on.
Sunset Mode: All LED’s are initially set to the highest level and fans are on. As time progresses the intensity is gradually decreased to simulate sunset.
Lunar Mode: Night actinic and night white LED’s are turned on to the lowest level or preset level and the fans turn off.
After all modes are set the setting will automatically be stored in nonvolatile memory where if power is lost and restored all setting will remain.
The light fixture also can be set to “Manual mode†this allows turning the individual LED’s (actinic blue, daylight white, daylight night and night blue) on or off and adjusting their light intensity.
Since this prototype I've made many changes I just haven’t got around to taking pictures and posting them