Frequency counter library for Arduino

Arduino Technology
Frequency counter library for Arduino


Here’s a great example of what makes the Arduino platform so great. In need of a basic frequency counter on the quick, I dug up some code & schematics based on the ATTiny2313. But just before breaking out my programmer + protoboard, I thought to have a look in case someone had written similar code for Arduino. Lo and behold – Martin Nawrath’s Frequency Counter library was but a few clicks into the site’s playground section. I had the setup up and running in no time with the Arduino IDE’s serial monitor – and after a few small changes to the code, had it playing nice with a serial display. There’s also an ArduinoMega-compatible version of the library’s cpp file available here.


How-To: Build a frequency meter

Discuss this article with the rest of the community on our Discord server!


Ready to dive into the realm of hands-on innovation? This collection serves as your passport to an exhilarating journey of cutting-edge tinkering and technological marvels, encompassing 15 indispensable books tailored for budding creators.

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).