Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Tuning
All,
So the reason I wanted to upload sketches is as follows: I find the tuning of the uBITX troublesome. Say I'm at the top of 40M and I want to get down to the CW segment: I spin the knob, and down she goes. But before I get to where I'm going, it shifts into this "hyper-tune" mode, and all the sudden I'm down at 6MHz. I'd like it to act more like my old SB-34 transceiver. This has a mechanical vernier mechanism. The "fine" vernier area is about 15 kHz wide. You tune fairly fast to get more or less where you're going, you pass it, and then when you reverse the knob, it starts tuning really slow. As long as you're in the slow-tune area, it tunes fine & slow. When you get to the end of the 15kHz fine tune area, it starts tuning fast again. By "fast", I mean a convenient speed for scanning across the segment, looking for signals. By "slow", I mean a speed that's good for zero-beating an SSB signal, or zeroing in on a CW signal. I have no use at all for the "hyper speed" tuning mode. If I wanted to move a MHz or more, I'd just change bands or punch in the frequency. - Jerry KF6VB |
Mark - N7EKU
Hi Jerry, |
Hi Jerry,
The only function that should really need adjusting is . If you revise it to the below, it will be fully linear: int enc_read(void) { ? int ret_val = enc_count; ? enc_count = 0; ? return ret_val; } The 200ms thing you saw in the routine is only used for the momentum parameter. Alternatively, you can adjust the momentum scale factors (lines 116 and 119, currently 40 and 20's) to adjust the amount of momentum. There's also a scale factor applied to the tuning in . Change the 50 to whatever frequency step size you'd prefer. I don't think there's sub-Hz tuning capability right now, since most frequency stuff uses integers, but that's not impossible either, with sufficient will power :P As for getting the behavior you described for your SB-34, it's definitely possible to do that in software, but that's a bit more work than just removing the momentum stuff in there right now. Reed |
On 2021-05-14 19:35, Reed N wrote:
Hi Jerry,Hi Reed, int enc_read(void) {That's exactly what I did. In addition, I toned down fastTune() by a factor of 20 or so. And I changed the minimum step size to ( I think ) 25Hz. - Jerry } |
to navigate to use esc to dismiss