(Another) DIY LED Controller - Simple Arduino Style

Is anyone using the web4robot I2C LCD interface? Ever since I started using it, I have been getting garbage characters on my LCD. It happens over a period of time. The areas that are not updated start getting random junk in them. I was wondering if anyone else has seen this.

I'm not using that specific LCD but I am using an I2C LCD and was getting junk on the screen and it would even lock up everything at times. Turns out my issue was interference, I switched to a shielded cable to the LCD and it fixed everything.
 
Thanks for the reply. You are probably right. When I had the LCD hooked up with all the individual pins, it worked great. No issues. As soon as I hooked up the web4robot unit it started getting garbage. I'll try the shielded cable and see if helps.

I bought a opto relay board from that company you linked up there and it works like a champ. Built well also. Hope I don't have to trash my I2C board but the garbage characters are driving me nuts. :(
 
(Another) DIY LED Controller - Simple Arduino Style

(Another) DIY LED Controller - Simple Arduino Style

What code are you referring too?

I was asking if someone had put out the coding for the sunrise/sunset for the Arduino that is being discussed on this post. If no one has uploaded it,,does anyone have a sunrise/sunset program working with arduino that they would be willing to share?
 
i can get the lcd and rtc ds1307 working on my arduino.

But i cant figure out how i get the 5v relay to turn on and off at a specific time
I want 2 relay to turn on lights every day
1 relay to turn pump on 3 times in a week in few seconds
 
But i cant figure out how i get the 5v relay to turn on and off at a specific time


Example:

if ((hour >= 7) and ( hour <= 22)){YourrelayOff();}
else {YourrelayOn();}

Relay on from 22 to 7 hours.

NOTE. No timers work during fade in or out . It will stay in pre-fade state until fading ends. Nobody seems to be able to fix fading part to get rid of that flaw.
 
Example:

if ((hour >= 7) and ( hour <= 22)){YourrelayOff();}
else {YourrelayOn();}

Relay on from 22 to 7 hours.

NOTE. No timers work during fade in or out . It will stay in pre-fade state until fading ends. Nobody seems to be able to fix fading part to get rid of that flaw.

What flaw? I have mine working alright??? can you be specific?
 
Greetings!

Long time marine aquarist out of the hobby and recently stepped back in with a BioCube 14. I'm in the process of planning an upgrade to LED lighting and was pleasantly surprised to see this thread. I found it via reefledcontroller.com. Having some experience with Arduino and quite a bit of hardware already on hand (Unos, Duemilanoves, Megas, 128x64 graphic LCDs, various character LCDs, relay boards, mosfet boards, Ethernet shields, etc etc) I'd like to jump in and give this a shot.

I do have a couple questions.

There seems to be a few code bases referenced in this thread. I admit I haven't read every post in detail but could someone please point me in the right direction of where the "official" code is for current project? I tried downloading using the link on reefledcontroller.com but all the links are invalid so I wonder if that page has been abandoned.

It seems some folks are using I2C for LCD and unfortunately I don't have a way to use that yet. Is this the direction the project is going or is 4/8-bit LCDs going to continue to be supported? I have several MEGAs so pin count isn't a problem for me.

Also, one of the images on reefledcontroller.com shows a 20x4 LCD with a nice looking UI but I see reference to 16x2 LCDs in the thread. So I wonder what screen configuration is the standard for this project.

Thanks!
 
Last edited:
I do have a couple questions.

There seems to be a few code bases referenced in this thread. I admit I haven't read every post in detail but could someone please point me in the right direction of where the "official" code is for current project? I tried downloading using the link on reefledcontroller.com but all the links are invalid so I wonder if that page has been abandoned.

It seems some folks are using I2C for LCD and unfortunately I don't have a way to use that yet. Is this the direction the project is going or is 4/8-bit LCDs going to continue to be supported? I have several MEGAs so pin count isn't a problem for me.

Also, one of the images on reefledcontroller.com shows a 20x4 LCD with a nice looking UI but I see reference to 16x2 LCDs in the thread. So I wonder what screen configuration is the standard for this project.

Thanks!

When Katchupoy started this, he was using this original code. But a lot of people wanted more so they have adopted the original code and created their own unique ones. But Katchupoy (Moved On) has a newer code that includes temperature monitor and control. Found in his website.

Sadly, if you want to reach him, is thru his website or reeffrontiers dot com.
 
(Another) DIY LED Controller - Simple Arduino Style

When Katchupoy started this, he was using this original code. But a lot of people wanted more so they have adopted the original code and created their own unique ones. But Katchupoy (Moved On) has a newer code that includes temperature monitor and control. Found in his website.

Sadly, if you want to reach him, is thru his website or reeffrontiers dot com.

This is a nice update to the coding. Only thing is, one would have to change it over to 1.0.1 but you just compare the coding changes from 22 to 1.0/1.0.1 and make those changes and should be good to go. Getting excited about getting my stuff going.
 
This is a nice update to the coding. Only thing is, one would have to change it over to 1.0.1 but you just compare the coding changes from 22 to 1.0/1.0.1 and make those changes and should be good to go. Getting excited about getting my stuff going.

Let us know if you were able to convert it to the latest version.
There are some here who tried but failed. I just stayed with 0022. Im not good with coding thats why i dont know the difference between 0022 and the current one.
 
(Another) DIY LED Controller - Simple Arduino Style

Let us know if you were able to convert it to the latest version.
There are some here who tried but failed. I just stayed with 0022. Im not good with coding thats why i dont know the difference between 0022 and the current one.

Once I get it figured out and verified it works fine, i will upload it to google code and post it on here. It shouldn't be too hard to make the changes. Just figure out what old commands have been changed and what the new command needs to be and update it then should be good to go. But it might be a while since I killed my Uno and just ordered a Mega for 15 bucks less than I paid for my Uno.
 
cesar,

if ((hour >= 7) and ( hour <= 22)){YourrelayOff();}
else {YourrelayOn();}

In this example , if ramp starts at 6 o'clock , timer wont switch off until ramping ends at 11 oclock or so but not at 7 as i set it.
 
Muda, I know what you are saying but what is the purpose of the timer?
I mean, is this a rythmic function that goes on and off like the wave timer?
Or is this something that goes on and off once or twice depending on the schedule?

If so, what is it for? maybe a fuge light or something?

I need to ask so I can understand more???
 
Cesar

Its algae scrubber light.

But I wanted to make more timers not this alone. Due to this limitation has to refuse.
Now thinking to buy arduino nano only for lights and another one use for all the rest. Not very practical , but dont see another solution.
 
Cesar

Its algae scrubber light.

But I wanted to make more timers not this alone. Due to this limitation has to refuse.
Now thinking to buy arduino nano only for lights and another one use for all the rest. Not very practical , but dont see another solution.

Lets try it one at a time... so if i understand it correctly, since i dont have a fuge... is the fuge light opposite schedule of the main tank?

Then maybe we can insert the "if" inside the "evening sleep" part. ???
At the very last part of his new sketch?
 
Back
Top