¿ªÔÆÌåÓýHi Clint. Jason 's si5351 library has changed and I had to tweek the arguments. Also, the line 2 printing is an issue. (garbage display)? But the underlying code works well! Arduino 1.8.1, si5351 library v2 73. Good Work.? Larry kb3cuf Sent from my Galaxy Tab? E -------- Original message -------- From: Clint Turner <turner@...> Date: 1/18/2017 00:03 (GMT-05:00) Subject: [BITX20] First hack at modifying Raduino code Likely nothing too special, I plopped a version of the Raduino sketch in the "KA7OEI" folder ("raduino_ka7oei_20170117.ino") that has the following modifications: - Added oversampling and leaking integration to the tuning pot to both increase resolution of the tuning pot somewhat and reduce the 50 Hz "flickering" that occurs when the A/D can't decide between two steps which can cause an SSB or CW signal to seem to warble badly.? It works slightly better WITHOUT the 0.1uF cap on the tuning pot - at least on receive - as the light amount of noise helps "dither" the result to marginally higher effective resolution.? (If RF gets into it, put the capacitor back!)? The "leaky" integrator help to minimize very slow drift of the potentiometer value causing a drift in frequency, the side effect being a tiny bit of "front-lash" (as opposed to backlash) in the tuning. - Increased the display resolution to show 10 Hz steps now that additional resolution has been synthesized.? Note that not each and every 10 Hz step can always be adjusted repeatedly, but since the above adds a lot of steps between the previous 100Hz displayed steps it makes sense to show the user where they actually are. - Added an on-screen notice - and about a 1 second delay - when the end of the tuning pot is reached telling the user that it will start tuning in 10 kHz jumps.? The user has about 1 second to move the pot back if the didn't really want this to happen. To be sure, a rotary encoder is likely a bit nicer, but I believe this to be a large improvement over the original, default tuning scheme. At some point I'll establish a GitHub account and remember how to use it again, but for now the file is there for immediate use for those who find the 50 Hz "frequency" flickering and the sudden jumping in 10 kHz steps while tuning around to be maddening. 73, Clint KA7OEI |