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

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 76

  • @dravidr.krishna6658
    @dravidr.krishna6658 7 місяців тому +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❣

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

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

    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!

  • @mikebarry229
    @mikebarry229 2 дні тому

    Great video, exactly what I wanted

  • @AccC-c6d
    @AccC-c6d 5 місяців тому +4

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

    • @batterynerd8779
      @batterynerd8779 3 місяці тому

      Makes no sense. Water cant be pressurized

    • @NothanPelletier
      @NothanPelletier 3 місяці тому

      ​@@batterynerd8779 yes it can.

    • @francoiskinda8053
      @francoiskinda8053 Місяць тому

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

    • @tonka.cruiser
      @tonka.cruiser 27 днів тому

      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.

    • @batterynerd8779
      @batterynerd8779 26 днів тому

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

  • @nathenieldanta9731
    @nathenieldanta9731 10 місяців тому

    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?

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

  • @rumpie1470
    @rumpie1470 8 місяців тому

    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 10 місяців тому

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

  • @ikkedwipratiwi367
    @ikkedwipratiwi367 9 місяців тому

    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!

  • @kunalwagh2129
    @kunalwagh2129 Рік тому

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

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

  • @izzuddinshofar
    @izzuddinshofar 2 роки тому +1

    The explanation is good

  • @roglopes.mobile2568
    @roglopes.mobile2568 7 місяців тому

    Does it work with Sonoff?

  • @krisdarlenecarmenamante3523

    How can I display it from the LCD

  • @roiad876
    @roiad876 9 місяців тому

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

    • @edwinmaywa
      @edwinmaywa 5 місяців тому

      As long as the turbine rotate inside it will count

  • @BarMagnet
    @BarMagnet 10 місяців тому

    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.

  • @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 2 місяці тому

      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.

  • @santhoshkumar87
    @santhoshkumar87 8 місяців тому

    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  8 місяців тому

      Yes, whatever flowing through the sensor Will be counted

  • @wisnuindrawan6496
    @wisnuindrawan6496 2 роки тому

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

  • @Harjinder.Australia
    @Harjinder.Australia Рік тому

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

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

  • @haziqhasnizan8050
    @haziqhasnizan8050 Рік тому

    can you listdown how to get the list of metarial

  • @dimi5929
    @dimi5929 Рік тому

    how does the code change if i use esp32 instead?

  • @Geek_Daily
    @Geek_Daily Рік тому

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

  • @WhereLeo
    @WhereLeo 6 місяців тому

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

    • @miliohm
      @miliohm  6 місяців тому

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

    • @WhereLeo
      @WhereLeo 6 місяців тому

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

    • @yukdro1827
      @yukdro1827 Місяць тому +1

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

  • @sinnesia2958
    @sinnesia2958 2 роки тому

    Great! This is what im looking for

  • @NDEGWAMWANGI-y6d
    @NDEGWAMWANGI-y6d Рік тому

    can you use it for oils ?

  • @SarahGreatBooks
    @SarahGreatBooks Рік тому

    Excellent video

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

  • @SuperMario-ij4om
    @SuperMario-ij4om Рік тому +1

    Can you use it to measure air flow rate ??

  • @ewanewan585
    @ewanewan585 2 роки тому +1

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

    • @miliohm
      @miliohm  2 роки тому

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

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

  • @yaswanthcdac
    @yaswanthcdac 2 місяці тому

    why you multiply by 2.663

  • @madhukunam3637
    @madhukunam3637 Рік тому

    Sensar price please sir

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

  • @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 3 місяці тому

      did you define the increase function?

  • @seekingalpha9818
    @seekingalpha9818 10 місяців тому

    Thank you

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

  • @abdabd-hc8tv
    @abdabd-hc8tv 11 місяців тому

    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