Connecting the water flow sensor to arduino requires minimal interconnection.
Water flow sensor arduino instructables.
The code uses an external interrupt on the arduino s digital pin 2.
The overarching goal of th.
When the water flows through the rotor rotor rolls and the speed of it changes with a different rate of flow.
Low cost water flow sensor and ambient display.
In this project we will interface yfs201 hall effect water flow sensor with arduino for measuring flow rate and volume of water or any other liquid.
The hall effect sensor outputs the corresponding pulse signal.
Arduino water flow sensor.
Millions of people do not have access to clean drinking water and as many as 4000 children die from water contaminated illnesses every day.
It draws a maximum.
Yet we continue to be wasteful with our resources.
In a house or building it is very important to regularly analyze the consumption of water and thus take action avoiding unnecessary costs the possibility of track control multiple points of water through a single web page is enabled by this project or even the automatic cut.
Water is a precious resource.
This is used to read the pulses coming from the flow meter.
Connect the vcc red and gnd black wires of the water flow sensor to the 5v and gnd of arduino and link pulse output yellow wire of the water flow sensor to arduino s digital pin 2.
Upload the flow meter code to your arduino.
This work aims to build an internet based system that enables the remote monitoring of a water flow meters.
The microcontroller was programmed using a standard arduino uno in isp mode the program is quite simplistic the flow sensor input triggers an interupt routine which increments a counter.
When the arduino detects the pulse it immediately triggers the pulsecounter function.
If you d like to monitor your water usage as part of a diy smart home automation and monitoring project then this instructable might help you to achieve that goal.
Uploading the flow meter code to the arduino and measuring water flow rate.
Note that the water flow sensor is not a power hungry type.
The water flow sensor consists of a plastic valve body a water rotor and a hall effect sensor.
It then sets the leds and relay output appropriately.
The solution described here is non invasive uses your existing municipal water met.
Monitoring residential water usage by reading municipal water meter with hall effect sensor arduino.