Hello and greetings from New Jersey.
I was going to follow the some routes for water meters and got my hand on one that has only two cables to hook up but i went with it since the reviews show esphome code and a route to use it.
But now i am stuck with a phrase in the installation instructions that does stumble me and i hope you guys can help me to decipher.
So i copy the code and instructions down here…but upfront…what does he mean with 10k pullup resistor shorted to ground?
Thx alot for any thoughts and help how to get it hooked up without frying anything
DAE AS200U-75P Water Meter with Pulse Output, 3/4" NPT Couplings, Measuring in Gallons
For those interested in using ESPhome with this you will need a 10K pull up resistor installed on one leg of the wire lead for things to work properly then you simply short to ground for the count to work. The code I used for the sensor is included below and should work to get you up and running.
- platform: pulse_counter
pin:
number: GPIO14
inverted: true
mode:
input: true
pullup: true
name: "${disp_name} Flow"
unit_of_measurement: "gal/min"
icon: "mdi:water"
update_interval: 15s
accuracy_decimals: 0
internal_filter: 400ms
count_mode:
rising_edge: DISABLE
falling_edge: INCREMENT
filters:
- lambda: return (x);
total:
name: "Total Water Consumption"
unit_of_measurement: "gal"
device_class: water
state_class: total_increasing
accuracy_decimals: 0
icon: "mdi:faucet"
I just meant that i was about to solder a 10k resistor to the circuit, but that wasnt needed, and the original poster stated it in a way that could lead people to solder a 10k in it as well, thats why i did mention it clearly