Water pulse counter

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
the cosmic gate
Normal user
Posts: 102
Joined: 14 Nov 2015, 20:17

Water pulse counter

#1 Post by the cosmic gate » 23 Apr 2017, 15:22

I build a water meter using for this moment : mysensors ( https://www.mysensors.org/build/pulse_water but now ->
ESPeasy is working fine with the some sensors, but i want to have the same 2 information things : total water usage en water flow .
The input voor de total usage is easy, but how can i setup the water flow ( L/min) :
Image


Can somebody help me with the formula's / options or work around(s)?

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Water pulse counter

#2 Post by Shardan » 23 Apr 2017, 15:58

Hello,

I can't say much to mySensors on an Arduino, inever used that.

A solution might be to use just the pulse sensor with an ESP and the "Pulse Counter" task.
A formula to adapt pulses from the sensor into flow volume isn't too difficult.
It's just a division, as you get "n" pulses per liter or m³. Look at the water counter, it should be printed
there as "rotations per liter or m³". The little "wheel" for example on the pic has 6 "wings". So if you read
"100 rotations per liter" you will get 600 pulses per liter. Then the formula is "%value% / 600".

The summing up to a total should be done within the home control server, FHEM, domoticz or whatever.
I won't recoomend to use the ESP for a "total" summarizing.
If you cut power or a power outage occurs the data will be lost.

In theory it is possible to store this in the flash ram of the ESP.
ESPEasy does not to that for a reason. The flash chip isn't designed for
permanent writing, it will wear out soon, this breaking the ESP.

Regards
Shardan
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: No registered users and 84 guests