10 hours ago
Hi KinCony,
I am using the KC868-A8v3.1 with an ESP32-S3.
I want to connect a YF-B10 water flow sensor generating approximately 450 Hz pulses at maximum flow.
Can AI1 (GPIO7) or AI2 (GPIO6) be used as a digital pulse counter input with ESP32 PCNT?
Specifically:
I am using the KC868-A8v3.1 with an ESP32-S3.
I want to connect a YF-B10 water flow sensor generating approximately 450 Hz pulses at maximum flow.
Can AI1 (GPIO7) or AI2 (GPIO6) be used as a digital pulse counter input with ESP32 PCNT?
Specifically:
- Is there any RC filtering or other circuitry between the AI terminal and the ESP32 GPIO?
- Can the analog input circuit reliably pass 450 Hz pulses?
- Can you provide an example of using AI1/GPIO7 as a pulse counter with ESPHome or ESP-IDF?

