The sensor may be placed after the main gate valve of tank.
Water flow sensor diagram.
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.
Rate of flow of water is measured as liters per hour or cubic meters.
The water can be injected from one end and water flows through the other end.
Water flow sensor for flow rate volume measurement using arduino code along with.
Water flow sensors are installed at the water source or pipes to measure the rate of flow of water and calculate the amount of water flowed through the pipe.
Hence i have not used any external pull up resistors.
The circuit diagram for arduino water flow sensor interface is shown in the image below.
Arduino water flow sensor working.
If you want to measure the water flow in a network of water pipes or you can place just before a water tap to measure the water flow of single tap.
There will be no interrupt signal seen at the pin 2 of the arduino and the count of the flow frequency will be zero.
Internally the output pin of the hall effect sensor is pulled high on the circuit board itself as you can see in the breakdown image show above.