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 113
A 18
K 2 Quiet
X-Ray C1.2
Wind 554.7 km/s
Aurora 3
Updated 22:30 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 before

 Loading...

so ive been sitting on this idea for a while and finally started messing around with it last weekend. basically i have a 4 port coax switch (the manual kind, nothing fancy) and im trying to figure out if i can drive the relays off an arduino uno so i can switch antennas from the shack PC instead of walking over to the shelf every time.

i've got some basic arduino experience from a few years ago, made a keyer once that kind of worked, and i know enough to not blow up a pin with too much current. my plan is to use a relay board, the 4 channel ones you can get off amazon for like $8, and just trigger each relay with a digital output pin through a simple transistor stage or maybe just direct if the relay board has the optocouplers built in.

the part im not sure about is the software side. i was thinking a raspberry pi zero w might actually be better for this because then i could just hit it over wifi from any computer in the house or even my phone and not have to mess with USB serial every time. has anyone gone down this road? curious if theres a simpler approach im missing or if this is basically the right way to do it.

  • Replies 1
  • Views 8
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah done something pretty similar for my HF station about two years ago. ended up going the pi zero W route for exactly the reason you said — wifi just makes it so much easier, especially since you can throw a simple flask web server on it and control everything from a browser. took me maybe an afternoon to get something basic running once i had the GPIO wiring sorted.

the relay boards with built-in optocouplers are definitely the move, saves you from worrying about the inductive kick from the relay coils frying your GPIO pins. most of those cheap chinese boards work fine, just double check the trigger logic — some are active low which trips people up at first. one thing i'd add is put a small cap across each relay coil anyway even with the opto, i had one board where the protection was kind of marginal and i was getting weird resets under RF. might have been a grounding thing too honestly, hard to say.

for the control side i just wrote a tiny python script and served it with flask, nothing fancy. you can also look into node-red if you want something more visual without writing as much code, works well on the pi zero.

dont overthink the software side of it, i'd just go arduino with a cheap ESP8266 or ESP32 instead of the pi zero. less moving parts, boots in 2 seconds, no SD card to corrupt, and the wifi is built right in. you can serve a simple html page straight from the chip. i use an ESP32 for a bunch of shack automation stuff now and honestly its replaced the pi for anything that doesnt need real computing power.

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