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
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
I created a separate page to discuss the nixie version along with the code at the bottom. It uses I2C controlled nixies from Tayloredge – http://www.tayloredge.com/storefront/SmartNixie/index.html
The page can be found here: https://www.kv6o.com/wordpress/projects/kenwood-dg5-emulator/dg5-nixie-version/
Steve
KV6O
Any chance of you coming out with a color oled version ???
It’s a frequency counter – what would color do?
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
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!
My emulator is oprerating approximately .0005 high starting with 80 meters. Is there a software fix for the error? 73’s, Pedro WA4KEO.
Hi Steven,
I trust everyone is OK.
The v1.5 board is completed & checks out. A great learning project. Thanks
The info I need to proceed is scattered. Todd Fun answered a lot, but not all. Please consider an index.
Compiler – Where to obtain
Is “ts_520_dg5_lcd_v1_6_2-zip” the latest / best for v1.5
Website design/management isn’t my forte… 🙂 I believe there is a search function, I’ll have to check myself.
The compiler is the Arduino IDE as you’re using an Arduino board. You can find it here: https://www.arduino.cc/en/Main/Software