Control ATO on pH value

Do you have a question on how to do something.
Ask in here.
Post Reply
ufgators2k
Posts: 58
Joined: Sun May 12, 2013 2:21 pm

Control ATO on pH value

Post 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
Image
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Control ATO on pH value

Post 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.
Last edited by Sacohen on Fri Aug 09, 2013 3:33 pm, edited 1 time in total.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Control ATO on pH value

Post 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.
Post Reply