Page 1 of 1

code for ATO using 2 floats high and high/high backup?

Posted: Wed Feb 29, 2012 3:06 pm
by miked
I have seen various codes for ATO but not for what I am wanting. I would like to have both floats with wires up. one mounted to trigger ATO port on when water/float is down and port off when water/float is up. I would like to have the second float higher and be a backup so no port control when float is down and port off when float is up. having the high/high notify me when it is activated.

Thanks for pointing me in the correct direction.

Re: code for ATO using 2 floats high and high/high backup?

Posted: Wed Feb 29, 2012 3:43 pm
by rimai
You can use this:

Code: Select all

  ReefAngel.SingleATOLow(Port1);
  ReefAngel.Relay.Set(Port1,!ReefAngel.HighATO.IsActive());
The first line implements the ATO and the 2nd line implements the safety.

Re: code for ATO using 2 floats high and high/high backup?

Posted: Wed Feb 29, 2012 6:28 pm
by miked
great, thank you

so this 'port 1' is for whatever port/outlet I have my ATO pump connected to and NOT the ATO plug ins themselves correct. How do I determine which port is the single ato and which is the high.

thank you again