Gyre Mode??

Basic / Standard Reef Angel hardware
Post Reply
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Gyre Mode??

Post by Smotz »

Hi All - I searched but I cannot find what 'Gyre Mode' does.

Can anyone explain?
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Gyre Mode??

Post 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.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: Gyre Mode??

Post 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?
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Gyre Mode??

Post 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
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: Gyre Mode??

Post 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!
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

Re: Gyre Mode??

Post 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.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: Gyre Mode??

Post 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 ?
User avatar
Rodasphoto
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
Contact:

Re: Gyre Mode??

Post by Rodasphoto »

Great read! Thanks for posting the article.
Image
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Gyre Mode??

Post 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.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Gyre Mode??

Post by lnevo »

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??

Post 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
Image
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Gyre Mode??

Post 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
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Gyre Mode??

Post by lnevo »

The second one
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Gyre Mode??

Post by davaraj »

lnevo wrote:The second one
Thanks Lee.

Dr Davaraj
Image
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: Gyre Mode??

Post by Smotz »

The globals.h file say we need to specify a min % a max...?

'byte GyreMode(byte, byte, int, boolean)'
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Gyre Mode??

Post 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
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Gyre Mode??

Post by lnevo »

Oh ok. I assumed min would be assumed at 0%
Post Reply