Page 1 of 1

Storing and switching to multiple pump configuration modes

Posted: Thu Dec 13, 2012 10:50 am
by neuro
I have 4 pumps. I would like to have/save different modes such as:

1. Pumps 1-4 would turn on and off in a cyclical pattern through the day..
2. 2 pumps are on, and the other 2 are off, staggering their on/off times.
3. Night time mode for pumps.

I want to be able to call on these modes through the menu, and to also simply
set it through my INO when I think I want to change things up for the month.

What's the best way to program/store these configs? A general pointer would
suffice.

Also, any pointers to certain helpful functions/practices would be awesome also.

Thank you!

Re: Storing and switching to multiple pump configuration mod

Posted: Thu Dec 13, 2012 11:13 am
by rimai
You can do it with the function Wavemaker() function.

Code: Select all

ReefAngel.Wavemaker(Port5,60);
ReefAngel.Relay.Set(Port6,!ReefAngel.Relay.Status(Port5));
This should put port5 and 6 into alternating mode every 60 seconds.
The only issue I see is that you may encounter inductive spike problems if you place pumps that keep alternating on the other ports. Only ports 5 and 6 have dampening components.
There is a guide for custom menus: http://forum.reefangel.com/viewtopic.php?f=14&t=311

Re: Storing and switching to multiple pump configuration mod

Posted: Thu Dec 13, 2012 11:50 am
by neuro
Thanks Roberto, I'll give this piece of code some lovin'