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. General Discussion
  3. WatermeterPluseSensor How to parameter ?

WatermeterPluseSensor How to parameter ?

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 59 Views 2 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.
  • D Offline
    D Offline
    Diazovitch69
    wrote on last edited by
    #1

    Hi,

    I made an assembly with an arduino nano and a YF-B1 impulse flowmeter, here are the manufacturer characteristics:

    • Mini. Wokring Voltage: DC 4.5V
    • Max. Working Current: 15mA (DC 5V)
    • Working Voltage: DC 5V~15V
    • Flow Rate Range: 1~25L/min
    • Frequency: F=11*Q(Q=L/MIN)

    https://media.digikey.com/pdf/Data Sheets/Seeed Technology/114991171_Web.pdf

    And i don't know which value i have to insert here :

    #define PULSE_FACTOR 32258 // Number of blinks per m3 of your meter (One rotation/liter)

    Otherwise everything works perfectly for the transmission of data on domoticz.

    Thank you.

    YveauxY 1 Reply Last reply
    0
    • D Diazovitch69

      Hi,

      I made an assembly with an arduino nano and a YF-B1 impulse flowmeter, here are the manufacturer characteristics:

      • Mini. Wokring Voltage: DC 4.5V
      • Max. Working Current: 15mA (DC 5V)
      • Working Voltage: DC 5V~15V
      • Flow Rate Range: 1~25L/min
      • Frequency: F=11*Q(Q=L/MIN)

      https://media.digikey.com/pdf/Data Sheets/Seeed Technology/114991171_Web.pdf

      And i don't know which value i have to insert here :

      #define PULSE_FACTOR 32258 // Number of blinks per m3 of your meter (One rotation/liter)

      Otherwise everything works perfectly for the transmission of data on domoticz.

      Thank you.

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @Diazovitch69 could you give 11000 a try? (11 pulses per liter, 1000 liter per m3)
      A simple test setup by connecting eg a bottle holding 1 liter to the sensor can help to confirm this number.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      1
      • D Offline
        D Offline
        Diazovitch69
        wrote on last edited by
        #3

        Hi,
        I do the test with a little pump.
        I have filled a 15 liter bucket and domoticz tells me 20 liters with a pulse factor set to 300 000.

        YveauxY 1 Reply Last reply
        0
        • D Diazovitch69

          Hi,
          I do the test with a little pump.
          I have filled a 15 liter bucket and domoticz tells me 20 liters with a pulse factor set to 300 000.

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @Diazovitch69 said in WatermeterPluseSensor How to parameter ?:

          I have filled a 15 liter bucket and domoticz tells me 20 liters with a pulse factor set to 300 000.

          Ok, then the factor should be 15*300 000/20=225 000

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Diazovitch69
            wrote on last edited by
            #5

            The pulse factor is the number of blincks per m3.
            It cannot be lower if the measured volume is lower.
            300 000 pulses --> 1m3 or 6000 --> 20L
            But this 6000 pulses correspond to 15L.
            Si for a m3, 6000/15*1000 = 400 000 pulses/m3
            What do you think about this ?
            However, the volume in domoticz increases by 10 in 10 liter and sometime the domoticz device adds 10 liters.
            I'm not sure if the reliability of the data is related to my flow meter or the arduino code.DATA.JPG

            YveauxY 1 Reply Last reply
            0
            • D Diazovitch69

              The pulse factor is the number of blincks per m3.
              It cannot be lower if the measured volume is lower.
              300 000 pulses --> 1m3 or 6000 --> 20L
              But this 6000 pulses correspond to 15L.
              Si for a m3, 6000/15*1000 = 400 000 pulses/m3
              What do you think about this ?
              However, the volume in domoticz increases by 10 in 10 liter and sometime the domoticz device adds 10 liters.
              I'm not sure if the reliability of the data is related to my flow meter or the arduino code.DATA.JPG

              YveauxY Offline
              YveauxY Offline
              Yveaux
              Mod
              wrote on last edited by
              #6

              @Diazovitch69 said in WatermeterPluseSensor How to parameter ?:

              It cannot be lower if the measured volume is lower.

              You say 15 liters in reality, gets reported as 20 in domoticz. Hence the factor should be lowered as stated in my post.
              If the reporting is non linear, due to whatever reason, you will never get it right with a linear conversion factor...

              http://yveaux.blogspot.nl

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Diazovitch69
                wrote on last edited by
                #7

                No, I define the number of pulses for 1m3. This data is theoretical and to be verified.
                Adjusted to 300,000 pulses per m3 or 6,000 pulses per 20 liters, I obtain an actual volume of 15 liters. So I had for 6000 pulses a volume of 15 liters.
                So if I had waited to have one m3, I would have had 1000 liters / 15 liters = 66.67 * 6000 pulses = 400,000 pulses per m3.

                For your second sentence I agree and that is the problem.

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


                12

                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