Flow sensor is powered with an external 9 volt battery.
Arduino water meter pulse.
Water flow meter which i used in the project is from aliexpress.
However if you have an older power meter without a pulse output then you might be able to use one of the options below to sense your water consumption.
Uploading the flow meter code to the arduino and measuring water flow rate.
1 whr 3600j therefore instantaneous power p 3600 t where t is the time between the falling edge of each pulse.
Reading pulses from meters with pulse outputs.
In the above circuit i attached the pulse output pin of flow sensor to arduino digital pin 3.
I will explain about it during code explanation.
Upload the flow meter code to your arduino.
Use the tcrt5000 ir barrier line track sensor.
This function then counts the total.
For the a100c meter each pulse represents a 1000th of a kwhr of 1whr of energy passing through the meter.
This is used to read the pulses coming from the flow meter.
Digital pin 3 of arduino is configured as interrupt pin.
This is used to read the pulses coming from the flow meter.
When the arduino detects the pulse it immediately triggers the pulse counter function.
Water flow sensor for flow rate volume measurement using arduino code along with.
When the arduino detects the pulse it immediately triggers the pulsecounter function.
I bought it in 6 dollars.
In some cases newer water meters are equipped with a pulse output.
The code uses an external interrupt on the arduino s digital pin 2.
It emits an infrared light and detects the reflection.
The code uses an external interrupt on the arduino s digital pin 2.
Uploading code to arduino and measuring.