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

Collin Cunningham

Collin Cunningham

Born, drew a lot, made video, made music on 4-track, then computer, more songwriting, met future wife, went to art school for video major, made websites, toured in a band, worked as web media tech, discovered electronics, taught myself electronics, blogged about DIY electronics, made web videos about electronics and made music for them … and I still do!