I am a new owner of Reef Angel Controller.
I do not know any thing about programming.
I want to use one of the float switch to control my return pump in port 1.
When the float switch sense water level low the return pump should stop
and the return pump will resume when the water level is correct again.
Hope someone can help me to write the program to be insert into the
present program(Default )
Thank in advance
Return Pump and float switch
Re: Return Pump and float switch
The problem with your logic is that if the return pump goes off the. Water will return to your sump and fix the switch condition. You'll then be in a loop of on/off.
Re: Return Pump and float switch
Thank You for your highlight.
This is to prevent the return pump from running dry when the down flow pipe is partially choke and upflow and download cannot balance.
This is to prevent the return pump from running dry when the down flow pipe is partially choke and upflow and download cannot balance.
Re: Return Pump and float switch
Agreed. I do the same thing..i leave the return off though and set a flag to send an alert from the portal. If you use the same float though you will have a problem. Thats why i'm pointing it out.
Your logic will just cycle the return on and off right now. We can code it that way if its what you want...
ReefAngel.Relay.Set(Port1, !ReefAngel.LowATO.IsActive());
This will turn return off when the low switch is turned on and vice versa.
Your logic will just cycle the return on and off right now. We can code it that way if its what you want...
ReefAngel.Relay.Set(Port1, !ReefAngel.LowATO.IsActive());
This will turn return off when the low switch is turned on and vice versa.
Re: Return Pump and float switch
Like lnevo said, you will just end up in an on/off cycle if you try to trigger the pump back on if the float senses water again.
Just the water in the return pipe/hose coming back will be enough to trigger the pump back on.
In my case, I do use something similar, but I don't turn my pump back on automatically. I simply disable the return pump and it stays off until I go inspect what it is.
This is a situation that you really don't want it to go on unattended either. If something like this happened, you really want to look at things to see what exactly happened, right?
My code is like this:
Just the water in the return pipe/hose coming back will be enough to trigger the pump back on.
In my case, I do use something similar, but I don't turn my pump back on automatically. I simply disable the return pump and it stays off until I go inspect what it is.
This is a situation that you really don't want it to go on unattended either. If something like this happened, you really want to look at things to see what exactly happened, right?
My code is like this:
Code: Select all
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.Off(Port8);
Roberto.
Re: Return Pump and float switch
Thank You for the pointing out and also give a solution.(Inevo and rimai)
Yes we will not turn on the return pump automatically.
We will disable the return pump and check and clear the problem.
So does your script send out an sms or email to the mobile?
And how the pump can be turn on again after the fault is clear
Thanks
Yes we will not turn on the return pump automatically.
We will disable the return pump and check and clear the problem.
So does your script send out an sms or email to the mobile?
And how the pump can be turn on again after the fault is clear
Thanks
Re: Return Pump and float switch
You would put that code in the custom code section inside loop.
And I just now realized that the OPs questions weren't answered.
I would recommend instead of using Off, I would use Override which would set the port from auto to off. Then clearing it would be a matter of putting it back to auto. As its written as soon as the float switch returns to normal it would resume.
This could be bad if you turn off return pump and then water drains back to sump causing float switch to go back to normal causing return pump to go back on etc. etc.
The script sends email which would then use your cellular provider email to sms gateway.
And I just now realized that the OPs questions weren't answered.
I would recommend instead of using Off, I would use Override which would set the port from auto to off. Then clearing it would be a matter of putting it back to auto. As its written as soon as the float switch returns to normal it would resume.
This could be bad if you turn off return pump and then water drains back to sump causing float switch to go back to normal causing return pump to go back on etc. etc.
The script sends email which would then use your cellular provider email to sms gateway.