ATO if PH is less than 8.5 and Res is full
Posted: Thu Feb 06, 2014 8:30 am
All - will this work?
I want to ensure that I have at least 15% water in my reservoir AND PH is less than 8.5 for the ATO to activate. More importantly, I want the ATO to stop if PH hits 8.5
I want to ensure that I have at least 15% water in my reservoir AND PH is less than 8.5 for the ATO to activate. More importantly, I want the ATO to stop if PH hits 8.5
Code: Select all
// Main Top Off
if ( ReefAngel.WaterLevel.GetLevel(2) >= 15 && ReefAngel.Params.PH<850) // Ensure there is 15% of water in the Top Off reservoir and PH is less than 8.5
{
if ( ReefAngel.WaterLevel.GetLevel(1) <= 80 ) ReefAngel.Relay.On(Topoff);
if ( ReefAngel.WaterLevel.GetLevel(1) >= 100 ) ReefAngel.Relay.Off(Topoff);
}