(Another) DIY LED Controller - Simple Arduino Style

liquidarts, only the 8 channel board is opto-isolated. I would recommend against the other two. Also, as stated on the website, if you want actual isolation, you need to use a 5V PSU to power the relays, otherwise the optical isolation is bypassed.

Yea...the 2n4 ones aren't :mad:....was thinking of running a 12v 1a ps to supply power to the Mega,relays and npn's.Each will get the correct voltage they need through variable resistors.
 
Martin ,

Can you please indicate what hardware is a minimum for your skeches ? Which XXXduino board will work ?
 
Once I get everything situated with my build and order more parts i'll update each version for I2c Display which is on 2-wire interface to the mainboard.
 
liquidarts, only the 8 channel board is opto-isolated. I would recommend against the other two. Also, as stated on the website, if you want actual isolation, you need to use a 5V PSU to power the relays, otherwise the optical isolation is bypassed.

I really like this. One thing I noticed on mine, I believe this is the cause, is that my arduino freezes from time to time. The LCD will hang and everything will stop working. Not big issues, since I just press reset and everything catches up on what ever they are suppose to be doing.

In the future, I will get back to this post and see if I can incorporate this on my build.
 
omg I wish to be that clever :fun4: :fun5: :fun4:

MUDA

If its too much and overwhelming, start slow and small. These are modular in nature, and you can add features in the future.

So right now, I really want the dim up and dim down of my LED lights. And that is working great. And to this same build, I added a wavemaker feature.

I believe that would be small enough project for you to work on...
 
MUDA

If its too much and overwhelming, start slow and small. These are modular in nature, and you can add features in the future.

So right now, I really want the dim up and dim down of my LED lights. And that is working great. And to this same build, I added a wavemaker feature.

I believe that would be small enough project for you to work on...


I agree.....start small and build on to the sketch.....because I like the 20x4 display size and have it I quite working on ways to incorporate the 16x2 display as well as using the Mega for all my coding since it offers more available pins to build on than the Uno.But I will start doing more for the Uno/dueo as soon as the one thats cleared customs on the 2nd come to me and I order the I2C display controller for it as it will free up pins.

But if Katchupoy's sketch will work for everyone to begin with I can include just his sketch with the moon phases added if lighting is all you want to control.

Kinda sorry Cesar for "taking over" in a way....but your sketch was the foundation of me re-learning C++ and the easiest to understand.And I hope to see your working IR sketch Tom to incorporate into what i'm working with and what I have planned....:hammer:
 
Thatnks guys. Seems im too inpatient. I really like this project and cant wait to catch with you. Ugh.
I have a nano and only one powerhead, so wawemaker isnt at my big interest but all other features are priceless. I would rather like to swich of powerhead for few hours at night to make " sleep time" for animals.

Cesar , do you thing incorporating few timer lines woulg be too complicated ?

I know almost nothing about C++ except what i learnt here, but I was thinking about something like this . I dont now how to write it , but just an idea :

if timebyminute >=600 ( if time byminute <840) pump on else pump of

This way pump(fuge, fan, LCD , whatever) is on 10am to 2pm ???


One more question . How are you gona control moonleds ? Another meanwell or something more economical ?
 
Hey guys, thanks for this thread. It's exactly what I've been looking for to control the light I am starting to build. I have ordered all the recommended goodies and look forward to starting construction.

I just have one question, so far. In my original design I had integrated 3 voltage gages on the output side of my 3 potentiometers. One to monitor my master voltage and one for the status of the outputs to my two colors of LED's. I am using 6 ELN-50-48P's. When I start using the Arduino it's going to change the PWM to dim the lights. Will this show as a change in DC voltage as well, or should I get rid of that part of my build?
Hope this makes sense,
Thanks in advance
 
int fan = 49; // Fan power relay connected to analog pin 0
int ph_1 = 32; // PowerHead 1
int ph_2 = 33; // PowerHead 2
int heater = 31; // Heater
int fuge = 30; // fuge light power relay connected to analog pin 1
int moon = 2; // moon light connected to digital pin 3
int ato_input = 3; // ATO Float Sensor
int ato = 4; // ATO Pump
int ph_probe = 1; // pH probe on Analog 1
int orp_probe = 2; // ORP probe on Analog 2
int alarm = 35; // Alarm

Fuge analog 1 and PH analog 1 ?
And what these 49, 32,33 .... are ? Are these Mega pins ? :hmm5:
 
Fuge analog 1 and PH analog 1 ?
And what these 49, 32,33 .... are ? Are these Mega pins ? :hmm5:

The only thing that matters is the # after the = symbol.......anythin that has a // before it is just a comment.And yes those are Mega pins.
 
any 20x4 lcd off ebay will do

Liquid what are you using for ph? and whatnow please share


Am using these probes, and this is the pH amplifier from terahz. The readings on the screen are just values that I int'd just for the pics.I don't have any solutions yet to actually set it up for correct readings yet.I added ATO last after my order from Marine depot came in.Right now i'm waiting on more "funds" so i can buy a nano oscilloscope so I can try and get salinity monitoring too.
 
Back
Top