Page 1 of 1

Control ATO on pH value

Posted: Thu Aug 08, 2013 8:08 pm
by ufgators2k
I just started dosing Kalk in my ATO water and I wanted to know how to set the ATO to turn off if the pH reaches 8.4, then wait for a while (let's say an hour) and check it again. Basically I don't want an ATO timeout to occur, I just want it hold off refilling until the pH is at a safe value.

Thanks,

Steve

Re: Control ATO on pH value

Posted: Fri Aug 09, 2013 9:47 am
by Sacohen
I'm not a pro on coding but this is what I'm using for a similar thing, but with Salinity.

Code: Select all

if (ReefAngel.Params.Salinity<335) ReefAngel.Relay.Off(ATO_Pump);
Basically is the Salinity is below 33.5 then the ATO will not turn on.

I would think that to do it for PH it would be

Code: Select all

if (ReefAngel.Params.PH>840) ReefAngel.Relay.Off(Port8);
or whatever port your ATO is on.

Then when the PH drops below 8.4 and if the ATO float switch is still Active then the water will start flowing again until the float is at the correct level or the PH rises again.

Re: Control ATO on pH value

Posted: Fri Aug 09, 2013 3:32 pm
by Sacohen
The wizard will write code to control a port according to Ph levels.

This is the code to turn port 5 on at 8.18 and off at 8.40

Code: Select all

ReefAngel.PHControl( Port5,818,840 );
Maybe you can make this work.