WatermeterPluseSensor How to parameter ?



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


  • Mod

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



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


  • Mod

    @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



  • 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


  • Mod

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



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


Log in to reply
 

Suggested Topics

  • 4
  • 15
  • 9
  • 2
  • 2
  • 4

12
Online

11.4k
Users

11.1k
Topics

112.7k
Posts