Page 1 of 1

ATO Float switch

Posted: Mon Feb 11, 2013 1:03 pm
by jtomasi
I use the water level expansion - works great.

I would like to use the two float switches as follows:

Low Switch: Put in my ATO bucket to indicate if the bucket is low.

High Switch: Additional fail safe for the water level - put it in my sump to turn the ATO pump relay off if the sump gets to a certain level (this would also indicate if my return pump malfunctions for some reason as the water in the display will flow to the sump)

Where can I find the code for this?

Re: ATO Float switch

Posted: Mon Feb 11, 2013 1:09 pm
by rimai
You can use something like this:

Code: Select all

if (ReefAngel.HighATO.IsActive())
{
  ReefAngel.Relay.Off(Port1);  
  ReefAngel.Relay.Off(Port8);
}
else
{
  ReefAngel.WaterLevelATO(Port1,60,70,75);  
  ReefAngel.Relay.On(Port8);
}