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

using arduino to automate antenna switching — anyone done this?

so ive been messing around with an arduino mega for the past few weeks trying to get it to handle my antenna switching automatically based on which band i select on the radio. right now i have a manual coax switch and honestly its fine but i keep forgetting to switch over and then wonder why my SWR is spiking. figured this would be a fun project and also maybe learn something.

the basic idea is to read CAT commands coming off the 7300 via USB, parse out the frequency, and then fire the appropriate relay to connect the right antenna. i have a 4-relay module from amazon thats been sitting in a drawer forever so figured id use that. my question is mostly around the CAT side of things — has anyone done this with an IC-7300 specifically? i found some icom CI-V stuff online but the documentation is kind of all over the place and im not sure if im supposed to be sniffing the serial traffic or if there's a cleaner way to just query the rig directly.

also wondering if i should just bite the bullet and use a raspberry pi instead since it has more horsepower and i could probably find a python library that already handles CI-V. arduino feels more appropriate for the relay control stuff though. maybe both? i dunno, open to suggestions

  • Replies 1
  • Views 120
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah i did almost exactly this about two years ago, though i was using a 7600 at the time. the CI-V stuff is actually not that bad once you get your head around the address scheme. basically your radio has a default CI-V address (0x94 for the 7300 i think, worth double checking) and you just send it commands over serial and it responds. you dont need to sniff anything, you can actively poll it for the operating frequency.

i ended up going the raspberry pi route for exactly the reason you mentioned — there's a library called pyserial that handles the serial side and then i just wrote maybe 80 lines of python to parse the frequency response and map it to a band. from there i used the GPIO pins to drive a ULN2003 transistor array that switched the relays. worked great. the pi is kind of overkill for just this but it also means you can add a little web interface later if you want, which i did, so now i can see antenna status from my phone which is kind of cool.

the relay module you have should work fine either way. just watch the flyback diodes — the cheap amazon modules sometimes have them, sometimes dont. worth adding them yourself if youre not sure or you'll eventually fry something.

both is a totally valid approach honestly. i use a pi to do the logic and parsing and then it talks to an arduino nano over I2C to handle the actual relay timing and switching. feels cleaner to me, keeps the timing-critical stuff on the microcontroller and the heavy lifting on the pi. bit of extra complexity but once its wired up you forget about it.

one thing i'd watch out for with the 7300 and CI-V is that if you have the USB audio going at the same time for digital modes, sometimes the serial communication gets weird. might just be my setup but its something to be aware of if you plan to run FT8 or whatever while the automation is running.

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.