Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. aram
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    aram

    @aram

    0
    Reputation
    2
    Posts
    268
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    aram Follow

    Best posts made by aram

    This user hasn't posted anything yet.

    Latest posts made by aram

    • RE: 💬 Water Meter Pulse Sensor

      bart59,

      thanks for quick reply. I will try to adjust MIN_SEND_FREQ and use your code.
      however, if I understand correctly, with the current logic used its impossible to avoid misinterpretations of pulses in case of very very long on or off state. It will approximate the flow rate to more correct value during usage of water (this is good enough) and should report total usage somehow correctly (this one I would better get as precise as possible). I wonder if the code will capture the correct number of pulses in the case of very long on state.

      BTW, I was not able to find a readily available sketch to connect NAMUR output, which is basically 5kOhm off state and 1.5795 kOhm on state. I believe, I will have to calculate required pull up resistance to get a proper voltage divider for 5\3.3v, right?

      posted in Announcements
      aram
      aram
    • RE: 💬 Water Meter Pulse Sensor

      Hi
      I am trying to use the subject code with pulse water meters and hope someone can help to figure out what needs to be adjusted to get more accurate data.

      My setup:
      Gateway ESP8266 (NodeMCU) + NRF24 -> Connected to Domoticz
      Sensor node: Arduino Uno + NRF24
      Default codes from Build. Test sensors so far work great.

      Task:
      Need to connect Siemens WFK2 water meters (four of them actually) with pulse outputs (2 line). According to data sheet (link text) there are two types: reed output or NAMUR.

      To start with, I connected the reed output of the water meter via 10k resistor to +5V, GND and D3. Again, according to data sheet, for every 10l the water meter should give an impulse (e.g. connect the switch). Taking this into account I have adjusted pulse factor to 100 and based on Nominal Flow Rate (Max Flow Rate impossible in my case) limited Max Flow to 25 l/min. This setup works, but I definitely get wrong flow values (e.g. with constant flow of 6l/min serial monitor and domoticz report anything between 12-15l/min) and also wrong water usage m3 and litre usage in Domoticz.

      When trying to debug, found out following behaviour (must be connected to Pulse length an Qn from data sheet IMHO):
      with each turn it indeed switches on, e.g. shortens the contacts which generates pulse for the sensor, however it takes up to 2-4 litres until switch is in the off state.

      As a result you might have a situation when meter switches on, one closes the tap, and the signal is on for minutes/hours until tap is again opened and 2-4 litres have been used, after which signal will switch off.

      Do I understand correctly that the debouncer which should take care of similar situations is not ready for this?

      thanks in advance for support

      posted in Announcements
      aram
      aram