#Water meter DIY sensor

23 messages · Page 1 of 1 (latest)

thorn geyser
#

I created a small sensor for reading out water meters with a rotary disk. I have the code working with the RPI PICO. If some of you want me to work on a certain type of MCU feel free to ask. I am currently working on a version for the esphome component, but a bit stuck there 😦
The following is the repo: https://github.com/martijnvwezel/3-phase-muino-sensor

I also have a bag of circle phoam but I cannot find more on the internet, so if you know a good side please tell 🙂

If you have questions feel free to ask!
Blog post: https://martijnvwezel.com/blogs/watersensor_sensor_based/

thorn geyser
#

PIns are 3V3 tollerant except of the power itself needs to be 3v3

torn oak
#

Nice work! What's the power consumption of the sensor ?

thorn geyser
torn oak
#

it's important to get some numbers, as I would need to power such sensor using batteries

thorn geyser
#

I made a mistakae and the Light sensors are NOT 5V tollerant sorry for the confusion..

thorn geyser
#

The green led should use less than 1mA. The moment there is no rotation of the red ring it should flash less often. To save more power

thorn geyser
#

Continues led on and reading out sensor values: 1765uA when normal modus toggeling LED 691uA on a voltage of 3.272V

torn oak
#

tks!

thorn geyser
#

I am trying to minimize the power consumption, but Not sure if I can get it below 100uA

thorn geyser
#

I am working now on this project and I wonder how to get it as a esphome project fully working under esphome

thorn geyser
#

I am working on a ulp version

#

now some mem issues

#

have to improve the amount of ram usaged

thorn geyser
#

The first ULP code finally runs on the MCU. With a esp32S3 I get 0.6mA with the led blinking.

Next step: getting a bug out of the ULP with the light sensor (and actually test the working of the lightsensors inside the ulp)

#

Here the setup

#

So it looks promising

thorn geyser
#

Small update:

Got a solution for the esp32 I2C bug

limpid zephyr
#

What are your thoughts on how well it would work with this water meter? @thorn geyser

thorn geyser
#

I have people saying it worked from them!