Hi
I have searched the forum but cannot find a solution.
I think what I want to do is quite simple, just dont know how to do it. I have numerous tanks, these all have float switches, when any one of them over fulls it sets off a relay which in turn turns off the main return pump. This relay has now burnt out and I want to use my Reef Angel to do this.
I am only using my reef angel plus for wifi, relay ext and ph. so should have capability. I dont use it for ATO.
How do I program so that when one of the float switches close a circuit it switches off one of the port on the relay box?
Thanks
Bryan
I/O set to turn off relay
Re: I/O set to turn off relay
This should do it. Put it in loop().
This is for the low port. I think if you're using the high port, you'll need to switch the On and Off.
Replace Port1 with whatever relay you want to use.
--Colin
Code: Select all
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.On(Port1);
else ReefAngel.Relay.Off(Port1);
Replace Port1 with whatever relay you want to use.
--Colin