Water Flow Sensor Arduino Example
When the water flows through the rotor rotor rolls and the speed of it changes with a different rate of flow.
Water flow sensor arduino example. I am intending to attach 7 g1 2 water flow sensors to my arduino. The hall effect sensor outputs the corresponding pulse signal. There are a variety of flow sensors of different principles but for makers using arduino or raspberry pi the most common flow sensor is based on a hall device. There are only three wires coming from the flow rate sensor.
Working of yfs201 hall effect water flow sensor. The water flow sensor circuit diagram is shown below to interface a water flow sensor and lcd 16x2 with arduino. 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. When the water or air flows.
In this tutorial you will learn how to use one water flow sensor with an arduino board. Since it works on 5v it can be interfaced with any microcontroller like arduino for example. This project is using arduino microcontroller with hall s effect based water flow sensor yf s201 and lcd is to display output. According to the hall effect a voltage difference is induced in a conductor transverse to the electric current and the magnetic field perpendicular to it.
I don t require l min just the volume of water used. It has a plastic valve body with a rotor and a hall sensor circuit. Like a municipal meter on my raspberry pi web interface. The water flow sensor used in this project is shown in the image below.
The water flow sensor for flow rate volume measurement using arduino works on the principle of the hall effect. Connect the vcc and gnd of the flow meter to the arduino s vcc and gnd. For example the most classic water flow sensor yf s402 and yf s201 rely on hall sensors. The connections required for this flow rate sensor with respect to the arduino are very minimal.
The connection of the water flow sensor and lcd 16x2 with the arduino is given below in table format. In this tutorial we will be hooking up a flow sensor to an arduino uno to measure liquid flow. People often use water flow sensor for automatic water heater control diy coffee machines water vending machines etc. The water flow sensor consists of a plastic valve body a water rotor and a hall effect sensor.
The 5v vcc red wire the gnd black wire and the signal pulse usually yellow line. I only want a cumulative reading e g. If you are new to arduino and lcds you can consider reading this interfacing arduino and lcd article. If i could get the leonardo to light a led every time 5 litres passed that would be perfect for the rpi.
Sensor is using hall s effect.