latest update: I have completed the basic model the six channel PWM driver using the Arduino Uno, Rev 3. adafruit lcd button shield, DS1307 RTC, and a DHT11-optional. I am awaiting the case and some parts to package it together. i use mine on a sheet of plexiglass along with the LDD-6 Driver Board from Coralux, and the MW 48v power supply. I run cables using security cable; two wire; from the LDD driver board to the LED light dimmer circuit on the driver and the Relay switch, using a y tap for the five volt signal. I directly control the dimming and on/off capability of both CoB's and LED's. My settings are remembered even after power off. The clock resets itself to the current time it went offline and continues from there. if you spent hours offline, you will have to reset the time to the current time, but the cycles will continue as if there was no power outage.
I also have developed a twelve channel PWM driver using the exact same components. I have written two sketches for eth Arduino Uno rev 3. One is called the GrowGreen.ino and the other is called GrowGreen12Channel.ino. Both are available at this location on Github ->
https://github.com/AvidLerner/GrowGreen If you buy the components as follows you can build either the six or twelve PWM channel unit as desired.:
1. Arduino Uno Rev 3 ->
https://www.adafruit.com/products/50
2. Adafruit lcd shield using only pins 5v, GND, SDA, SCL ->
https://www.adafruit.com/products/716
3. DS1307 RTC ->
https://www.adafruit.com/products/264
4. a 12v power supply ->
https://www.adafruit.com/products/798
5. LDD6up Driver ->
http://coralux.net/?wpsc-product=ldd-6-driver-board
6. Mean Well LDD drivers 700mA & 1000mA. The 1000mA run the Royal blues and the 700mA run the various reds. One LDD driver for each 12 red or bluer leds, 15 max.
7. Mean Well SE-350-48v power supply ->
http://www.meanwell.com/webapp/product/search.aspx?prod=se-350
8a. relay options a. -> adafruit built one for each fixture ->
https://www.adafruit.com/products/2935
8b. relay option b sparkfun relay unit which can be connected with the driver at the fixture and connected to the GrowGreen Controller with extension cables->
https://www.sparkfun.com/products/13815
9. PWM connectors from Arduino Uno to the case for connecting the six or twelve channels.
I will provide a video in the next week or so, showing the system and it's operation. until then have fun building your own unit. I will provide DIY kits with the code loaded, unit assembled, and tested.
As soon as I get the case in, I will provide a video for you folks. My setup is running two 200w LED lights, a Royal blue channel , Deep Red. IR channels and a Far Red channel at various times and lumen levels. 24/7 and I already went through a power outage and recovered. i just had to reset my clock after being offline for hours. peace
Vegas