Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting float
#5
You can discard what I said previously. :)

I've been playing and got it figured out, I was misunderstanding how the macro ran. 

Here's an example of a low level sensor starting a pump and a high level sensor stopping the pump.

This is how the jumpers should be set, sensor 1 is the low level float. Notice I have one float on GND and other float on +5v and the P-U / P-D jumper is opposite. I did it that way so connectors in reef-pi don't need to be "reversed". If both were wired like sensor 2, sensor 1 connector would need to be "reversed". For float switches the P-U / P-D jumper should always be opposite of 2nd wire on float. If a wire from float goes to GND jumper must be set to P-U, if the float wire goes to +5v then jumper needs to be P-D. 

[Image: controller.jpg]

Based on the floats connected like above this is how connectors should look. (RevB has a 6th sensor port).

[Image: sensor_connectors.jpg]


Now setup two macros like image below. The "Start Fill" is the low level float and "Stop Fill" is high level.

Once both are added you can press "Run" button for "Start Fill" and the pump should turn on. I have DC 1 set for equipment but anything on that tab will be available.

Then press run for "Stop Fill" and it should turn off. 

When this is working you can move on.

[Image: reservior_fill_macros.jpg]

Now add the two sensors to ATO tab. I have them both disabled so I could get both on single image so do keep them both enabled (on).

Now the low float will start the pump and top float will turn it off. Note both floats always need to be in the position they would be otherwise it will flip flop. During testing this can throw you off. If you are testing out of water make sure you keep adjusting both floats in order they would be in reality. 

[Image: reservior_fill_sensors.jpg]

Here's some images of the floats. the lower one is low level and other high level. Of course space between floats is unlimited, this is just what I was using.

This image represents a full tank of water, both floats would be up and pump (light in image) would be off. At this point if you went to equipment tab and turned on the pump manually it would flip flop once because the high level sensor is still running the macro which is turning off the pump.

[Image: sensors1.jpg]

This image would be a partially filled tank, bottom float is still high but top dropped. Pump remains off. Now at this point if you went to equipment tab and turned on that pump it would turn on and stay on until the high level float went back up. This can be useful to manually start a refill at any time.

[Image: sensors2.jpg]

This picture is when the tank gets empty, both floats are down and the pump will turn on. This time if you manually tried to turn off the pump at this point it would immediately come back on because low level float is forcing it on. If you manually moved the high level float up while low level is down it would flip flop as well but in reality this should never happen.

[Image: sensors3.jpg]

This image is during the fill but tank not full yet, low float is up and high float is still down. Once water raises high level the pump will stop and it can go back to the down position when water is used.

[Image: sensors4.jpg]


And this the end of the cycle and tank is full again. Pump is off and waiting for both floats to drop to start the pump.

[Image: sensors5.jpg]


Attached Files Image(s)
   
[-] The following 1 user Likes Rob F's post:
  • zee_zout
Reply to top


Messages In This Thread
Setting float - by kooibosmania - 08-18-2020, 04:19 AM
RE: Setting float - by Rob F - 08-18-2020, 06:02 PM
RE: Setting float - by kooibosmania - 08-19-2020, 10:00 AM
RE: Setting float - by Rob F - 08-19-2020, 06:53 PM
RE: Setting float - by Rob F - 08-19-2020, 10:27 PM
RE: Setting float - by kooibosmania - 08-21-2020, 12:24 PM
RE: Setting float - by Rob F - 08-21-2020, 06:07 PM
RE: Setting float - by loksik.lubos - 01-31-2021, 08:52 AM
RE: Setting float - by Rob F - 01-31-2021, 05:44 PM
RE: Setting float - by loksik.lubos - 02-01-2021, 01:29 PM
RE: Setting float - by Rob F - 02-01-2021, 05:46 PM
RE: Setting float - by loksik.lubos - 02-04-2021, 04:13 PM
RE: Setting float - by Rob F - 02-04-2021, 09:48 PM
RE: Setting float - by loksik.lubos - 02-05-2021, 04:25 PM
RE: Setting float - by Rob F - 02-05-2021, 08:12 PM
RE: Setting float - by loksik.lubos - 02-06-2021, 01:08 PM
RE: Setting float - by Rob F - 02-06-2021, 08:49 PM
RE: Setting float - by loksik.lubos - 03-07-2021, 04:14 PM
RE: Setting float - by Rob F - 03-07-2021, 05:00 PM
RE: Setting float - by loksik.lubos - 03-14-2021, 03:42 AM
RE: Setting float - by Rob F - 03-14-2021, 04:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues with Setting Up Telemetry BlakeD 1 1,184 05-27-2023, 05:30 PM
Last Post: Rob F

Forum Jump:

Current time: 04-19-2024, 11:43 AM