This is used to read the pulses coming from the flow meter.
Water flow controller arduino.
Flow meter is actually a valve.
In this tutorial i am going to teach you about how to use arduino flow meter to measure the amount of water passing through the water valve.
One can control the valve manually and digitally in order to limit the flow of water through the pipe.
When the arduino detects the pulse it immediately triggers the pulsecounter function.
How to use water flow sensor arduino tutorial.
The code uses an external interrupt on the arduino s digital pin 2.
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.
Uploading the flow meter code to the arduino and measuring water flow rate.
By using a flow sensor with a microcontroller like arduino we can calculate the flow rate and check the volume of liquid that has passed through a pipe and control it as required.
Besides the arduino s serial monitor we also used our dso to measure pulse output from the water flow sensor.
Apart from manufacturing industries flow sensors can also be found in the agriculture sector food processing water management mining industry water recycling.
Water flow sensor arduino water flow rate volume measurement in this tutorial you will learn how to accurately measure the water flow rate and water volume using the water flow sensor yf s401 arduino uno and a 12v dc water pump.
Upload the flow meter code to your arduino.
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.
Project showcase by karthickcj0083.
Are you looking to control your tank water level automatically here s the post for you how can water level be controlled automatically.
Next we connected the water flow sensor s output to the arduino board filled with the sketch and allowed water flow through the water flow sensor at a steady rate of about 1 litre minute.