"rolling" sunrise

Request new hardware or ideas for the controller
Post Reply
gs33
Posts: 6
Joined: Fri Dec 16, 2011 3:02 pm

"rolling" sunrise

Post by gs33 »

hi
i have my ReefAngel sitting in it's box for almost 2 years since i bought it , i'm going to restart slowly now .
One question:
I have a solar tube lighting my tank , so light supplement need is different for different seasons .Can i set up LEDs to a sunrise-sunset cycle , starting at different times for different seasons in year ?
For example , i would set up "sunrise" at noon for October-March , at 16.00 for April-Sept .

Sorry if this has been answered , couldn't find it in the forum
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: "rolling" sunrise

Post by lnevo »

There is a class you can use to have your rise/set time based on GPS coordinates that you set. This would simulate what you are looking for. The links are in the 2nd post I believe of my INO thread in my signature below.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: "rolling" sunrise

Post by rimai »

If it is always the same noon for October-March , at 16.00 for April-Sept, you can easily use a simpler approach too.
Something like this:

Code: Select all

if (month()>=4 && month()<=9)
ReefAngel.StandardLights(Port3,16,0, 23,0);
else
ReefAngel.StandardLights(Port3,12,0, 23,0);
Roberto.
Post Reply