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 C3.5
Wind 407.0 km/s
Aurora 2
Updated 01:00 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 this for a few weeks now and im not sure if im making it more complicated than it needs to be. basically i have a 4-port antenna switch (the cheap MFJ one) and i wanted to automate it based on what band the radio is on. the FT-991A puts out band data on the ACC port so i figured i could read that with an arduino and drive some relays to switch antennas automatically.

the band data is straightforward enough, its just a few lines that go high or low in different combinations for each band. i got the decoding working fine on the arduino side. the problem is the relay side. im using a generic 8-channel relay board from amazon and i keep getting weird behavior where one relay will sometimes trigger when a different one should. im guessing its a power issue but i honestly dont know. the arduino is powered from USB and the relay board has its own 5v line from a wall wart.

anyone done something like this? feels like im close but also like i could be missing something obvious. also considered just scrapping the arduino and using a raspberry pi with a relay HAT but that seems overkill for what is basically just switching 4 relays.

  • Replies 1
  • Views 69
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah the relay board thing is almost certainly a ground issue. if your arduino and the relay board power supply dont share a common ground you get all kinds of phantom triggering. also those cheap 8-channel boards are notorious for needing the JD-VCC and VCC jumper dealt with properly — if its jumpered together youre powering the relay coils from the arduino 5v which can brown it out and cause exactly what youre describing. separate the jumper and power JD-VCC from your wall wart, leave VCC connected to arduino for the logic side. fixed that exact problem on a rotor controller i built last year.

and yeah pi is overkill for 4 relays, stick with the arduino. unless you want to add logging or a web interface or something, then maybe, but even then an ESP32 would make more sense than a full pi.

i did something similar with an IC-7300 and a homebrew switch, band data decoding on a nano works great once you get it sorted. one thing i'd add — put some flyback diodes across your relay coils if the board doesnt already have them. the cheap ones sometimes do, sometimes dont. without them youre sending voltage spikes back into the arduino every time a relay opens and eventually that kills the IO pins. learned that the hard way on a project a while back, fried two nanos before i figured out what was happening.

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