Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-a6-v1.3sp + Pulse counter
#1
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)
Reply
#2
see this photo, here is IO1 and IO2 connect with ESP32 pins directly, you can use it.
   
Reply
#3
(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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)