FreqCountESP icon indicating copy to clipboard operation
FreqCountESP copied to clipboard

A frequency counter library for esp32

Results 10 FreqCountESP issues
Sort by recently updated
recently updated
newest added

Please update the library. It has too many compatible issues. The compilation output is: `c:\Users\woodl\Documents\Arduino\libraries\FreqCountESP\src\FreqCountESP.cpp: In function 'void onHLim(void*)': c:\Users\woodl\Documents\Arduino\libraries\FreqCountESP\src\FreqCountESP.cpp:25:39: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]...

Reads 25MHz with timerMs = 1000 and 100. Other values corrupts the value of frequency. #include "FreqCountESP.h" void setup() { int inputPin = 14; int timerMs = 100; FreqCountESP.begin(inputPin, timerMs);...

Is there an issue with this library working on the ESP32? When test signal is applied, the esp32 does not boot. Or if it does boot, it continues to reboot....

Do you know if it's working with ESP32S3? I tried with seeed studio xiao and found not good accuracy in the reads.

Dear Nikos, thanks for this fantastic library, it is very useful, precise and elegant. Maybe was my ignorance, but seems to me that only way to change PCNT_UNIT or PCNT_CHANNEL...

Hi Nikos, thank you for the code, works well with proper edges, e.g. from function generator. I use your module for RPM measurement on my CNC DC-spindle. I added a...

I need to measure two concurrent frequencies of two sources at the same time. is this possible and how to do so?

Hello , Nikos when compiling the example of your library with sending data via serial I get the following error `/Users/bernat/Documents/Arduino/libraries/FreqCountESP-master/src/FreqCountESP.cpp: In function 'intr_handle_data_t* setupPcnt(uint8_t, volatile uint32_t*)': /Users/bernat/Documents/Arduino/libraries/FreqCountESP-master/src/FreqCountESP.cpp:36:17: error: 'PCNT_CHANNEL_EDGE_ACTION_INCREASE'...

Trying this with ESP32-S3. Sample code works fine and its accurate. But if I add some load (Reading and writing GPIO, i2c read) values are 2~3% higher.

Corrected with new ESP-IDF 5.1 API