Connecting the water flow sensor to arduino requires minimal interconnection.
Water flow sensor arduino program.
When the water flows through the rotor rotor rolls and the speed.
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.
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.
For the water measurement i will be using a feeder which is marked with 20 40 and 60ml.
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.
How to use water flow sensor arduino tutorial.
When you open the serial monitor you will see 0ml.
It is very simple to measure the water or liquid flow by using water flow sensor yf s201 with arduino this article describes about the water flow sensor and how the water flow sensor works then how to interface water flow sensor with arduino to take control on volume we need to measure water is essential to every thing here this article helps you to built water flow meter to measure the.
Water flow sensor arduino tests.
Arduino water flow sensor working.
While the arduino is connected with the laptop open the serial monitor.
Use this arduino flow rate sensor with a solenoid valve to monitor and control the water used.
Water flow sensor for flow rate volume measurement using arduino code along with.
In our project we connected the water flow sensor to a pipe.
You can use it in your gardening system or interface it with an lcd display for other applications that require you to measure water flow rate and quantity.
If the output valve of the pipe is closed the output of the water flow sensor is zero no pulses.