When you open the serial monitor you will see 0ml.
Water flow sensor arduino program.
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.
Water flow sensor for flow rate volume measurement using arduino code along with.
Water flow sensor arduino test 1.
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.
There will be no interrupt signal seen at the pin 2 of the arduino and the count of the flow frequency will be zero.
For the water measurement i will be using a feeder which is marked with 20 40 and 60ml.
Connecting the water flow sensor to arduino requires minimal interconnection.
While the arduino is connected with the laptop open the serial monitor.
The rest of the program is well commented.
How to use water flow sensor arduino tutorial.
When the water flows through the rotor rotor rolls and the speed.
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.
In our project we connected the water flow sensor to a pipe.
If the output valve of the pipe is closed the output of the water flow sensor is zero no pulses.
Water flow sensor arduino tests.
Use this arduino flow rate sensor with a solenoid valve to monitor and control the water used.