ATO (Automatic Top Off)
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 102
- Joined: 14 Nov 2015, 20:17
ATO (Automatic Top Off)
Trying to build a ATO using some floating sensors :
I already tried to connect this some different ways but what's the way to connect these ?
The ways in connect them aren't stable enough and gives sometimes false 0 / 1's
I already tried to connect this some different ways but what's the way to connect these ?
The ways in connect them aren't stable enough and gives sometimes false 0 / 1's
-
- Normal user
- Posts: 30
- Joined: 31 Oct 2015, 08:00
Re: ATO (Automatic Top Off)
How are you connecting it? Looking at the picture halfway down the page - http://www.aliexpress.com/item/2016-Hot ... af18292000
It seems like the switch is open when the disc is close to the mounting shaft. If you install it based on the picture you show (or the two bottom pictures in the link above) ie: with the device pointing up, then the switch will be closed when the water is full and pushed the disc up and away from the shaft. Is that what you're seeing? Are you saying that it intermittently gives false reading?
It seems like the switch is open when the disc is close to the mounting shaft. If you install it based on the picture you show (or the two bottom pictures in the link above) ie: with the device pointing up, then the switch will be closed when the water is full and pushed the disc up and away from the shaft. Is that what you're seeing? Are you saying that it intermittently gives false reading?
Re: ATO (Automatic Top Off)
How did you wiring to the esp?
-
- Normal user
- Posts: 102
- Joined: 14 Nov 2015, 20:17
Re: ATO (Automatic Top Off)
Building this on a prototype board.Dylantje wrote:How did you wiring to the esp?
And experimented with : connecting + voltage on the floater and the singal cable to the sonoff so when the floater is "on" there 5v + to the signal , also tried the same with the GND, connected some LED to see if there "on" not.
So what's " the way" tI use or connect these switches
Re: ATO (Automatic Top Off)
Perhaps this is the problem:
-
- Normal user
- Posts: 102
- Joined: 14 Nov 2015, 20:17
Re: ATO (Automatic Top Off)
Uhhhm why ? These are maximum currents, but how to use these as a on/off switch using the 5v current from the esp (sonoff) ?Dylantje wrote:Perhaps this is the problem:
ScreenShot020.jpg
-
- Normal user
- Posts: 30
- Joined: 31 Oct 2015, 08:00
Re: ATO (Automatic Top Off)
As you can enable an internal "pull Up" resistor on the ESP, it will be easier to connect one wire from the switch to one of the GPIO and then other wire to ground/0V. I have a similar config for my garage door sensor using a reed switch connected to GPIO-12 and a magnet -
So when the switch is on/closed, GPIO-12 goes low. I am going to guess that the switch you have will be similar with a reed switch at the end of the shaft and that round float has a magnet on it.-
- Normal user
- Posts: 102
- Joined: 14 Nov 2015, 20:17
Re: ATO (Automatic Top Off)
After some time on hold I started like this and seems to work well (even on a sonoff gpio 1 + gpio3)CoolWombat wrote:As you can enable an internal "pull Up" resistor on the ESP, it will be easier to connect one wire from the switch to one of the GPIO and then other wire to ground/0V. I have a similar config for my garage door sensor using a reed switch connected to GPIO-12 and a magnet -
switch.jpg
So when the switch is on/closed, GPIO-12 goes low. I am going to guess that the switch you have will be similar with a reed switch at the end of the shaft and that round float has a magnet on it.
Now looking how to waterproof a connection so I can connect everything sealed on a sonoff (inside a waterproof case)
If anyone has an idea about this connection...
Who is online
Users browsing this forum: No registered users and 49 guests