Connecting the water flow sensor to arduino requires minimal interconnection.
Water flow sensor arduino instructables.
The main loop runs around waiting for one second to have passed then compares the flow counter to the desired threshold value.
When the arduino detects the pulse it immediately triggers the pulsecounter function.
The code uses an external interrupt on the arduino s digital pin 2.
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.
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.
The water flow sensor consists of a plastic valve body a water rotor and a hall effect sensor.
Note that the water flow sensor is not a power hungry type.
Uploading the flow meter code to the arduino and measuring water flow rate.
When the water flows through the rotor rotor rolls and the speed of it changes with a different rate of flow.
This is used to read the pulses coming from the flow meter.
The hall effect sensor outputs the corresponding pulse signal.
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.
Upload the flow meter code to your arduino.
The overarching goal of th.
Arduino water flow sensoryoutube videosdocuments.
Millions of people do not have access to clean drinking water and as many as 4000 children die from water contaminated illnesses every day.
Water is a precious resource.
This type of sensor can be found on different diameters water pressure mpa.
This work aims to build an internet based system that enables the remote monitoring of a water flow meters.
Monitoring residential water usage by reading municipal water meter with hall effect sensor arduino.
It draws a maximum.
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.
It then sets the leds and relay output appropriately.
Arduino water flow sensor.
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.