Ato based on salinity? Any one tried?

Expansion modules and attachments
Post Reply
dazza1304
Posts: 154
Joined: Sat Aug 04, 2012 4:22 am

Re: Ato based on salinity? Any one tried?

Post by dazza1304 »

Just a quick update!

Have been using this for about 4 weeks now and works fantastic! Keeps salinity very stable!

Another benefit of this is that Ato is no longer sensitive to fluctuations in water level etc.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Ato based on salinity? Any one tried?

Post by lnevo »

Lets see your code!
dazza1304
Posts: 154
Joined: Sat Aug 04, 2012 4:22 am

Re: Ato based on salinity? Any one tried?

Post by dazza1304 »

Well, not mine, really its Robertos!! See below!

At the moment, I am using an existing tunze ATO that has a overfill float switch, so am just powering up the ATO from Port 5, and if overfull, the tunze float switch will stop pump from operating.

However, code is easily modified to incorporate a float switch for overfull cut out!

Basically, I have set that if salinity sits at 35.1 or above for 120 secs port 5 is switched on and ATO operates.

////// Place global variable code below here
unsigned long lastLowSal=now();

////// Place global variable code above here



////// Place your custom code below here
if (ReefAngel.Params.Salinity<351) lastLowSal=now();
ReefAngel.Relay.Set(Port5,(now()-lastLowSal>120));

////// Place your custom code above here
Post Reply