Close

Measure frequency

A project log for Felini - Revolutionary Pocket-Sized Electronic Lab

Extremely affordable pocket-friendly, designed to provide a wide range of hardware testing and debugging functions in a compact and low-cost

chu-tien-thinh-obitvnChu Tien Thinh (obitvn) 10/03/2023 at 10:260 Comments

ESP32 features a peripheral called pcnt - pulse counter, which allows counting pulses on any GPIO pin, combined with a timer. We can entirely count the number of pulses over time to calculate the frequency. And here is how I use it to measure the frequency with Felini.

Discussions