Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Announcements
  3. 💬 Water Meter Pulse Sensor

💬 Water Meter Pulse Sensor

Scheduled Pinned Locked Moved Announcements
109 Posts 37 Posters 30.9k Views 35 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RPunktR Offline
    RPunktR Offline
    RPunkt
    wrote on last edited by
    #59

    I have a question and need some advise,
    is it possible to expand the sketch to two meters.
    In my case I want to combine a this Water Meter with a Gas Meter.
    Can both meters use an interrupt, each?

    mfalkviddM 1 Reply Last reply
    0
    • RPunktR RPunkt

      I have a question and need some advise,
      is it possible to expand the sketch to two meters.
      In my case I want to combine a this Water Meter with a Gas Meter.
      Can both meters use an interrupt, each?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #60

      @rpunkt welcome to the MySensors community!

      it depends on which microcontroller you use, and what type of interrupt.

      Atmega328 can use pin 2 and 3 at the same time by merging the sketches. More/other pins can be used but that will require some code changes.

      1 Reply Last reply
      0
      • S smilvert

        I having problem to place the tcrt5000 on the correct place. Can anyone please show where to put it? Is it over the black (that spins every 0.5 l)?

        I have this type of water meter alt text

        F Offline
        F Offline
        flopp
        wrote on last edited by
        #61

        @smilvert
        I also have same meter as the picture. Yesterday I installed my sensor
        I took a TCRT5000 IR sensor, https://www.mysensors.org/store/water
        A cap from a soda bottle, cut it so it fits above left red wheel(X0,0001) which means one lap i 1 liter
        It works but it counts little bit wrong, I have change the

        if (interval<500000L)
        

        to

        if (interval<2500000L)
        

        but anyway it counts about 3 times to much. I will check it later today

        0_1518429857989_vatten.png
        0_1518429910010_water.png

        F S 2 Replies Last reply
        0
        • F flopp

          @smilvert
          I also have same meter as the picture. Yesterday I installed my sensor
          I took a TCRT5000 IR sensor, https://www.mysensors.org/store/water
          A cap from a soda bottle, cut it so it fits above left red wheel(X0,0001) which means one lap i 1 liter
          It works but it counts little bit wrong, I have change the

          if (interval<500000L)
          

          to

          if (interval<2500000L)
          

          but anyway it counts about 3 times to much. I will check it later today

          0_1518429857989_vatten.png
          0_1518429910010_water.png

          F Offline
          F Offline
          flopp
          wrote on last edited by
          #62

          @flopp
          This didn't worked so well, I got a lot of errors everytime nRF was sending data, then I got one pulse.
          Anyone know how to protect the digital input to NOT fall when nRF sends?
          Wait, when I was writing this text :) I just remember that nRF is using Pin 2, is that correct?
          I will try to use pin 3 instead, as interrupt pin

          F 1 Reply Last reply
          0
          • F flopp

            @flopp
            This didn't worked so well, I got a lot of errors everytime nRF was sending data, then I got one pulse.
            Anyone know how to protect the digital input to NOT fall when nRF sends?
            Wait, when I was writing this text :) I just remember that nRF is using Pin 2, is that correct?
            I will try to use pin 3 instead, as interrupt pin

            F Offline
            F Offline
            flopp
            wrote on last edited by
            #63

            @flopp
            tried pin3, didn't help

            Can it be something wrong with LM393(pcb)?

            1 Reply Last reply
            0
            • F flopp

              @smilvert
              I also have same meter as the picture. Yesterday I installed my sensor
              I took a TCRT5000 IR sensor, https://www.mysensors.org/store/water
              A cap from a soda bottle, cut it so it fits above left red wheel(X0,0001) which means one lap i 1 liter
              It works but it counts little bit wrong, I have change the

              if (interval<500000L)
              

              to

              if (interval<2500000L)
              

              but anyway it counts about 3 times to much. I will check it later today

              0_1518429857989_vatten.png
              0_1518429910010_water.png

              S Offline
              S Offline
              smilvert
              wrote on last edited by
              #64

              @flopp Nice. You don't use a green led? I tried that and it seems to work better but then I struggle with the mounting.

              Need to try this again!

              F 1 Reply Last reply
              0
              • S smilvert

                @flopp Nice. You don't use a green led? I tried that and it seems to work better but then I struggle with the mounting.

                Need to try this again!

                F Offline
                F Offline
                flopp
                wrote on last edited by
                #65

                @smilvert said in 💬 Water Meter Pulse Sensor:

                You don't use a green led? I tried that and it seems to work better but then I struggle with the mounting.

                I am using IR to detect movements. Green LED is flashing eveytime the IR detects movement and Red LED is power for PCB.
                I am using Digital Output from PCB to pin 2 or 3 on my UNO. I have tried both with INPUT_PULLUP and without, also tried 20K between Digital Output and GND. nothing is helping

                How do you use green LED with water meter?

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  noname
                  wrote on last edited by
                  #66

                  Hi all i just wanna see The OUTPUT of Serial Monitor for this project sow i can see results .

                  1 Reply Last reply
                  0
                  • gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #67

                    Just enable the my_debug

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      Bur Han
                      wrote on last edited by
                      #68

                      How can i get the pulses from SonOff.... i cannot find any digital pin 3 in sonoff... im new to this please guide me

                      1 Reply Last reply
                      0
                      • SoloamS Offline
                        SoloamS Offline
                        Soloam
                        Hardware Contributor
                        wrote on last edited by
                        #69

                        Any one used this approach? From the text I see that the node sleeps! How does it measures the consumption if the node is sleeping?

                        Thank you

                        mfalkviddM 1 Reply Last reply
                        0
                        • SoloamS Soloam

                          Any one used this approach? From the text I see that the node sleeps! How does it measures the consumption if the node is sleeping?

                          Thank you

                          mfalkviddM Offline
                          mfalkviddM Offline
                          mfalkvidd
                          Mod
                          wrote on last edited by mfalkvidd
                          #70

                          @soloam could you clarify what you refer to when saying "this"? Earlier posts discuss infrared, led, magnetometer and other solutions so it is a bit hard to answer your question.

                          1 Reply Last reply
                          0
                          • SoloamS Offline
                            SoloamS Offline
                            Soloam
                            Hardware Contributor
                            wrote on last edited by
                            #71

                            @mfalkvidd hello!

                            I was referring to this statement in the site:

                            "Use this mode if you power the sensor with a battery. In this mode the sensor will sleep most of the time and only report the cumulative water volume."

                            Thank you

                            1 Reply Last reply
                            1
                            • gohanG Offline
                              gohanG Offline
                              gohan
                              Mod
                              wrote on last edited by
                              #72

                              according to the sensor you use, each pulse should wake the node and add a count, then back to sleep.

                              1 Reply Last reply
                              1
                              • SoloamS Offline
                                SoloamS Offline
                                Soloam
                                Hardware Contributor
                                wrote on last edited by
                                #73

                                That is nice! But I would have to test it out! Probably that would make the node all the time awake during a long bath! Ok, it would not use the radio all the time, but I would like to know who that would affect the battery!

                                Thank you all for the feedback

                                K 1 Reply Last reply
                                0
                                • SoloamS Soloam

                                  That is nice! But I would have to test it out! Probably that would make the node all the time awake during a long bath! Ok, it would not use the radio all the time, but I would like to know who that would affect the battery!

                                  Thank you all for the feedback

                                  K Offline
                                  K Offline
                                  kimot
                                  wrote on last edited by kimot
                                  #74

                                  @soloam
                                  We sometimes forgot about other circuit than Arduino.
                                  Use CMOS counter IC and wake up your Arduino for example every 20 impulse and read counter status.
                                  If you want Safe battery.

                                  1 Reply Last reply
                                  0
                                  • bjornhallbergB Offline
                                    bjornhallbergB Offline
                                    bjornhallberg
                                    Hero Member
                                    wrote on last edited by
                                    #75

                                    @flopp Did you ever manage to stabilize the readings? Am I understanding you correctly that the readings were fine but the transmission got the reading scrambled?

                                    Did you try to find a magnetic field with the meter instead? I have a similar meter and I'm wondering how best to approach the problem. I've seen people hook up Raspberries and cameras to do OCR basically but that seems like way too complex for an easy problem.

                                    1 Reply Last reply
                                    0
                                    • bjacobseB Offline
                                      bjacobseB Offline
                                      bjacobse
                                      wrote on last edited by bjacobse
                                      #76

                                      @flopp said in 💬 Water Meter Pulse Sensor:

                                      TCRT5000 IR senso

                                      I have not had good results using TCRT5000 IR sensor, did you?
                                      @bjornhallberg well I still think this is the best approach to use RPI + OCR

                                      https://forum.mysensors.org/topic/1594/automatic-water-meter-reading-with-a-webcam
                                      https://blog.m.nu/vattenmatning-med-raspberry-pi-och-webkamera/

                                      F zboblamontZ 2 Replies Last reply
                                      0
                                      • bjornhallbergB Offline
                                        bjornhallbergB Offline
                                        bjornhallberg
                                        Hero Member
                                        wrote on last edited by
                                        #77

                                        While looking into the water meter I realized that we are getting a "smart" meter replacement soon. I'll see if I can speed up the replacement schedule. Anyhow, the replacement is a Kamstrup Multical 21 (https://www.kamstrup.com/en-en/water-solutions/water-meters/multical-21) which has several options for reading:

                                        • Requesting the data via optical interface?
                                        • Enabling the pulse function via optical interface, and then reading the IR pulse at 1imp/10lit.
                                        • Reading the wireless mbus signal? (e.g. https://github.com/weetmuts/wmbusmeters)
                                        zboblamontZ 1 Reply Last reply
                                        0
                                        • bjornhallbergB bjornhallberg

                                          While looking into the water meter I realized that we are getting a "smart" meter replacement soon. I'll see if I can speed up the replacement schedule. Anyhow, the replacement is a Kamstrup Multical 21 (https://www.kamstrup.com/en-en/water-solutions/water-meters/multical-21) which has several options for reading:

                                          • Requesting the data via optical interface?
                                          • Enabling the pulse function via optical interface, and then reading the IR pulse at 1imp/10lit.
                                          • Reading the wireless mbus signal? (e.g. https://github.com/weetmuts/wmbusmeters)
                                          zboblamontZ Offline
                                          zboblamontZ Offline
                                          zboblamont
                                          wrote on last edited by
                                          #78

                                          @bjornhallberg Suggest you discuss with your water supplier, and see what THEY intend to deploy for comms and explain what your own objectives are, that may refine what you are looking at, and they MIGHT actually help rather than be play "stupid" which is unfortunately common nowadays. In all probability they will be looking at wireless m-bus for drive-by readings, this is the predominant method of retrieval.
                                          I admit to surprise at them deploying ultrasonics, they are on the expensive end of the market but they are extremely reliable and accurate.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          21

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular