Water Flow Sensor Switch Arduino

For this particular project we are going to use the yf s201 water flow sensor which uses a hall effect to sense the flow rate of the liquid.
Water flow sensor switch arduino. Helo sir can i get a code that helps the flow sensor to read the flow of pressure passing through the valve i mean like if the valve is completely open the sensor will detect full pressure and give out a reading of 100 likewise if its half open the sensor will detect from the pressure and give out a reading for 50 also respectively for 75. In this project i will talk a little bit water flow sensors how a water flow sensor works and how to interface a simple water flow sensor with arduino. The water flow sensor consists of a plastic valve body a water rotor and a hall effect sensor. A brief note on water flow sensor.
We will interface the water flow sensor with arduino and lcd and program it to display the volume of water which has passed through the valve. When the water flows through the rotor rotor rolls and the speed of it changes with a different rate of flow. Digiten g1 2 water flow hall sensor switch flow meter flowmeter counter 1 30l min.