Page 1 of 1

Gyre Mode??

Posted: Sun Oct 26, 2014 6:42 pm
by Smotz
Hi All - I searched but I cannot find what 'Gyre Mode' does.

Can anyone explain?

Re: Gyre Mode??

Posted: Sun Oct 26, 2014 6:51 pm
by lnevo
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.

Re: Gyre Mode??

Posted: Sun Oct 26, 2014 6:59 pm
by Smotz
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.
Nice! I love new things!

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?

Re: Gyre Mode??

Posted: Mon Oct 27, 2014 5:30 am
by cosmith71
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

Re: Gyre Mode??

Posted: Mon Oct 27, 2014 5:43 am
by Smotz
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!

Re: Gyre Mode??

Posted: Mon Oct 27, 2014 4:03 pm
by AlanM
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.

Re: Gyre Mode??

Posted: Mon Oct 27, 2014 5:02 pm
by Smotz
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.
Good info - do you think this is a good mode for a reef tank ?

Re: Gyre Mode??

Posted: Mon Oct 27, 2014 5:32 pm
by lnevo

Re: Gyre Mode??

Posted: Tue Oct 28, 2014 10:01 am
by Rodasphoto
Great read! Thanks for posting the article.

Re: Gyre Mode??

Posted: Fri Oct 31, 2014 11:24 pm
by davaraj
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.

Re: Gyre Mode??

Posted: Sat Nov 01, 2014 4:23 am
by lnevo
Change SineMode to GyreMode and the arguments will be speed / duration (in minutes / true or false

Re: Gyre Mode??

Posted: Sat Nov 01, 2014 9:09 pm
by mng777777
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

Re: Gyre Mode??

Posted: Mon Nov 03, 2014 7:51 pm
by davaraj
lnevo wrote:Change SineMode to GyreMode and the arguments will be speed / duration (in minutes / true or false
Lee, which is correct?

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

Re: Gyre Mode??

Posted: Mon Nov 03, 2014 7:52 pm
by lnevo
The second one

Re: Gyre Mode??

Posted: Mon Nov 03, 2014 10:05 pm
by davaraj
lnevo wrote:The second one
Thanks Lee.

Dr Davaraj

Re: Gyre Mode??

Posted: Tue Nov 04, 2014 5:39 am
by Smotz
The globals.h file say we need to specify a min % a max...?

'byte GyreMode(byte, byte, int, boolean)'

Re: Gyre Mode??

Posted: Tue Nov 04, 2014 8:29 am
by davaraj
Smotz wrote:The globals.h file say we need to specify a min % a max...?

'byte GyreMode(byte, byte, int, boolean)'
I think you are right. My second code gave errors, but the first code gave no errors and is working.

Dr Davaraj

Re: Gyre Mode??

Posted: Tue Nov 04, 2014 10:46 am
by lnevo
Oh ok. I assumed min would be assumed at 0%