Raspberry Pi RF frequency counter


A Raspberry PI RF frequency counter project from Scott Harden, that is available on GitHub:

Raspberry PI RF Frequency Counter with Python Interface. The RF signal clocks a 32-bit counter (SN74LV8154) connected to a 16-bit IO expander (MCP23017) accessable to the Raspberry Pi (via I²C) to provide real-time frequency measurements from a python script.

More details at Scott Harden’s blog.

Join the Conversation


  1. Sorry but I’m incapable of taking seriously a basic instrument that needs a GPS lock to function, precision or not. And involving a Raspberry Pi isn’t helping.

    1. He does explain the advantages of using the GPS, and how the method he uses allows him to benefit from the traceability of the time base it provides. So how would you go about doing this without a GPS for your “basic” instrument Max? Maybe with your freshly calibrated Cesium transfer standard?

      As for the Raspberry Pi, it’s fairly cheap and easy to work with. Personally I would have used a microcontroller instead.

  2. Heh, Max is just doing the grumpy dinosaur act. I’m a grumpy dinosaur too, but I’d have to agree that GPS is a convenient way to get that accurate timing. Is it a really useful RF tool? The project author had a nice big signal there and the SN74LV8154 max freq is only 40MHz.

    But oh, he has 3 heat sinks on his RPi, well isn’t that nice… How hot does the USB/Ethernet controller go anyway, I’ve never seen anybody put heat sinks on such chips before!

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.