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

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 70

  • @dravidr.krishna6658
    @dravidr.krishna6658 5 месяцев назад +1

    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❣

  • @ОлегЄвстафійовичЖмурко

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

  • @ioanapetrescu6109
    @ioanapetrescu6109 2 года назад +4

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

    • @miliohm
      @miliohm  2 года назад

      I'm glad the video helped!

  • @liteglow2000
    @liteglow2000 Год назад +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 :)

  • @ikkedwipratiwi367
    @ikkedwipratiwi367 8 месяцев назад

    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!

  • @rumpie1470
    @rumpie1470 6 месяцев назад

    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?

  • @AccC-c6d
    @AccC-c6d 3 месяца назад +2

    Accuracy will change with pressure. When water is flowing with low pressure the pulses will be different than when with higher pressure.

  • @Harjinder.Australia
    @Harjinder.Australia Год назад

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

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

    • @DrJimmyBob
      @DrJimmyBob 16 дней назад

      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.

  • @kianleddy9606
    @kianleddy9606 Год назад +1

    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

  • @nathenieldanta9731
    @nathenieldanta9731 9 месяцев назад

    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?

  • @AnandhuRajesh-p5i
    @AnandhuRajesh-p5i Год назад +1

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

    • @SarahGreatBooks
      @SarahGreatBooks Год назад

      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

  • @kunalwagh2129
    @kunalwagh2129 Год назад

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

  • @roiad876
    @roiad876 8 месяцев назад

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

    • @edwinmaywa
      @edwinmaywa 3 месяца назад

      As long as the turbine rotate inside it will count

  • @ewanewan585
    @ewanewan585 Год назад +1

    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.

  • @BarMagnet
    @BarMagnet 8 месяцев назад

    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.

  • @traffic1122
    @traffic1122 2 года назад

    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  2 года назад +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 2 года назад

      @@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  2 года назад +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 2 года назад

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

  • @izzuddinshofar
    @izzuddinshofar 2 года назад +1

    The explanation is good

  • @wisnuindrawan6496
    @wisnuindrawan6496 2 года назад

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

  • @Geek_Daily
    @Geek_Daily Год назад

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

  • @santhoshkumar87
    @santhoshkumar87 7 месяцев назад

    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  7 месяцев назад

      Yes, whatever flowing through the sensor Will be counted

  • @WhereLeo
    @WhereLeo 5 месяцев назад

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

    • @miliohm
      @miliohm  5 месяцев назад

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

    • @WhereLeo
      @WhereLeo 5 месяцев назад

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

  • @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  Год назад +1

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

  • @roglopes.mobile2568
    @roglopes.mobile2568 6 месяцев назад

    Does it work with Sonoff?

  • @haziqhasnizan8050
    @haziqhasnizan8050 Год назад

    can you listdown how to get the list of metarial

  • @johnnyb3884
    @johnnyb3884 8 месяцев назад

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

  • @sinnesia2958
    @sinnesia2958 2 года назад

    Great! This is what im looking for

  • @krisdarlenecarmenamante3523
    @krisdarlenecarmenamante3523 Год назад

    How can I display it from the LCD

  • @conradstanley1027
    @conradstanley1027 Год назад

    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.

    • @itstrysten
      @itstrysten 2 месяца назад

      did you define the increase function?

  • @SuperMario-ij4om
    @SuperMario-ij4om Год назад +1

    Can you use it to measure air flow rate ??

  • @Davestated.
    @Davestated. Год назад

    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 Год назад

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

    • @Davestated.
      @Davestated. Год назад

      @@peterc6964 I mean the movement of the water

  • @SarahGreatBooks
    @SarahGreatBooks Год назад

    Excellent video

  • @louie8878
    @louie8878 Год назад

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

    • @m.furkaner7418
      @m.furkaner7418 Год назад

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

  • @NDEGWAMWANGI-y6d
    @NDEGWAMWANGI-y6d Год назад

    can you use it for oils ?

  • @dimi5929
    @dimi5929 Год назад

    how does the code change if i use esp32 instead?

  • @Atri315
    @Atri315 2 года назад

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

    • @miliohm
      @miliohm  2 года назад

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

    • @Atri315
      @Atri315 2 года назад

      @@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  2 года назад

      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?

  • @seekingalpha9818
    @seekingalpha9818 9 месяцев назад

    Thank you

  • @yaswanthcdac
    @yaswanthcdac 21 день назад

    why you multiply by 2.663

  • @madhukunam3637
    @madhukunam3637 Год назад

    Sensar price please sir

  • @abdabd-hc8tv
    @abdabd-hc8tv 10 месяцев назад

    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

    • @syedshahsahabjee
      @syedshahsahabjee Год назад

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

  • @michaelxyPL
    @michaelxyPL Год назад

    I love U

  • @madhukunam3637
    @madhukunam3637 Год назад

    Sensar price please sir