This guy has some good info on adding a DDSVFO to a radio. He has some great explanations of how it works and what to do. He offers the Arduino program on his website for free download too.
I have been following your work in the thread you made:Thanks for posting that!
Grabbed his VFO sketches from his site. Don't think I would do the channel selection as a case statement. The end result is the same, though. Get the user to the channel they want with the minimum amount of fuss on their part.
I might have to steal his EEPROM code for saving data across power offs. Having the radio come up on a different channel than it was when you powered off can get kind of annoying.
I only started the project because that radio was completely dead and the part that failed is pretty much unobtainium. So basically I'm playing out my desperation move in a public forum. Probably not all that bright a thing to do but it does give you guys something point at and laugh about.I have been following your work in the thread you made:
https://www.worldwidedx.com/threads/sbe-sidebander-vi-pll-problem.267060/
That is a neat project and the radio is certainly worthy of such an undertaking. I just don't know that much about these micro controllers, but I get the jist of the code. It reminds me of the Basic programming I did with my Commodore 64 back in the day when I was a kid.
I would really like to find a good way to replace the oscillators in the drifty old Galaxy radios that I have. Something more simplistic than a VFO. Something that retains the factory channel selection and appearance. I am not completely sure how this all works, and maybe its easier than I think. Is there an easy way to do this? These new Anytone radios have my Galaxies sitting on the sidelines.