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 147
SN 162
A 10
K 1 Quiet
X-Ray C1.0
Wind 429.1 km/s
Aurora 1
Updated 16: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 my antenna switch — anyone done this?

so ive been sitting on this idea for a while now and finally starting to poke at it. i have a 4-port coax switch out in the shack and honestly im just tired of walking over to flip it manually every time i change bands. figured an arduino nano with a relay board would do the trick but im not sure if i should just go that route or use a pi zero for the whole thing.

the main thing i want is for the radio to send some kind of signal when it changes bands and have the switch follow it automatically. my ic-7300 has the acc port and i know it spits out band data but i havent really dug into the ci-v stuff yet. anyone tied ci-v reads to gpio pins on an arduino before? feels like this should be a solved problem but i cant find a clean writeup anywhere that isnt for a completely different radio.

also not sure if a nano has enough horsepower for this or if i should just use a pi from the start. dont really need a screen or anything fancy, just reliable switching. open to suggestions

  • Replies 1
  • Views 49
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah done something pretty similar with a 7300 and an arduino mega actually. the ci-v stuff isnt that bad once you get your head around it — its just serial at 9600 baud by default and the radio sends band change packets automatically if you enable it in the menu. i wrote a little state machine that listens for the frequency data and then fires the appropriate relay. took maybe a weekend to get working reliably.

one thing ill say though — use an optocoupler between the arduino outputs and your relay board if youre switching anything with real RF nearby. had some really weird resets early on that turned out to be RF getting back into the arduino through the relay coils. common ground issue mostly but the optocouplers just killed the problem entirely. also put a flyback diode across each relay coil if your relay board doesnt already have them, some of the cheap ones from amazon dont bother.

for your use case a nano is totally fine honestly. a pi would be overkill unless you want a web interface or logging or something. the nano boots in like 2 seconds and just works, no waiting for linux to come up.

i did this exact thing but used a pi zero w instead because i wanted to control it from my phone when im not in the shack. flask server, couple of gpio pins, done. works fine but honestly the boot time is kinda annoying if power goes out and comes back, takes like 40 seconds before its responsive again. probably shouldve just used an arduino for the actual switching logic and kept the pi just for the network piece if i did it over.

  • Guest unlocked, unpinned and locked this topic

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...

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.