Gyre Mode??
-
Smotz
- Posts: 401
- Joined: Sat Mar 30, 2013 5:02 pm
- Location: CT, USA
Gyre Mode??
Hi All - I searched but I cannot find what 'Gyre Mode' does.
Can anyone explain?
Can anyone explain?
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Gyre Mode??
A gyre is like when you create a whirlpool in a swimming pool. At some point the momentum builds up and it has a strength of its own. The idea is one run pump in constant for x amount then switch the gyre into another direction.
-
Smotz
- Posts: 401
- Joined: Sat Mar 30, 2013 5:02 pm
- Location: CT, USA
Re: Gyre Mode??
Nice! I love new things!lnevo wrote:A gyre is like when you create a whirlpool in a swimming pool. At some point the momentum builds up and it has a strength of its own. The idea is one run pump in constant for x amount then switch the gyre into another direction.
how would I code Gyre? What do the numbers mean Example:ReefAngel.PWM.SetDaylight( GyreMode (10,20,true));
Just curious - Do you have a mode preference? I have a 60 cube with 2 x wp-25s - what would you recommend?
- cosmith71
- Posts: 1432
- Joined: Fri Mar 29, 2013 3:51 pm
- Location: Oklahoma City
Re: Gyre Mode??
I responded to you other post with some code that includes Gyre. You need a duration, a minimum, and a maximum. With two pumps (sync and anti-sync) one is off while the other is running.
I use gyre at night and else during the day.
--Colin
I use gyre at night and else during the day.
--Colin
-
Smotz
- Posts: 401
- Joined: Sat Mar 30, 2013 5:02 pm
- Location: CT, USA
Re: Gyre Mode??
cosmith71 wrote:I responded to you other post with some code that includes Gyre. You need a duration, a minimum, and a maximum. With two pumps (sync and anti-sync) one is off while the other is running.
I use gyre at night and else during the day.
--Colin
Awesome! Thank you very much!
-
AlanM
- Posts: 263
- Joined: Wed Jan 01, 2014 7:26 am
Re: Gyre Mode??
Gyre is just like Long Pulse but with round edges. So it ramps up and back down while the opposing pump is off and then switches. The "duration" argument is in minutes, btw, not seconds, to support longer than 4 minutes. Since "Duration" is a byte number if it was in seconds it would overflow at 255 seconds.
-
Smotz
- Posts: 401
- Joined: Sat Mar 30, 2013 5:02 pm
- Location: CT, USA
Re: Gyre Mode??
Good info - do you think this is a good mode for a reef tank ?AlanM wrote:Gyre is just like Long Pulse but with round edges. So it ramps up and back down while the opposing pump is off and then switches. The "duration" argument is in minutes, btw, not seconds, to support longer than 4 minutes. Since "Duration" is a byte number if it was in seconds it would overflow at 255 seconds.
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
- Rodasphoto
- Posts: 187
- Joined: Wed Apr 10, 2013 2:48 pm
- Location: Athens, Ga
- Contact:
Re: Gyre Mode??
Great read! Thanks for posting the article.lnevo wrote:http://www.advancedaquarist.com/2007/1/aafeature
-
davaraj
- Posts: 98
- Joined: Sun Jul 21, 2013 8:18 am
Re: Gyre Mode??
lnevo wrote:A gyre is like when you create a whirlpool in a swimming pool. At some point the momentum builds up and it has a strength of its own. The idea is one run pump in constant for x amount then switch the gyre into another direction.
////// Place your custom code below here
if (hour()>=8 && hour()<12)
{
ReefAngel.PWM.SetDaylight( TidalSwellMode(60,true) );
ReefAngel.PWM.SetActinic( TidalSwellMode(60,false) );
}
else if (hour()>=12 && hour()<16)
{
ReefAngel.PWM.SetDaylight(millis()%1250>800?60:0);
ReefAngel.PWM.SetActinic(millis()%1250<800?0:60);
}
else if (hour()>=16 && hour()<19)
{
ReefAngel.PWM.SetDaylight( LongPulseMode(30,60,20,true) );
ReefAngel.PWM.SetActinic( LongPulseMode(30,60,20,false) );
}
else if (hour()>=19 && hour()<23)
{
ReefAngel.PWM.SetDaylight( ElseMode(60,10,true ));
ReefAngel.PWM.SetActinic( ElseMode(60,10,false ));
}
else
{
ReefAngel.PWM.SetDaylight(SineMode(30,40,30,true) );
ReefAngel.PWM.SetActinic(SineMode(30,40,30,false) );
}
////// Place your custom code above here
This is what I have in my code in RA+ How do I add GyreMode to replace SineMode in my code .I want to have a slow GyreMode at night. Maybe from 30% to 50% speed.
Thanks.
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Gyre Mode??
Change SineMode to GyreMode and the arguments will be speed / duration (in minutes / true or false
-
mng777777
- Posts: 29
- Joined: Tue Sep 30, 2014 2:05 pm
Re: Gyre Mode??
This is great info. Thanks! I'm planning to add jebao controls to mine and was wondering how it works
Justin (San Francisco),
sent from tapatalk
Justin (San Francisco),
sent from tapatalk
-
davaraj
- Posts: 98
- Joined: Sun Jul 21, 2013 8:18 am
Re: Gyre Mode??
Lee, which is correct?lnevo wrote:Change SineMode to GyreMode and the arguments will be speed / duration (in minutes / true or false
ReefAngel.PWM.SetDaylight( GyreMode(40,70,10,true)); //Ramp from 40% to 70% with 10 min duration in sync mode
ReefAngel.PWM.SetActinic( GyreMode(40,70,10,false)); //Ramp from 40%to 70% with 10 min duration in Antisync mode
Or
ReefAngel.PWM.SetDaylight( GyreMode(70,10,true)); //Ramp up to 70% in 10mins in sync mode
ReefAngel.PWM.SetActinic( GyreMode(70,10,false)); //Ramp up to 70% in 10 mins in Antisync mode
Thanks.
Dr Davaraj
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
-
davaraj
- Posts: 98
- Joined: Sun Jul 21, 2013 8:18 am
-
Smotz
- Posts: 401
- Joined: Sat Mar 30, 2013 5:02 pm
- Location: CT, USA
Re: Gyre Mode??
The globals.h file say we need to specify a min % a max...?
'byte GyreMode(byte, byte, int, boolean)'
'byte GyreMode(byte, byte, int, boolean)'
-
davaraj
- Posts: 98
- Joined: Sun Jul 21, 2013 8:18 am
Re: Gyre Mode??
I think you are right. My second code gave errors, but the first code gave no errors and is working.Smotz wrote:The globals.h file say we need to specify a min % a max...?
'byte GyreMode(byte, byte, int, boolean)'
Dr Davaraj
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am