Skip to content
View in the app

A better way to browse. Learn more.

Ham Radio Base -Powered By Ham CQ DX

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Solar
SFI 128
SN 73
A 6
K 1 Quiet
X-Ray B7.8
Wind 387.9 km/s
Aurora 3
Updated 01:00 UTC HamQSL · N0NBH
Day 80/40m Fair 30/20m Good 17/15m Good 12/10m Fair
Night 80/40m Good 30/20m Good 17/15m Good 12/10m Poor

Callsign Lookup
_
Vanity Call Signs Available
Enter filters above and click Search.
ⓘ Callsign lookups are in real time via the FCC database. Vanity callsign availability is refreshed daily at 6:00 AM CST. The vanity search may be unavailable for a few minutes during this update.
Live DX spots
Live DX Spots — 70cm via PSKReporter · scroll or pinch to zoom
Band
Mode
Time
Loading map data…
MHz DX Spotter Info
Recent spots
Select a band above to load spots
Ready — select a band to fetch live spots

Si5351 Arduino VFO calibration issues - frequency drift after power cycling

I've built several Arduino Nano/Si5351 VFO projects over the past year, but I'm consistently running into calibration problems. The EEPROM does not save the previous VFO frequency and reverts to default upon every restart, even though I've followed the standard calibration procedures from multiple sources. When I try to set correction factors over 32767 (like 93000), I get overflow warnings with 16-bit integers. Has anyone found a reliable workaround for persistent frequency storage and calibration value handling? Currently using the Etherkit Si5351 library v2.1.3 with Arduino IDE 1.8.19.

  • Replies 2
  • Views 189
  • Created
  • Last Reply

Top Posters In This Topic

Most Helpful Posts

  • Steven Johnson
    Steven Johnson

    Line 59 declares "corr" as int (16 bits) but the library uses 32 bit integer for "corr". Hence the compiler objects when you put 93000 in line 59 but it's ok to pass 93000 into the library call. Chang

Featured Replies

Check that you don't use any clone Arduino or ATMEGA – some don't have any EEPROM at all, some have flash installed which is obviously not compatible. I had the exact same issue with a cheap Nano clone last year.

Line 59 declares "corr" as int (16 bits) but the library uses 32 bit integer for "corr". Hence the compiler objects when you put 93000 in line 59 but it's ok to pass 93000 into the library call. Change your variable declaration to long instead of int.

I've been wrestling with this exact problem on my homebrew 40m transceiver. Because the newest version of Jason's Si5351 library is not compatible with older sketches, try using the 2015 version of the Si5351 library. Also try the calibration reset procedure - press the calibration button twice without tuning to reset, then recalibrate.

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Affiliate Disclosure: As an Amazon Associate, Ham Radio Base earns from qualifying purchases. Some links throughout this website may be affiliate links. If you purchase a product through one of these links, we may earn a commission at no additional cost to you. Your support helps us continue creating free articles, tutorials, reviews, and resources for the amateur radio community. N0TLB © Ham Radio Base - Powered by the Ham CQ DX Community. All rights reserved.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.