Uploading the flow meter code to the arduino and measuring water flow rate.
Water flow controller arduino.
When the arduino detects the pulse it immediately triggers the pulsecounter function.
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.
Flow meter is actually a valve.
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.
One can control the valve manually and digitally in order to limit the flow of water through the pipe.
This is used to read the pulses coming from the flow meter.
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.
The code uses an external interrupt on the arduino s digital pin 2.
Besides the arduino s serial monitor we also used our dso to measure pulse output from the water flow sensor.
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.
Are you looking to control your tank water level automatically here s the post for you how can water level be controlled automatically.
Automatic water level controller.
Upload the flow meter code to your arduino.
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.
Project showcase by karthickcj0083.
Apart from manufacturing industries flow sensors can also be found in the agriculture sector food processing water management mining industry water recycling.
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.