05-17-2025, 04:33 PM
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!
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)
