Using float switches for overflow prevention

Do you have a question on how to do something.
Ask in here.
Post Reply
franksreefs
Posts: 5
Joined: Mon Aug 18, 2014 8:43 am

Using float switches for overflow prevention

Post by franksreefs »

Hello everyone,
I recently had quite an unexpected surprise when I got home from work. My tank was overflowing and my sump was almost completely empty. A fish had gotten into an overflow and went down the pipe and clogged it enough that the overflows could no longer drain as much as my return pump was putting in the tank.

So what I'd like to do is use a float switch to detect when the water level gets too high so it will shut my return pump off. Any help coding this would be appreciated.

franksreefs
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Using float switches for overflow prevention

Post by rimai »

Try this:

Code: Select all

if (ReefAngel.HighATO.IsActive) ReefAngel.Relay.Off(Port8);
Roberto.
franksreefs
Posts: 5
Joined: Mon Aug 18, 2014 8:43 am

Re: Using float switches for overflow prevention

Post by franksreefs »

Thanks Roberto. I'll try it tomorrow after work. I'll let you know.

franksreefs
Post Reply