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 C3.0
Wind 333.7 km/s
Aurora 2
Updated 14: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 my antenna switching — anyone done this?

 Loading...

so ive been messing around with an arduino uno for a few weeks now trying to get it to handle my antenna switching automatically based on what band the radio is on. right now i have a yaesu ft-991a and it puts out band data on the accessory port so thats at least something to work with. the idea is to read that band data and then fire the appropriate relay to switch between my wire antennas out back.

ive got the relay board wired up and the arduino reads the band voltage fine, i tested it with a multimeter and it all checks out. but the switching itself is kind of glitchy — like sometimes it switches twice real fast or hesitates before it does anything. i think its a debounce issue or maybe im not filtering the input properly but honestly im not 100% sure. the code is pretty basic right now, just a bunch of if statements checking the analog voltage.

anyone tackled something like this before? wondering if i should ditch the uno and move to a pi or if thats overkill for something this simple. also not sure if the relay board im using is rated for the coax switching side of things, its one of those cheap 8 channel ones off amazon.

  • Replies 1
  • Views 11
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah the glitchy switching sounds like a debounce thing for sure. what i did on a similar project was add a small delay after detecting the band change — like dont act on it until the voltage has been stable for maybe 50-100ms. just poll it in a loop and reset a counter every time it changes, only trigger the relay when the counter hits your threshold. cleaned up all the spurious switching on mine.

also those cheap 8 channel relay boards are fine for the control side but if youre actually switching RF through them forget it, the contacts arent really rated for that and youll get all kinds of problems, insertion loss, arcing if youre running any power at all. you want proper coax relays for the RF path, denkovi or maybe look at what hy-gain sells. the arduino just fires the coil on those, keeps the RF completely separate.

and honestly stick with the uno for this, a pi is massive overkill and it boots slow, you dont want your antenna switcher sitting there for 30 seconds while linux comes up every time you flip the radio on.

the band data voltage thing on the 991a is a little finicky i remember dealing with that. what resistor are you using on the input to the arduino? if youre reading it direct you might be loading it down enough to mess with the readings. i put a 10k in series and that sorted it out for me.

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.