Ports on Based on Water Level
Posted: Sat Nov 14, 2015 4:37 pm
I have the Multi-Channel Water Level module and what I want to do is determine the water level for channels 1 and 3 and then turn on or off ports based on the two levels.
Water level channel 1 is my sump level and water level channel 3 is my skimmer sump level. Water flows from my main sump (channel 1) into the skimmer sump (channel 3) then returns to the main sump after the skimmer from the skimmer outlet.
What I'm looking for is if the channel 3 level gets to high then to turn off the pump that takes water from the main sump into the skimmers sump. In this case that pump runs on port 7. Now, if the skimmer sump gets too low then I want to turn off the skimmer's return pump (port 8). Same on the main sump -- if the water level gets to high then turn off port 8 in the skimmer so it will stop pumping water from the skimmer sump into the main sump and if it gets too low shut off port 7 so it will stop pumping water to the skimmer sump.
Now, for the million dollar question -- how in the world do I code for this?
Thanks!
Water level channel 1 is my sump level and water level channel 3 is my skimmer sump level. Water flows from my main sump (channel 1) into the skimmer sump (channel 3) then returns to the main sump after the skimmer from the skimmer outlet.
What I'm looking for is if the channel 3 level gets to high then to turn off the pump that takes water from the main sump into the skimmers sump. In this case that pump runs on port 7. Now, if the skimmer sump gets too low then I want to turn off the skimmer's return pump (port 8). Same on the main sump -- if the water level gets to high then turn off port 8 in the skimmer so it will stop pumping water from the skimmer sump into the main sump and if it gets too low shut off port 7 so it will stop pumping water to the skimmer sump.
Now, for the million dollar question -- how in the world do I code for this?
Thanks!