This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
Replies: 1 comment 1 reply
-
Hi @w9ran I'm sorry I couldn't find time to help you here. Hopefully someone will chip in. You also can either adapt the example in Frequency measurement on Seeeduino Xiao at 200kHz from SAMD21 to RP2040 or post the issue on Arduino Forum for help from many experts there. Good Luck, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This library looks like a great tool for a lot of applications, but my skill level is such that I'm in need of a little jump-start. I want to accurately measure the frequency of an audio-range signal (200 Hz to 3kHz) as part of an application. I know the general approach is to condition the signal and generate an interrupt at each zero crossing. In between, a timer will measure the period and store it into a variable for me to use.
I'd prefer to use the Arduino MBED Core, but I found a "RPM Measure" example in the library that supports the Earle Philhower RP2040 boards and have compiled it onto a Pico, but it doesn't seem to work right - and in any case I'll need usec not msec resolution.
I'll keep working on understanding it and the TimerInterrupt library but if anyone can direct me to other examples of frequency measurement using the Pico I'd appreciate it.
Bob
Beta Was this translation helpful? Give feedback.
All reactions