This is used to read the pulses coming from the flow meter.
Arduino water meter pulse.
Water flow meter which i used in the project is from aliexpress.
In some cases newer water meters are equipped with a pulse output.
I bought it in 6 dollars.
Flow sensor is powered with an external 9 volt battery.
It emits an infrared light and detects the reflection.
Reading pulses from meters with pulse outputs.
1 whr 3600j therefore instantaneous power p 3600 t where t is the time between the falling edge of each pulse.
This function then counts the total.
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.
Use the tcrt5000 ir barrier line track sensor.
Water flow sensor for flow rate volume measurement using arduino code along with.
When the arduino detects the pulse it immediately triggers the pulse counter function.
Digital pin 3 of arduino is configured as interrupt pin.
Calculating power 3600 seconds per hour 3600j per pulse ie.
For the a100c meter each pulse represents a 1000th of a kwhr of 1whr of energy passing through the meter.
Upload the flow meter code to your arduino.
This is used to read the pulses coming from the flow meter.
When the arduino detects the pulse it immediately triggers the pulsecounter function.
Upload the water flow meter code to the arduino.
Uploading code to arduino and measuring.
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.
Uploading the flow meter code to the arduino and measuring water flow rate.