I only want 400 ml of water to pass so when the water flow sensor reads how much water has passed in the pipe if 400 is reached the solenoid will close the pipe.
Water flow sensor arduino mega.
Active 5 years 6 months ago.
If i could get the leonardo to light a led every time 5 litres passed that would be perfect for the rpi.
Like a municipal meter on my raspberry pi web interface.
I have a water flow sensor with arduino megs 2560 board.
I am trying to conceptualize the concept to calculate amount of water getting dispensed esp.
The code for the arduino water flow sensor interface is given below.
It is very simple to measure the water or liquid flow by using water flow sensor yf s201 with arduino this article describes about the water flow sensor and how the water flow sensor works then how to interface water flow sensor with arduino to take control on volume we need to measure water is essential to every thing here this article helps you to built water flow meter to measure the.
We are using the header file of the lcd which eases our interfacing the lcd with arduino and the pins 12 11 5 4 3 9 are allotted for data transfer between lcd and arduino.
In this project use the yf s201 1 2 inch water flow sensor to measure the water flow rate l min and display it on an lcd.
Measure water flow in literes using arduino mega 2560 board and water flow sensor.
Viewed 1k times 0.
I want to know if it is possible to put a boundary or limit to the volume that passes through a water flow sensor and close the pipe using a solenoid valve.
I have a water flow sensor with arduino megs 2560 board.
How to use water flow sensor arduino tutorial.
In 1 2 3 4 and 5.
There is a small calculation in the code which i will explain in the further sections.
The sensor s output pin is connected to pin 2 of.
The explanation of the code is as follows.
The output of the project is to display the quantity of water flowing through the sensor in litres per hour as shown below.
When the water flows through the rotor rotor rolls and the speed.
Water flow sensor arduino water flow rate volume measurement in this tutorial you will learn how to accurately measure the water flow rate and water volume using the water flow sensor yf s401 arduino uno and a 12v dc water pump.
In order to obtain this there is a small calculation.
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.
The water flow sensors generate pulses sec when water is flowing through it.
I don t require l min just the volume of water used.
The complete water flow sensor arduino code is given at the bottom of the page.
In my case it is 4 5 pluses per sec as per specification.
In 1 2 3 4 and 5 liters quantity.
I am intending to attach 7 g1 2 water flow sensors to my arduino.