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 73
A 6
K 1 Quiet
X-Ray B9.3
Wind 433.7 km/s
Aurora 2
Updated 23: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 a pi zero to automate my shack - 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 shack automation stuff and honestly it's been a rabbit hole i did not expect. started out just wanting it to log my contacts automatically from my IC-7300 via the USB connection and maybe flip a few relays for antenna switching but now im knee deep in python scripts and i cant stop adding features to the thing.

right now i have it pulling band data from the radio over CI-V, deciding which antenna to connect based on what band im on, and logging to an sqlite database that syncs to ADIF every hour or so. also added a little 2x16 LCD so i can see basic status without having to look at the computer. the whole thing runs headless and just comes up when i power on the shack strip.

my question is more about the antenna switching side - im using a 74HC595 shift register to drive 8 relays through only 3 GPIO pins which works great on the bench but i keep seeing weird behavior when i key up. wondering if anyone else has seen relay chatter or logic glitches from RF getting into the GPIO lines. i added some bypass caps but not sure if thats enough or if i need proper optoisolation between the pi and the relay board.

  • Replies 1
  • Views 22
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah RF into GPIO is a real thing and bypass caps alone probably wont cut it if youre running any kind of power. i had almost the exact same problem with an arduino mega i was using for a band decoder a couple years back - the thing would just go crazy when i hit the key on 40m. ended up putting optocouplers on every single control line between the arduino and the relays and that fixed it completely. the PC817 is cheap and works fine for this, you can get a bag of 50 for almost nothing.

also make sure your relay board has its own separate power supply and that the grounds are only connected at one point or you can get ground loops that make everything worse. ferrite beads on the data lines going to the shift register helped me too, just snapped a few on the wires and it cleaned things up noticeably.

i did something similar but with a full pi 4 because i wanted to also run js8call and wsjt-x in the background. probably overkill but whatever i had it sitting around. the antenna switching thing i just punted on and bought one of those cheap 8 port HF antenna switches that takes BCD input, ran that from the GPIO directly with just some 1k resistors in series and honestly havent had any RF issues but im only running 100w so maybe thats why. higher power id definitely look at isolation more carefully like the other guy said.

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.