Hi Guys,
I like to have basic float switches water exchange.
I will mount floats in tank in this position:
What i want is when low water level, switch A set port 8 on and when level is ok switch B set the port 8 off.
The reason is that i don't want auto water change but custom when needed.
Can anyone help with code?
Thank you.
Basic float switches water exchange
Basic float switches water exchange
Greenaquarium
Re: Basic float switches water exchange
That's essentially what the StandardATO function does.
ReefAngel.StandardATO(Port8,60);
Where 60 is the number of seconds as a backup in case float switch B fails.
ReefAngel.StandardATO(Port8,60);
Where 60 is the number of seconds as a backup in case float switch B fails.
Re: Basic float switches water exchange
Thanks a lot Inevo for quick answer.
So if i want to set it for 10 minutes switch fails it is like this:
ReefAngel.StandardATO(Port8,600);
So if i want to set it for 10 minutes switch fails it is like this:
ReefAngel.StandardATO(Port8,600);
Greenaquarium
Re: Basic float switches water exchange
Yes. Base that timeout on the pump you are using. 600 seconds = 10 minutes. So if somethign fails that pump will run for 10 minutes...
Re: Basic float switches water exchange
Thanks a lot Inevo.
This port is actually running solenoid valve and i need around 9 minutes to refill tank, so it should be ok if it is counting 10 minutes from on to off.
This port is actually running solenoid valve and i need around 9 minutes to refill tank, so it should be ok if it is counting 10 minutes from on to off.
Greenaquarium
Re: Basic float switches water exchange
In the future i will replace it with Multi-Channel Water Level Expansion and set it up to run 3 tanks if it is possible.
Greenaquarium
Re: Basic float switches water exchange
Yeah very possible. I dont think you can use the standardato function more than once yet, but i think roberto has a fix for that. But we can easily code around that if so when your ready.