Skip to content
View in the app

A better way to browse. Learn more.

Ham Radio Base

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 121
SN 99
A 11
K 3 Unsettled
X-Ray B8.6
Wind 423.4 km/s
Aurora 4
Updated 11:30 UTC HamQSL · N0NBH
Day 80/40m Poor 30/20m Good 17/15m Fair 12/10m Fair
Night 80/40m Fair 30/20m Good 17/15m Fair 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 a pi zero to automate my station logging and antenna switching - anyone else done this?

so ive been messing around with a raspberry pi zero w for the past few weeks trying to get it to handle some basic automation stuff at my shack. right now its running a python script that listens to my rig via CAT control (IC-7300 over USB) and logs contacts automatically to ADIF, which then syncs to LoTW every night via cron job. works pretty well honestly.

the part im stuck on is the antenna switching. i want to use the GPIO pins to drive some relay modules i picked up off amazon - like the 4-channel 5v ones everyone uses. problem is im not sure if i should be handling the switching logic on the pi itself or if i should offload that to a small arduino nano sitting between the pi and the relays. the relays are switching coax so its not a huge current thing but i want to make sure im not doing something dumb with RF getting back into the GPIO lines or whatever. anyone dealt with this? the shack isnt super clean RF-wise, im running 100w on HF and the antenna feedpoint is maybe 15 feet from the pi.

also curious if anyone has done band-based automatic antenna selection tied to the rig's current frequency - that would be the dream honestly

  • Replies 1
  • Views 27
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah the RF into GPIO thing is a real concern, especially at 100w that close to the feedpoint. i had the exact same issue with a pi 3 i was using for WSPR beacon stuff and random resets drove me crazy for about a month before i figured out what was happening. what ended up working for me was putting ferrite chokes on every cable going in and out of the pi - power, USB, whatever - and also grounding the pi case to the station ground. made a huge difference.

on the arduino question, honestly for something like relay switching i do like having a nano in between just because it keeps the logic simple and if the pi crashes or does a software hiccup the arduino can hold its last state or go to a safe default. you can have the pi send simple serial commands like 'ANT1' or 'ANT2' and the nano handles the actual relay timing and debounce. gives you a layer of protection too since the arduino isnt running linux and wont randomly decide to do updates at the wrong moment. the band-based switching is totally doable, the 7300 spits out its VFO frequency over CI-V so you can parse that and just do a big if/elif block based on frequency ranges. i have something similar running for my amp's band switch, took like an afternoon to get working.

the relay modules you got from amazon are probably fine but check if they're active-low or active-high trigger - the cheap blue ones usually need the input pulled LOW to activate which trips people up when they first wire them to GPIO. burned an afternoon on that myself lol

also yeah 15 feet from the feedpoint at 100w you're gonna want some shielding or at least good ferrites, a pi zero isnt exactly known for being robust against RF

Guest
Reply to this topic...

Affiliate Disclosure: As an Amazon Associate, Ham Radio Base earns from qualifying purchases. Some links throughout this website may be affiliate links. If you purchase a product through one of these links, we may earn a commission at no additional cost to you. Your support helps us continue creating free articles, tutorials, reviews, and resources for the amateur radio community. N0TLB © Ham Radio Base - Powered by the Ham CQ DX Community. All rights reserved.

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.