Page 2 of 2

Re: how to copy data from watermeter to waterflow

Posted: Tuesday 19 September 2023 8:14
by Gravityz
Hello,

i am using a nodemcu unit buy a wemos-d1-mini will work as well
it is running ESPeasy software
as a sensor i am using a LJ12-A3 proximity sensor which picks up magnetic disturbance
proximity-aansluiting.JPG
proximity-aansluiting.JPG (122.83 KiB) Viewed 767 times
proximity-aansluiting.JPG
proximity-aansluiting.JPG (122.83 KiB) Viewed 767 times
this thread will help you
i did not use a voltage converter but i used an optocoupler

https://www.twoenter.nl/blog/smarthome/ ... -domoticz/

Re: how to copy data from watermeter to waterflow

Posted: Tuesday 19 September 2023 8:27
by Gravityz
i am using a nodemcu unit but a wemos d1 mini will work as well

input NodeMCU and Wemos D1 mini both have 3.3 inputs
sensoren work correctly on 5V

attach sensor to 5V but inputs through a pullup resistor to 3.3V
proximity-aansluiting.JPG
proximity-aansluiting.JPG (122.83 KiB) Viewed 767 times
proximity-aansluiting.JPG
proximity-aansluiting.JPG (122.83 KiB) Viewed 767 times

Re: how to copy data from watermeter to waterflow

Posted: Tuesday 19 September 2023 8:38
by Number8
Thank you so much for the detailed information.

Re: how to copy data from watermeter to waterflow

Posted: Tuesday 19 September 2023 8:45
by Gravityz
your welcome.
to be more specific, i checked and i have the sensor hooked up to D5(not D13)

Re: how to copy data from watermeter to waterflow

Posted: Tuesday 19 September 2023 9:49
by Number8
Gravityz wrote: Thursday 28 January 2021 18:20 the same goes for waterflow.
it turns out the esp pulsecounter sends out a time between pulse in ms. i use this number to calculate the exact flow and send this value over to domoticz.
Just another question: does the time value sent by esp pulsecounter is specific to espeasy? I'm wondering whether I could use Tasmota instead.