Page 2 of 2

Re: PDE file

Posted: Mon Mar 12, 2012 8:41 am
by jgriffith
Port 3 will be my "high noon" lights, I run some xmls at 1.75 amps and dont want them on very long (at some point I will grab a dimmable driver for these too (up to 2.3 amps) which could make for some great lightining effects I think). I plan on running these from about 2-5

Port 4 will be moonlights and 5 will be fuge light.

Re: PDE file

Posted: Mon Mar 12, 2012 8:50 am
by rimai
On Port3, you can use the MHLights() schedule to have it turn on at a different time than the StandardLights() schedule.

Code: Select all

ReefAngel.MHLights(Port3,0);
What is the schedule of moonlights and fuge lights?

Re: PDE file

Posted: Mon Mar 12, 2012 8:54 am
by jgriffith
I plan on reverse daylight cycle for fuge lights, but I dont think that inverse code above will work because my daylight ports will be always on. I guess I could use standard lights for the fuge lights and use that time?

For moonlights, Id like to do 2 hours before and after daylights.

Re: PDE file

Posted: Mon Mar 12, 2012 9:02 am
by rimai
You can still do it.
Try this:

Code: Select all

ReefAngel.StandardLights(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.MHLights(Port3,0); // Uses MHLights schedule for high noon lights
ReefAngel.StandardLights(Port4,120); // Offset 120 minutes from Port1
ReefAngel.MoonLights(Port5); // Inverse cycle of Port1
The code above, should work for you.
Give it a try and let me know if it works.

Re: PDE file

Posted: Mon Mar 12, 2012 9:07 am
by jgriffith
great, thanks! I dont have my controller yet, I'm just trying to build my code so when it comes in it will be ready to go. It looks like you have a two week lead time listed on the site so hopefully I'll receive the controller sometime within the next week.

I really appreciate your help, both Roberto and Curt. I can't wait to start going crazy with this thing!

Re: PDE file

Posted: Mon Mar 12, 2012 11:15 am
by jgriffith
I ordered two extra temp probes with the controller (for a total of 3) is there anything I need to program to allow this?

Re: PDE file

Posted: Mon Mar 12, 2012 3:45 pm
by wolfador
jgriffith wrote:I ordered two extra temp probes with the controller (for a total of 3) is there anything I need to program to allow this?
They will work fine. You may have to shuffle them around between ports to get them shown correctly. I think the lowest serial number becomes T1 and they go from there.

You can adjust the high/low range by adding and adjusting these to your .ino:

Code: Select all

#define T1LOW   700
#define T1HIGH  900
#define T2LOW   650
#define T2HIGH  1500
#define T3LOW   650
#define T3HIGH  920

Re: PDE file & temp probes

Posted: Mon Mar 12, 2012 6:21 pm
by rossbryant1956
Binder and I did some cool work on this at http://forum.reefangel.com/viewtopic.php?f=12&t=756. Allows you to set probes to various addresses. Check it out. Thx

Re: PDE file

Posted: Fri Mar 16, 2012 7:51 am
by jgriffith
Thanks everyone for your help! I just got my controller in, hopefully I will be able to set it up this weekend!

Re: PDE file

Posted: Fri Mar 16, 2012 12:52 pm
by binder
jgriffith wrote:Thanks everyone for your help! I just got my controller in, hopefully I will be able to set it up this weekend!
Just be patient with it. :)