New DG5 code!

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

6 thoughts on “New DG5 code!

  1. MS

    Hi Steve !
    I’m waiting for any post regarding the LED or nixie version, I wanted to finish my project starting with my favorite nixie counter, if you have it already done then please send me or post the schematic diagram since the hook up will be different than the LCD version, and the nixie code please, it would be appreciated.
    I can’t to wait to have it built, Nixie version will be a lot better classic look.
    Thanks
    Best 73s
    MS

    Reply
      1. Jim

        I wanted to install a small oled display inside the radio where the dial is, i found a display that would fit inside nicely, ,kinda give it a built in look in stead of having a box on top of the radio…just a thought………Jim

        Reply
        1. admin Post author

          Ah, that makes more sense! If it’s got a library already written for it on the Arduino’s, then it should not be a problem – all the code is open, so you can modify it as you see fit. What’s the manufacturer and model number? Get yourself an Arduino and try it out!

          Reply

Leave a Reply

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