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 141
A 10
K 3 Unsettled
X-Ray C1.0
Wind 410.6 km/s
Aurora 4
Updated 03:30 UTC HamQSL · N0NBH
Day 80/40m Poor 30/20m Good 17/15m Good 12/10m Fair
Night 80/40m Fair 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 — worth the headache?

so ive been messing around with an arduino mega for the past few weeks trying to build an automated antenna switcher for my shack. the idea is pretty simple — i have a 40m dipole, a 20m wire vertical, and a fan dipole for 10/15m, and i want the rig to just... pick the right antenna based on whatever band i dial in on the IC-7300. i figured i could read the CI-V bus output from the radio and have the arduino interpret the band data and trigger the appropriate relay.

turns out CI-V isnt quite as plug and play as i thought, at least not with a 5v arduino. had to build a little level shifter circuit because the logic levels dont play nice. got that sorted eventually but now the relay switching is introducing some weird RF into the audio chain and im not sure if its the relay itself or just crappy wiring on my part. using a SainSmart 8-channel relay board which maybe wasnt the best choice in hindsight.

anyway the question is has anyone gone down this road and actually ended up with something reliable? or am i better off just buying one of those commercial band decoders. feels like ive learned a lot but im not sure the end result is going to be cleaner than just flipping a coax switch by hand honestly.

  • Replies 1
  • Views 58
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah the relay board RF issue is almost certainly your wiring. those cheap sainsmart boards have no suppression on the coil side at all, you need a flyback diode across each relay coil or you get nasty transients every time the coil switches. i know everyone says just slap a 1N4007 across it and call it done but on a radio bench that noise can get everywhere depending on how your grounds are laid out.

the CI-V level shifting thing is real, glad you got that figured out. i did something similar with a 7600 a few years back and ended up using an optocoupler instead of a resistor divider, way cleaner isolation especially if your ground loops are sketchy which they usually are in a shack with multiple pieces of gear.

as for whether its worth it — i think it depends on how much you want to learn vs how much you just want a working switcher. if you want the latter just get a microHAM or a band decoder from Array Solutions and be done with it. if you enjoy the tinkering then yeah keep going, once you get it dialed in its satisfying as heck and you can customize it in ways the commercial boxes dont let you.

i built almost exactly this with a Pi Pico actually, not an arduino, but same idea. the pico is nice because you get two cores and can dedicate one to just watching the CI-V traffic without it interfering with the relay switching logic. not sure if that matters much at the speeds were talking about but it felt cleaner to me.

one thing i'd say is dont underestimate the grounding. spent probably two weekends chasing RF in my audio and it turned out the relay board ground wasnt tied to the chassis ground. once i sorted that out most of the noise went away. also put the relay board in a small metal enclosure, that helped too.

  • Guest unlocked, unpinned, locked and pinned this topic
  • Guest unlocked, pinned, locked and unpinned this topic
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.