I need a water level sensor for my DWC reservoir set up. I was thinking this fuel gauge sending unit with a pole and float that goes up and down would be pretty cool, see link please. It talks about the sending output signal is Ohms..."Output signal: 0-190ohm; Resolution range: 21mm". What does this mean? and would this work with hooking up to a ESP32 to feed me the data?
Also Im open to Ideas of any other float sensors if you have them.
Thanks,
Jeff
Water level sensor
-
- LED-Curious
- Reactions:
- Posts: 20
- Joined: Mon Jan 18, 2021 11:29 pm
You may want to look into this sensor
https://esphome.io/components/sensor/ultrasonic.html
They are pretty cheap on amazon I cant even remember how much I paid for a 5 pack.
I had about 5 minutes last night to get one connected and tested to a spare ESP32, it does need 5V.
It had fairly accurate measurements however it was giving me the measurement in meters and I am in the US so only used to the Imperial system. I will have to figure out how to convert the measurement and also add the code that will give me the measurement of water in the from of %. I have seen there is formulas for calculating this.
I just need to get alerts with my res falls below a certain percentage to avoid ruining my submerged pump and plus top off the rest when needed.
https://esphome.io/components/sensor/ultrasonic.html
They are pretty cheap on amazon I cant even remember how much I paid for a 5 pack.
I had about 5 minutes last night to get one connected and tested to a spare ESP32, it does need 5V.
It had fairly accurate measurements however it was giving me the measurement in meters and I am in the US so only used to the Imperial system. I will have to figure out how to convert the measurement and also add the code that will give me the measurement of water in the from of %. I have seen there is formulas for calculating this.
I just need to get alerts with my res falls below a certain percentage to avoid ruining my submerged pump and plus top off the rest when needed.
-
- LED-Curious
- Reactions:
- Posts: 20
- Joined: Mon Jan 18, 2021 11:29 pm
jaysal wrote: ↑Wed Jan 20, 2021 5:22 pmYou may want to look into this sensor
https://esphome.io/components/sensor/ultrasonic.html
They are pretty cheap on amazon I cant even remember how much I paid for a 5 pack.
I had about 5 minutes last night to get one connected and tested to a spare ESP32, it does need 5V.
It had fairly accurate measurements however it was giving me the measurement in meters and I am in the US so only used to the Imperial system. I will have to figure out how to convert the measurement and also add the code that will give me the measurement of water in the from of %. I have seen there is formulas for calculating this.
I just need to get alerts with my res falls below a certain percentage to avoid ruining my submerged pump and plus top off the rest when needed.
I ended up buying that float I posted. I don't see any templete code for it in esphome.com so it will be interesting if I can figure out how to code it. Thank you for suggesting this alternative if the other gives me trouble
I believe what you'll need to do is set it up as a voltage divider, as in here:
https://randomnerdtutorials.com/esp8266 ... h-nodemcu/
Here's another using an arduino:
https://create.arduino.cc/projecthub/ia ... ter-90fda8
You'll need a 180Ohm resistor with that particular float.
https://randomnerdtutorials.com/esp8266 ... h-nodemcu/
Here's another using an arduino:
https://create.arduino.cc/projecthub/ia ... ter-90fda8
You'll need a 180Ohm resistor with that particular float.
-
- LED-Curious
- Reactions:
- Posts: 20
- Joined: Mon Jan 18, 2021 11:29 pm
Shimbob wrote: ↑Wed Jan 20, 2021 9:26 pmI believe what you'll need to do is set it up as a voltage divider, as in here:
https://randomnerdtutorials.com/esp8266 ... h-nodemcu/
Here's another using an arduino:
https://create.arduino.cc/projecthub/ia ... ter-90fda8
You'll need a 180Ohm resistor with that particular float.
Divider would be to get the voltage down to 1V right?
Oh, the esp8266 only does 0-1V on the analog input.
So then yes, I guess you would need additional resistance to drop 2.3V, then it feeds into the divider. I think, I'm not an EE.
Looking at the analog input voltage range some more, it seems if you're using a bare esp8266 chip (which I doubt is the case) then you need to drop that extra 2.3V; but if you use a NodeMCU board, it comes with a built-in voltage divider and the input range is actually 0-3.3V.
I just ordered one of these floats, I'll play with it on a NodeMCU.
So then yes, I guess you would need additional resistance to drop 2.3V, then it feeds into the divider. I think, I'm not an EE.
Looking at the analog input voltage range some more, it seems if you're using a bare esp8266 chip (which I doubt is the case) then you need to drop that extra 2.3V; but if you use a NodeMCU board, it comes with a built-in voltage divider and the input range is actually 0-3.3V.
I just ordered one of these floats, I'll play with it on a NodeMCU.
-
- LED-Curious
- Reactions:
- Posts: 20
- Joined: Mon Jan 18, 2021 11:29 pm
Shimbob wrote: ↑Thu Jan 21, 2021 7:33 pmOh, the esp8266 only does 0-1V on the analog input.
So then yes, I guess you would need additional resistance to drop 2.3V, then it feeds into the divider. I think, I'm not an EE.
Looking at the analog input voltage range some more, it seems if you're using a bare esp8266 chip (which I doubt is the case) then you need to drop that extra 2.3V; but if you use a NodeMCU board, it comes with a built-in voltage divider and the input range is actually 0-3.3V.
I just ordered one of these floats, I'll play with it on a NodeMCU.
My sensor just arrived. Apparently it only has 2 wires. So I guess one to ground and one to A0 on my esp8266...wish me luck
-
- LED-Curious
- Reactions:
- Posts: 20
- Joined: Mon Jan 18, 2021 11:29 pm
Shimbob wrote: ↑Thu Jan 21, 2021 7:33 pmOh, the esp8266 only does 0-1V on the analog input.
So then yes, I guess you would need additional resistance to drop 2.3V, then it feeds into the divider. I think, I'm not an EE.
Looking at the analog input voltage range some more, it seems if you're using a bare esp8266 chip (which I doubt is the case) then you need to drop that extra 2.3V; but if you use a NodeMCU board, it comes with a built-in voltage divider and the input range is actually 0-3.3V.
I just ordered one of these floats, I'll play with it on a NodeMCU.
My sensor just arrived. Apparently it only has 2 wires. So I guess one to ground and one to A0 on my esp8266...wish me luck