Smart Home Automation Forum
KC868-a6-v1.3sp + Pulse counter - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-A series and Uair Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=6)
+--- Thread: KC868-a6-v1.3sp + Pulse counter (/showthread.php?tid=8085)



KC868-a6-v1.3sp + Pulse counter - boneless - 05-17-2025

Hello all,

Trying to connect a flow meter to the KC868-a6-v1.3sp board. I expect around 500 Hz.
Are there any GPIO pins available for this on the board?

Thank you!

Code:
sensor:
  - platform: pulse_counter
    pin:
      number: 14
      mode: INPUT_PULLUP
    unit_of_measurement: 'l/min'
    name: 'Water Flow Sprinkler'
    update_interval: 10s
    filters:
      - lambda: return (x+4)/8/60;

    total:
      unit_of_measurement: 'l'
      name: 'Water Volume Sprinkler'
      filters:
        - multiply: 0.00210084033  # (1/476 pulses per l)



RE: KC868-a6-v1.3sp + Pulse counter - admin - 05-18-2025

see this photo, here is IO1 and IO2 connect with ESP32 pins directly, you can use it.
   


RE: KC868-a6-v1.3sp + Pulse counter - boneless - 05-19-2025

(05-18-2025, 12:37 AM)admin Wrote: see this photo, here is IO1 and IO2 connect with ESP32 pins directly, you can use it.

Thank you!