This video really helped me a lot.....my sensor wasn't showing any readings then I realized the problem was with the source and ground connections. Thankyou❣
@@batterynerd8779 I don't know what you understood but do you agree that the pressure at the bottom of a tank is not the same according to the high of water in the tank? And then when you connect the water flow sensor to a tap at the bottom of a tank, you will see that the number of pulses is different according to the level of water in the tank. So yes, I agree with what he said, I even experienced it.
Water can absolutely be pressurized. How do you think it gets above the first floor in a skyscraper. And not to totally rock your world, it can be compressed too with with enough (wait for it) pressure.
@ water cannot really be pressurized like for example air. It does not change density. But yes, if your have a force pushing on the water, the water also has that pressure.
Hello , I have a problem regarding to print both flow rate and volume. The error of the code is lastTime is not declared in code. Do i have to declare it in the beginning of the code?
hey there, sorry to bother you! If you're calibrating this sensor using a measuring tool, how much water do you use for calibration? Also, after a few tries, how do you end up with a value like 2.663? Do you take an average? If yes, how do you figure out the average?
Halo kak, kebetulan banget saya lagi ambil sensor ini untuk tugas akhir. Jadi saya sempet disinggung mengenai persamaan yang dipake sensor dalam program. Berarti saya bisa gunain persamaan yang kakak pake juga ? dan juga berarti di dalam program ini tidak menyinggung satuan flow rate ya ka? Semoga kakak bisa menjawab pertanyaan saya, terima kasih kak!
Seems to me to be an elaborate way of doing the job. Wouldn't it make more sense to use a fourteen bit binary counter and save on interrupt calls? The core of this device is actually liters per pulse !!!. Therefore you would have automatic quantity measurement. Timer interrupts can give flow rate measurements if required.
Hey quick question, I am building a heat exchanger test facility for senior design and need to retrieve flow rate. What I am confused of is that the Arduino circuit builder's online usually places a 10kohm resistor between the flowmeter wiring circuit, I was wondering why the do this? I understand why you'd need a paired resistor for a thermistors, but not for a flowmeter with a digital input. Thanks!
if the resistor is connected between the signal and VCC, it is a pull up resistor. It will force the signal HIGH when there is floating (unknown signal state) so it won't confuse the arduino.
This reply sounds cool but I'm an SE so I don't understand. Assembly, maybe. GPIO, okay. Power meets code? My brain is split open like a womb in a cesarian.
I have a doubt.. lets say I am setting this up to detect dry run and immediately shutoff motor if there is water . when there is no water, motor pushes the air. will this show as water flowing where in fact the air is moving the fan inside the sensor?
It is not ideal of course, better to put arduino in short distance with the sensor, then you can transfer the data using many ways to your monitoring station.
@@miliohm thanks for the replay. In fact i can't put it close because i will be monitoring two pipes. One in the basement the other one on the roof. Thats why i need to extend one of the wires and keep the board inside the house.
@@miliohm i had tried earlier.......but fuel flows in bikes is not frequent as water in any pipe....i mean to say that.....i had placed it just after fuel tank.....due to this flow was stopped after sometime as the system below the sensor loaded with fuel and next flow starts after the fuel consumed by bike and also flow was like seeping......i think it would be better to place it before atomizer....what do u think...plz reply
I love this video!! Problem is that I get "error: 'increase' was not declared in this scope attachInterrupt(digitalPinToInterrupt(sensorPin), increase, RISING);" error. I've been searching for a while now. Anyone got a suggestion? Thanks in advance.
Hi! Can I ask if this sensor can detect fish movement in the water? Or do you have any other recommended sensors for sensing the fish's movement in the water? I'm looking forward to hearing from you. Thank you!
Itu dari matematika sederhana aja kak, dari hasil percobaan berapa pulsa untuk menghasilkan volume tertentu. Jadi dibandingkan aja. Dari hasil percobaan saya 2,663 pulsa menghasilkan 1mL
This video really helped me a lot.....my sensor wasn't showing any readings then I realized the problem was with the source and ground connections. Thankyou❣
Brilliant. I used so long time to fix the ESP error code, and first try on YT you fixed it !! thank you .. I use this code to send signal to MQTT :)
Dear @miliohm, thank you for the simple and clear explanation about make Water Meter with Arduino or ESP8266. Best regards from Ukraine!
I was trying to solve the error from esp and I finally managed thanks to you❤
I'm glad the video helped!
Great video, exactly what I wanted
Accuracy will change with pressure. When water is flowing with low pressure the pulses will be different than when with higher pressure.
Makes no sense. Water cant be pressurized
@@batterynerd8779 yes it can.
@@batterynerd8779 I don't know what you understood but do you agree that the pressure at the bottom of a tank is not the same according to the high of water in the tank? And then when you connect the water flow sensor to a tap at the bottom of a tank, you will see that the number of pulses is different according to the level of water in the tank. So yes, I agree with what he said, I even experienced it.
Water can absolutely be pressurized. How do you think it gets above the first floor in a skyscraper. And not to totally rock your world, it can be compressed too with with enough (wait for it) pressure.
@ water cannot really be pressurized like for example air. It does not change density. But yes, if your have a force pushing on the water, the water also has that pressure.
Hello , I have a problem regarding to print both flow rate and volume. The error of the code is lastTime is not declared in code.
Do i have to declare it in the beginning of the code?
using the esp8266 and the exact code at the end of the video it didn't register any pulses im a bit of a noob so any help would be appreciated
hey there, sorry to bother you! If you're calibrating this sensor using a measuring tool, how much water do you use for calibration? Also, after a few tries, how do you end up with a value like 2.663? Do you take an average? If yes, how do you figure out the average?
Hi, how can i atach a LCD with i2c to Show the datas?
Halo kak, kebetulan banget saya lagi ambil sensor ini untuk tugas akhir. Jadi saya sempet disinggung mengenai persamaan yang dipake sensor dalam program. Berarti saya bisa gunain persamaan yang kakak pake juga ? dan juga berarti di dalam program ini tidak menyinggung satuan flow rate ya ka? Semoga kakak bisa menjawab pertanyaan saya, terima kasih kak!
Can i change the values and find how much volume of air is blowed through the sensor??
from were did you get the correlation ,V=2.663*pulse,can u please explain
He pours water through the sensor into a jug and measures the water and the number of pulses to calibrate the sensor and his was 2.663
The explanation is good
Does it work with Sonoff?
How can I display it from the LCD
If there's air pressure in the system, say from the water supply network, will this pick it up as well?
As long as the turbine rotate inside it will count
Seems to me to be an elaborate way of doing the job. Wouldn't it make more sense to use a fourteen bit binary counter and save on interrupt calls? The core of this device is actually liters per pulse !!!. Therefore you would have automatic quantity measurement. Timer interrupts can give flow rate measurements if required.
Hey quick question, I am building a heat exchanger test facility for senior design and need to retrieve flow rate. What I am confused of is that the Arduino circuit builder's online usually places a 10kohm resistor between the flowmeter wiring circuit, I was wondering why the do this? I understand why you'd need a paired resistor for a thermistors, but not for a flowmeter with a digital input. Thanks!
if the resistor is connected between the signal and VCC, it is a pull up resistor. It will force the signal HIGH when there is floating (unknown signal state) so it won't confuse the arduino.
This reply sounds cool but I'm an SE so I don't understand. Assembly, maybe. GPIO, okay.
Power meets code? My brain is split open like a womb in a cesarian.
I have a doubt.. lets say I am setting this up to detect dry run and immediately shutoff motor if there is water . when there is no water, motor pushes the air. will this show as water flowing where in fact the air is moving the fan inside the sensor?
Yes, whatever flowing through the sensor Will be counted
i am mess with delay dan millis, but with this video, i had a clue hehe, thanks :D
Thank you. This is exactly what I need. Is there a way to display the flow on a screen?
is it possible to connect the water flow sensor directly to the esp8266 board?
the flow sensor operated at 5v to 24v, and the pulse output is at 5v.
you should watch the entire video, and you will get the answer
can you listdown how to get the list of metarial
how does the code change if i use esp32 instead?
thank you for your video it worked for me and I hope I can get it's score
can this Water Flow Sensor be installed directly in the pipe where tap water passes?
as long as the turbine inside is spinning then it should work.
@@miliohm Thank you, would it be possible to control the volume using only pure electronic component? or adruino /esp is needed?
@@WhereLeoYou can use a Arduino Mega to control all your home. I'm from Spain, and I don't speak a lot of english but in spanish that call "Domótica"
Great! This is what im looking for
can you use it for oils ?
yes
Excellent video
Thank you for the video, do you think i can extend the flow sensor wires upto 40 meters? will i be able to receive the pulses from the wire ?
It is not ideal of course, better to put arduino in short distance with the sensor, then you can transfer the data using many ways to your monitoring station.
@@miliohm thanks for the replay. In fact i can't put it close because i will be monitoring two pipes. One in the basement the other one on the roof. Thats why i need to extend one of the wires and keep the board inside the house.
@@traffic1122 you can use like internet of things or LAN or even Lora to transfer the data. And give each arduino a outdoor case.
@@miliohm sound good. I will think it out. By the way, I can connect two water flow sensors to one Arduino, right?
Can you use it to measure air flow rate ??
I love ur work.
Men can you do the volume and flowrate combine in 1code/1run?
Thankyou in advance
You can print the volume before it reset after a time interval.
Can i use it for fuel meter in bikes.........plz reply
I think yes, but you have to calibrate it. Make sure it is accurate
@@miliohm i had tried earlier.......but fuel flows in bikes is not frequent as water in any pipe....i mean to say that.....i had placed it just after fuel tank.....due to this flow was stopped after sometime as the system below the sensor loaded with fuel and next flow starts after the fuel consumed by bike and also flow was like seeping......i think it would be better to place it before atomizer....what do u think...plz reply
You are right, sometimes when the water is too little, the water cannot turn the turbine. So maybe you should use the sensor with smallest diameter?
why you multiply by 2.663
Sensar price please sir
How calibrate the water flow sensor can you make video about that😊
Just put a funnel on top of the sensor, pour 100 ml of water and check how many pulses you get
I love this video!! Problem is that I get "error: 'increase' was not declared in this scope attachInterrupt(digitalPinToInterrupt(sensorPin), increase, RISING);" error. I've been searching for a while now. Anyone got a suggestion? Thanks in advance.
did you define the increase function?
Thank you
Hi! Can I ask if this sensor can detect fish movement in the water? Or do you have any other recommended sensors for sensing the fish's movement in the water? I'm looking forward to hearing from you. Thank you!
Its a water flow sensor. It will not detect fish movement in water
@@peterc6964 I mean the movement of the water
send me code of water flow sensor using stm32 pleas me
could you tell me how to get 2.663 please?
Itu dari matematika sederhana aja kak, dari hasil percobaan berapa pulsa untuk menghasilkan volume tertentu. Jadi dibandingkan aja. Dari hasil percobaan saya 2,663 pulsa menghasilkan 1mL
ohh okeeyy makasii kak
@@miliohm is it really 1mL making 2663 pulse, i think you have written wrong, it might be 1 litre not 1 milli litre? can you please confirm
I love U
Sensar price please sir