DC return pumps

User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Mon Aug 29, 2016 7:43 am
In the graphs? it doesn't register 0's so it may show your level as the last value it had registered.

Posts: 12242
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Aug 29, 2016 8:35 am
If you don't use the channel( not set any value), by default they will come up as 20%.
Just add this line:
Code: Select all
ReefAngel.PWM.SetDaylight(0);
Roberto.

Posts: 12242
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Aug 29, 2016 8:40 am
I think a better way of doing this is doing the same thing as I did. I set value to 50% when level reach high.
I also have an inline float switch in the normally closed position with the dimming channel that controls the return pump. If float is triggered, the circuit is going to open and the signal going to the pump will be 0 and it will turn off the pump. It is better to use the dimming signal to turn the pump off than cutting off the power as you are doing.
Roberto.

Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm
PostPosted: Mon Aug 29, 2016 10:00 am
I have it in my code already to default to 50%. The problem is when another port, the rodi port, turns on it drops my atintic channel down to 20%. Once it turns back off it goes back to 74%. The daylight channel was always at zero, but like the atintic channel it goes to 20% too when the rodi port is on. I'm not concerned with the daylight channel since I'm not using it. I'm concerned about the atintic one because once my rodi valve turns on, it will leave my main display without flow for an extended period of time.
Image

Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm
PostPosted: Mon Aug 29, 2016 11:51 am
Just checked a few things to rule them out. I unplugged the return port and the ro/di port separately to rule out noise from either one. It didn't matter which one was unplugged, it still went to 20% when I toggled on the rodi port. I'm lost at what it could be. Any other things I should try?
Image

Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm
PostPosted: Wed Aug 31, 2016 10:11 am
I need some help coding. I want port 1 to power off for 5 seconds and turn back on. I want this to happen when channel three of the water level sensor reach's 50 and is on longer than 20 minutes. I want to ignore this though when I'm in feeding mode or I manually turn off port one.
Image
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Wed Aug 31, 2016 11:13 am
What do you mean is on longer than 20 minutes? I can attempt some code later this week.

Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm
PostPosted: Wed Aug 31, 2016 11:48 am
Sorry should have worded it better. If the level in my sump has been 50 for 20 minutes or longer , I want to turn off port 1 for 5 seconds then turn it back on. It will be like a reset when my pump starts acting up.
Image
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Wed Aug 31, 2016 6:02 pm
Gotcha. Shouldn't be too tough, just give me a few days, been a long few days back at work after a looong vacation :) exhausted already.

Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm
PostPosted: Thu Sep 01, 2016 10:13 am
Thanks.
Image
PreviousNext

Return to Ask anything here

Who is online

Users browsing this forum: No registered users and 3 guests