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 201
SN 101
A 14
K 1 Quiet
X-Ray C6.6
Wind 321.9 km/s
Aurora 2
Updated 21:00 UTC HamQSL · N0NBH
Day 80/40m Poor 30/20m Good 17/15m Good 12/10m Good
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

using arduino to auto-tune antenna based on band changes — anyone done this?

 Loading...

so ive been messing around with an arduino mega for the past few weeks trying to build something that'll automatically switch my antenna tuner settings when i change bands on the radio. the idea is pretty simple in theory — read the band data output from my IC-7300 (it puts out CI-V over USB) and then drive some relays to switch in different capacitor/inductor values on a homebrew L-network tuner i built last year.

the CI-V parsing part wasnt too bad, i found a library that handles most of the serial decoding. the part thats killing me is the relay timing. when the radio does a band change theres like a 200-300ms window before it actually starts transmitting and i cant figure out if my relay switching is finishing inside that window or if im occasionally catching the tail end of a transmission on the wrong antenna config. i dont have a scope right now which makes this basically guesswork.

has anyone done something similar or at least messed with CI-V on the 7300? wondering if there's a more reliable way to get a band change event that i can actually sync to rather than just watching the frequency change and inferring the band.

  • Replies 1
  • Views 21
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah ive done almost exactly this but with a Pi instead of an arduino, mostly because i already had one sitting around doing nothing. the CI-V thing is honestly pretty solid once you get the timing sorted. what i ended up doing was adding a small delay after i detect the band change before firing the relays — like 50ms — and then i also watch for the radio to stop being in transmit state before i allow any switching at all. the 7300 will tell you transmit state over CI-V too so you can poll that. its not the cleanest solution but its been working for about 8 months without a hiccup.

the other thing worth checking is whether your relays are actually rated for what you need. i fried a ULN2003 driver chip once because i didnt account for the inductive kick from the relay coils. flyback diodes on every coil, dont skip that step.

not sure about the CI-V specifics but for the relay timing issue have you looked at using a hardware interrupt instead of polling? might get you tighter response times. also the raspberry pi 4 has way more headroom if the mega starts feeling cramped, ive been running a whole logging and digital mode pipeline on one and its barely breaking a sweat. though for something this timing-sensitive maybe stick with the arduino since you dont have an OS in the way messing with latency.

Guest
Reply to this topic...

Account

Navigation

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.