Water Flow Sensor Arduino Program
Water flow sensor terdiri dari body ada yang dari plastic dan dari logam kemudian rotor dan sensor hall effect.
Water flow sensor arduino program. 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. 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. M otor yang ada di module akan bergerak dengan kecepatan yang berubah ubah sesuai dengan kecepatan. It requires only 5v vcc and gives pulse output the sensor needs to be tightly fitted between water pipeline.
The water flow sensor consists of a plastic valve body a water rotor and a hall effect sensor. The water flow sensor 5v pin is connected with the arduino s 5 volts the ground pin of the water flow sensor is connected with the arduino s ground and the signal wire is connected with the arduino s pin number 2 which is the interrupt pin. This water flow sensor has only three wires and it can be easily interfaced between any microcontroller and arduino board. Sensor ini terdiri dari beberapa bagian yaitu katup plastik rotor air dan sensor hall efek.
Water flow sensor for flow rate volume measurement using arduino code along with the circuit diagram is explained below. If the output valve of the pipe is closed the output of the water flow sensor is zero no pulses. The hall effect sensor outputs the corresponding pulse signal. 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.
Ketika cairan melalui rotor maka rotor akan berputar. Yf s201 water flow sensor. In this tutorial you will learn how to use one water flow sensor with an arduino board. In this tutorial we will be hooking up a flow sensor to an arduino uno to measure liquid flow.
Flow sensor arduino water flow sensor. This is a very wonderful project that can be used in industry or at home or at water flow measurement application in water tap tunnel river etc. When the water flows through the rotor rotor rolls and the speed of it changes with a different rate of flow. 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.
Water flow sensor adalah sensor yang mempunyai fungsi sebagai penghitung debit air yang mengalir yang dimana terjadi pergerakan motor yang akan dikonversi kedalam nilai satuan liter. Arduino water flow sensor working in our project we connected the water flow sensor to a pipe. So for the pulses counting we will be using the arduino s hardware interrupt 0. Use this arduino flow rate sensor with a solenoid valve to monitor and control the water used.
There will be no interrupt signal seen at the pin 2 of the arduino and the count of the flow frequency will be zero.