We will be taking a look at yf s201 water flow sensor its construction and working and how to interface with arduino to extract some useful readings.
Water flow sensor arduino lcd.
In this project use the yf s201 1 2 inch water flow sensor to measure the water flow rate l min and display it on an lcd.
Flow sensor helps you to calculate the flow rate and volume of liquid that has passed through the pipe.
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.
The water flow sensor circuit diagram is shown below to interface a water flow sensor and lcd 16x2 with arduino.
In this tutorial you will learn how to use one water flow sensor with an arduino board the water flow sensor consists of a plastic valve body a water rotor and a hall effect sensor.
The water flow sensor has 3 different wires red yellow and black as shown in the figure below.
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 this is a very wonderful project that can be used in industry or at home or at water flow measurement application in water tap tunnel river etc.
In this post we are going to construct a digital water flow meter using arduino and 16 x 2 lcd display.
When the water flows through the rotor rotor rolls and the speed.
How to use water flow sensor arduino tutorial.
The connection of the water flow sensor and lcd 16x2 with the arduino is given below in table format.
Water flow sensor for flow rate volume measurement using arduino code along with.
This is used to read the pulses coming from the flow meter.
Upload the flow meter code to your arduino.
The red wire is.
View the complete project tutorial.
Lcd 16 x 2.