How to connect a float switch to sensor board - Printable Version +- Robo-Tank DIY Aquarium Controller Forum (https://www.robo-tank.ca/forum) +-- Forum: Robo-Tank (https://www.robo-tank.ca/forum/forum-1.html) +--- Forum: Robo-Tank Circuit Board Questions (https://www.robo-tank.ca/forum/forum-4.html) +--- Thread: How to connect a float switch to sensor board (/thread-1757.html) |
How to connect a float switch to sensor board - kdx7214@gmail.com - 10-17-2022 I've got the deluxe kit and need to run a couple of float switches for ATO purposes. I'm using a DC motor for a peristaltic pump (Kamoer pump), so can't use the AC float on the controller. The docs show how to connect a DS18B20 temp probe, but not a float switch. Do I connect +5 and ground and ignore the data pin or do I run +5 and data, or data and ground? RE: How to connect a float switch to sensor board - Rob F - 10-17-2022 Hi, sorry that wasn't in there, I just added that to the user manual, here's the link. https://docs.google.com/document/d/1F95aVHPgetCamtvniFCnadZ6fkQrVaAr/edit#heading=h.8zlvlouvq7ae You can still use the DC backup port for an extra float switch, that'll turn off the DC port no matter what the Pi says. That's what the AC float port does but for an AC outlet. RE: How to connect a float switch to sensor board - kdx7214@gmail.com - 10-18-2022 (10-17-2022, 09:03 PM)Rob F Wrote: Hi, sorry that wasn't in there, I just added that to the user manual, here's the link. Hey Rob, thanks for the update. I just found the backup port. I want to connect both so I have a backup in case of failure. Cheers! Mike (10-17-2022, 09:03 PM)Rob F Wrote: Hi, sorry that wasn't in there, I just added that to the user manual, here's the link. Hmm, the pump won't turn on when hooked up through the ATO (even after a reboot). Do I need to edit /boot/config.txt for this like I did for the temp probe? It's almost like the sensor port isn't working RE: How to connect a float switch to sensor board - Rob F - 10-18-2022 There's nothing to edit, should work after setting up. Are you able to verify the DC port is turning on/off by switching it manually from the equipment tab? Can you post a picture of the ATO settings? RE: How to connect a float switch to sensor board - kdx7214@gmail.com - 10-18-2022 (10-18-2022, 08:17 PM)Rob F Wrote: There's nothing to edit, should work after setting up. Are you able to verify the DC port is turning on/off by switching it manually from the equipment tab? Can you post a picture of the ATO settings? I've attached a screen grab of the settings for ATO. I can run the ATO pump (DC 1) manually just fine, and the float switch for the emergency kill (DC Backup 1 or something like that) seems to work just fine. It just isn't reading the float switch. I did test both floats with an ohm meter to make sure there were no shorts. RE: How to connect a float switch to sensor board - Rob F - 10-18-2022 Thanks, I think it could be the "check frequency" option. Change that to 1 second. During testing 60 seconds is difficult because it will only read that sensor once every 60 seconds. If it's not it the proper position it won't work. If that doesn't work try the following in reef-pi, maybe I mixed up the wiring.
RE: How to connect a float switch to sensor board - kdx7214@gmail.com - 10-19-2022 (10-18-2022, 11:26 PM)Rob F Wrote: Thanks, I think it could be the "check frequency" option. Change that to 1 second. During testing 60 seconds is difficult because it will only read that sensor once every 60 seconds. If it's not it the proper position it won't work. The reverse option took care of it and it's now doing ATO :) Thanks! RE: How to connect a float switch to sensor board - Rob F - 10-19-2022 Good to hear, I mixed up the wiring. If you put the float switch on Ground and Data and move the PD jumper to PU it would work without ticking reverse. Either works though. |