![]() |
|
KC868-AI and 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-AI and pulse_counter (/showthread.php?tid=8049) |
KC868-AI and pulse_counter - scorx - 05-03-2025 I am really new to working with ESP32. My goal is to use the device to count Pulse from electricity meters. I understand ESP has a pulse counter sensor https://esphome.io/components/sensor/pulse_counter.html Code: # Example configuration entryAlso, I read only 8 channels can be used. Quote:On the ESP32, this sensor is even highly accurate because it’s using the hardware pulse counter peripheral on the ESP32. However, due to the use of the pulse counter peripheral, a maximum of 8 channels can be used! So this limits me a bit in my initial plan, as I try to read out pulse (s0) from 24 different power meters. Question1: when I try this function block, almost all ports are already "in use" for some other function, or I get the message "WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.". How can I deduct which PINS can actually be used? I assumed all the GPIOs could be used, but I am just starting out so still need to learn some things. Question2: Considering the maximum number of channels is 8, does KC868-AI has 8 free GPIO available? If not, are there other kincony boards available? I could then use 3 of those to cover all meters. does this makes sense? RE: KC868-AI and pulse_counter - admin - 05-04-2025 KC868-AI not have so much free gpio. if you want many free GPIO, you can chose kincony S3 controller. https://www.kincony.com/kincony-esp32-s3-core-board.html you can chose by this platform: https://mq.kincony.com/qq/product/product-selector this is easy to chose kincony board. RE: KC868-AI and pulse_counter - scorx - 05-04-2025 (05-04-2025, 12:48 AM)admin Wrote: KC868-AI not have so much free gpio. if you want many free GPIO, you can chose kincony S3 controller. |