How to Use Water Flow Sensor (Make Water Meter with Arduino or ESP8266)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2022
  • In this video, I explain how the Water flow meter works and how to use it with Arduino and ESP8266 board NodeMCU. So we can build water meter with arduino.
    My Arduino Basic Course :
    Coming Soon!
    Join this channel to support me or to get access to perks:
    / @miliohm
    Code on video :
    miliohm.com/how-to-use-a-wate...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 62

  • @dravidr.krishna6658
    @dravidr.krishna6658 25 วันที่ผ่านมา

    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❣

  • @liteglow2000
    @liteglow2000 10 หลายเดือนก่อน +1

    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 :)

  • @user-hy6li1wl5c
    @user-hy6li1wl5c 9 หลายเดือนก่อน +1

    Dear @miliohm, thank you for the simple and clear explanation about make Water Meter with Arduino or ESP8266. Best regards from Ukraine!

  • @ioanapetrescu6109
    @ioanapetrescu6109 ปีที่แล้ว +4

    I was trying to solve the error from esp and I finally managed thanks to you❤

    • @miliohm
      @miliohm  ปีที่แล้ว

      I'm glad the video helped!

  • @sinnesia2958
    @sinnesia2958 ปีที่แล้ว

    Great! This is what im looking for

  • @wisnuindrawan6496
    @wisnuindrawan6496 ปีที่แล้ว

    i am mess with delay dan millis, but with this video, i had a clue hehe, thanks :D

  • @brar5353
    @brar5353 8 หลายเดือนก่อน

    Thank you. This is exactly what I need. Is there a way to display the flow on a screen?

  • @Geek_Daily
    @Geek_Daily 11 หลายเดือนก่อน

    thank you for your video it worked for me and I hope I can get it's score

  • @izzuddinshofar
    @izzuddinshofar ปีที่แล้ว

    The explanation is good

  • @sarahdavis2653
    @sarahdavis2653 7 หลายเดือนก่อน

    Excellent video

  • @conradstanley1027
    @conradstanley1027 11 หลายเดือนก่อน

    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.

  • @roiad876
    @roiad876 3 หลายเดือนก่อน

    If there's air pressure in the system, say from the water supply network, will this pick it up as well?

  • @seekingalpha9818
    @seekingalpha9818 4 หลายเดือนก่อน

    Thank you

  • @JJVgaming
    @JJVgaming ปีที่แล้ว +1

    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!

    • @miliohm
      @miliohm  ปีที่แล้ว

      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.

  • @kunalwagh2129
    @kunalwagh2129 8 หลายเดือนก่อน

    Can i change the values and find how much volume of air is blowed through the sensor??

  • @nathenieldanta9731
    @nathenieldanta9731 4 หลายเดือนก่อน

    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?

  • @user-tp1ez8ey3x
    @user-tp1ez8ey3x 7 หลายเดือนก่อน

    can you use it for oils ?

  • @haziqhasnizan8050
    @haziqhasnizan8050 9 หลายเดือนก่อน

    can you listdown how to get the list of metarial

  • @rumpie1470
    @rumpie1470 2 หลายเดือนก่อน

    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?

  • @johnnyb3884
    @johnnyb3884 4 หลายเดือนก่อน

    Hi, how can i atach a LCD with i2c to Show the datas?

  • @ewanewan585
    @ewanewan585 ปีที่แล้ว

    I love ur work.
    Men can you do the volume and flowrate combine in 1code/1run?
    Thankyou in advance

    • @miliohm
      @miliohm  ปีที่แล้ว

      You can print the volume before it reset after a time interval.

  • @krisdarlenecarmenamante3523
    @krisdarlenecarmenamante3523 9 หลายเดือนก่อน

    How can I display it from the LCD

  • @kianleddy9606
    @kianleddy9606 ปีที่แล้ว

    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

  • @user-zc7vt9wh6d
    @user-zc7vt9wh6d ปีที่แล้ว +1

    from were did you get the correlation ,V=2.663*pulse,can u please explain

    • @sarahdavis2653
      @sarahdavis2653 7 หลายเดือนก่อน

      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

  • @dimi5929
    @dimi5929 ปีที่แล้ว

    how does the code change if i use esp32 instead?

  • @traffic1122
    @traffic1122 ปีที่แล้ว

    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 ?

    • @miliohm
      @miliohm  ปีที่แล้ว +1

      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.

    • @traffic1122
      @traffic1122 ปีที่แล้ว

      @@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
      @miliohm  ปีที่แล้ว +1

      @@traffic1122 you can use like internet of things or LAN or even Lora to transfer the data. And give each arduino a outdoor case.

    • @traffic1122
      @traffic1122 ปีที่แล้ว

      @@miliohm sound good. I will think it out. By the way, I can connect two water flow sensors to one Arduino, right?

  • @elsh11
    @elsh11 ปีที่แล้ว

    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.

    • @miliohm
      @miliohm  ปีที่แล้ว

      you should watch the entire video, and you will get the answer

  • @BarMagnet
    @BarMagnet 4 หลายเดือนก่อน

    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.

  • @roglopes.mobile2568
    @roglopes.mobile2568 หลายเดือนก่อน

    Does it work with Sonoff?

  • @santhoshkumar87
    @santhoshkumar87 2 หลายเดือนก่อน

    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?

    • @miliohm
      @miliohm  2 หลายเดือนก่อน

      Yes, whatever flowing through the sensor Will be counted

  • @louie8878
    @louie8878 ปีที่แล้ว

    How calibrate the water flow sensor can you make video about that😊

    • @m.furkaner7418
      @m.furkaner7418 10 หลายเดือนก่อน

      Just put a funnel on top of the sensor, pour 100 ml of water and check how many pulses you get

  • @ikkedwipratiwi367
    @ikkedwipratiwi367 3 หลายเดือนก่อน

    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!

  • @WhereLeo
    @WhereLeo 15 วันที่ผ่านมา

    can this Water Flow Sensor be installed directly in the pipe where tap water passes?

    • @miliohm
      @miliohm  15 วันที่ผ่านมา

      as long as the turbine inside is spinning then it should work.

    • @WhereLeo
      @WhereLeo 15 วันที่ผ่านมา

      @@miliohm Thank you, would it be possible to control the volume using only pure electronic component? or adruino /esp is needed?

  • @michaelxyPL
    @michaelxyPL ปีที่แล้ว

    I love U

  • @Davestated.
    @Davestated. 10 หลายเดือนก่อน

    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!

    • @peterc6964
      @peterc6964 10 หลายเดือนก่อน

      Its a water flow sensor. It will not detect fish movement in water

    • @Davestated.
      @Davestated. 10 หลายเดือนก่อน

      @@peterc6964 I mean the movement of the water

  • @SuperMario-ij4om
    @SuperMario-ij4om 8 หลายเดือนก่อน

    Can you use it to measure air flow rate ??

  • @madhukunam3637
    @madhukunam3637 11 หลายเดือนก่อน

    Sensar price please sir

  • @Atri315
    @Atri315 ปีที่แล้ว

    Can i use it for fuel meter in bikes.........plz reply

    • @miliohm
      @miliohm  ปีที่แล้ว

      I think yes, but you have to calibrate it. Make sure it is accurate

    • @Atri315
      @Atri315 ปีที่แล้ว

      @@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

    • @miliohm
      @miliohm  ปีที่แล้ว

      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?

  • @abdabd-hc8tv
    @abdabd-hc8tv 5 หลายเดือนก่อน

    send me code of water flow sensor using stm32 pleas me

  • @nindasyafa460
    @nindasyafa460 ปีที่แล้ว

    could you tell me how to get 2.663 please?

    • @miliohm
      @miliohm  ปีที่แล้ว

      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

    • @nindasyafa460
      @nindasyafa460 ปีที่แล้ว

      ohh okeeyy makasii kak

    • @techgridzsolutions
      @techgridzsolutions ปีที่แล้ว

      @@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

  • @madhukunam3637
    @madhukunam3637 11 หลายเดือนก่อน

    Sensar price please sir