It’s been a while since I have updated the code, and I have been working on some improvements on and off over the past year as I have had time. This is for the LCD version, which I think just about everyone is running. I have made an LED and Nixie tube version as well,
but haven’t updated the code for these versions just yet – let me know if you need it. Done, new pages have been set up for both and new code for all 3 version is on Github
Some of the improvements:
- New/improved frequency counter routine. The program now uses the “FreqCount” library that is available in the IDE environment. You will probably need to download this, which can be done selecting “Sketch/Include Library/Manage Libraries..” in the Arduino IDE.
Search on “FreqCount” and you should find Paul Stoffregen’s library. Install the latest version.
- Correction Factor added. If needed, you can correct the display. This will not “fix” a poor frequency reference/source like the ceramic resonators found on UNO’s.
- Better code documentation. I hope it’s easier to read and understand if you want to get in there and make your own modifications.
- Added smoothing, anti-jitter code to help stabilize the display. (smooths over 10 readings, this is adjustable)
- Tested with latest Arduino IDE (1.8.2)
4/8/17 – Code has been moved to Github, LCD, LED, and Nixie versions published.
4/8/17 – Version 2.0.2 uploaded to Github. Stability Enhancement added. Tests the HFO and BFO to see if they have moved more than 500Hz and 100Hz, respectively. If not, keeps the last reading. This should help eliminate some wander/wiggle but keeping the two “fixed” frequencies stable. Also lowered the averageing to 4 samples (from 10), makes display a little more responsive