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 126
A 14
K 1 Quiet
X-Ray C4.3
Wind 398.1 km/s
Aurora 1
Updated 11:30 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 automate antenna switching based on band — worth it?

 Loading...

so ive been messing around with an arduino mega for the past few weeks trying to get it to auto-switch my antenna relays based on what band my radio is on. the radio puts out band data on a DB9 connector (its an icom 7300 so the CI-V bus is an option too but i went the simpler route first) and the idea is to just have the arduino read those lines and then key the right relay to connect whichever antenna is appropriate.

its actually mostly working now but ive hit this weird issue where if i switch bands really fast on the rig the relay sometimes clicks to the wrong position for like half a second before correcting itself. not sure if thats a debounce thing in the code or if the band data lines are just noisy. i added a 50ms delay before acting on the band change and it seems better but feels hacky. anyone else done something like this and found a cleaner way to handle it?

also thinking about eventually tying a raspberry pi into this so i could do logging and maybe run flrig or something, not totally sure what the architecture would look like yet. open to ideas.

  • Replies 1
  • Views 2
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah i did basically the same thing with a 7600 a while back. the band data lines on icom rigs can be a little glitchy during the transition, the decoder in the radio doesnt always settle instantly. 50ms is actually in the right ballpark honestly, i was using something like 75ms and it was rock solid. you could try reading the band data twice with a short gap and only acting if both reads agree, thats a more proper debounce approach than just a flat delay. cleaner in the logic even if it ends up being similar in practice.

on the pi side of things — if you go that route i'd keep the arduino doing all the real-time relay control and just have it report status to the pi over serial or USB. the pi running linux is just not great for anything where timing actually matters, too many other things going on in the OS. but for logging, running hamlib, flrig, wsjtx whatever, its perfect. i have a pi 4 on my desk that basically runs my whole digital station and its been solid for over a year now.

curious what relays you're using for this, i've been wanting to do something similar but worried about switching speed and whether a regular relay can even keep up if you're band-hopping during a contest. figured solid state might be better but they get expensive fast depending on the power level

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.