#Waterlezer (ESP counting water meter pulses)
30 messages · Page 1 of 1 (latest)
Nice!
Where do you set the number of impulses corresponding to the water quantity?
Eg. 1 reflection spin = 10l or 1l
Basically the translation from pulses and pulses per minute to liters and liters per minute is done in the yaml config for esphome using filters (e.g. filters: - multiply: 0.001). The component (pulse2_meter) only works with pulses.
So by default without filter 1 pulse = how many liters?
1000?
My meter has has a magnet spinning inside, and I bought the optional reed relay cap available for it. According to the manual, it gives an impulse every 10 liters.
Could I use your component with it?
Yes, but there is no benefit using pulse2_meter instead of pulse_meter in your case. I you meter gives an impulse every 10 liters set the filter to 0.01 to count the cubic meters. By default 1 pulse = 1 liter in my case.
Cool, what kind of water meter do you have?
Ok, thanks. I tried to Google a little bit but it was hard to find any info about the pulse it emits. What kind of pulse is it? Does the water meter has some kind of electricity too then to be able to emit a pulse? I have a dumb meter myself without any kind of pulse and am looking into alternatives
It's just a rotating wheel with a part covered with a reflecting substance. The wheel rotates while water flows. The sensor that I use measures reflection of the IR led.
Oh, nice.. I wonder if mine is similar 🤔
@brave quiver what IR led and sensor have you used?
You can find the schematic diagram on github with all details
@cobalt dust it's an rpr220
the schematic says WEMOS1, is that a Wemos D1? which revision in that case? I have noticed they differ slightly in size 😒
hey thanks for sharing. some feedback for you: although i saw the PCB, it isn't clear what sensor you're using or how this all works. perhaps the readme could backup and explain the motivations and sensors before jumping into the setup. would definitely be helpful for others.
https://www.aliexpress.com/item/32661635775.html does it use this thing?
No, that's a hall effect sensor. It uses an IR led and receiver (RPR220) https://www.aliexpress.com/item/1005002408522590.html
I changed the readme.md in the github waterlezer repo by adding a "How does it work paragraph"
Hi, I use clones. But in my experience there is no size difference only skewed header pins. Typically I insert the D1 in a PCB before soldering the header pin connectors to the D1. These header pins match the 0.1 inch grid....
apart from the PCB itself and an ESP8266, I think at least these are needed:
https://www.aliexpress.com/item/4000166999502.html
https://www.aliexpress.com/item/32904057396.html
https://www.aliexpress.com/item/32844761642.html (10K)
and if you want a connector I believe something like this might work: https://www.aliexpress.com/item/4000126563819.html
curious, why did you go with IR diode and not magnetic sensor?
I did tried that as well (hall sensor as well as an inductive sensor).
I chose this option, because it took the least space (the lit of the meter can be closed with the sensor in place).
A picture of the actual device.
Regarding the PCB, I presume you cut lose the white part of it? It's used for the actual sensor, isn't it? What kind of tool did you use for that?