Using A Flow Sensor With Arduino
In this tutorial we will be hooking up a Flow Sensor to an Arduino Uno to measure liquid flow. This type of flow sensor is designed to measure the volume of liquid traveling past a given point, a great way to keep tabs on how much water your drip irrigation system is using, or any other project were the flow of liquid needs to be tracked. We like this basic flow sensors because of its relatively low cost and ease of use.
A Few Considerations:
Before we jump into getting this sensor hooked up there are a few points to consider when using it in a project.
• These are not able to monitor a flow of less than 1 liter per minute or in excess of 30 liters per minute.
• The sensor is rated to a Maximum of 2.0MPa (290 PSI)
How It Works:
The sensor itself is very simple inside; there is a small flapper wheel that spins as water flows past. A magnet on the flapper wheel triggers a hall effect sensor which sends a momentary pulse down the output wire with each revolution. Knowing that there are 450 pulses per liter, we can then determine the flow rate over time or the total volume that has passed… or both!
If you have any questions, or need further clarification please post in the comments section below; this way future users of this tutorial can see the questions and answers!