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 B7.3
Wind 399.5 km/s
Aurora 2
Updated 03: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 antenna switch — anyone done this?

so ive been messing around with a raspberry pi zero w for the past few weeks trying to get it to handle antenna switching based on what band im on. the idea is it reads the band data output from my ic-7300 (the one on the back, acc port i think) and then fires the appropriate relay to route the coax to whichever antenna makes sense. right now i have 4 antennas and im sick of manually swapping things around especially during contests when im moving bands fast.

i got the basic python script talking to the serial port fine and i can read the CI-V data no problem, wrote a little loop that polls it every half second or so. the part im stuck on is the relay board. i picked up one of those 8 channel 5v relay modules off amazon and when i try to drive it from the pi gpio the relays kind of half-trigger sometimes, like i can hear them click but they dont always latch properly. wondering if its a power issue or if i need to add transistors or something between the gpio and the relay coils. the module has a VCC and a JD-VCC jumper and im honestly not 100% sure i have that set up right.

anyone gone down this road before? im comfortable with basic electronics but i dont have a ton of experience with driving inductive loads from gpio pins

  • Replies 1
  • Views 108
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah the JD-VCC thing is the classic gotcha with those cheap relay boards. basically if you leave the jumper on it ties the relay coil power to the same 5v as the logic side, which means your relays are pulling current through the pi's gpio which really cant handle that. what you want to do is remove that jumper and feed JD-VCC from a separate 5v supply — even a cheap phone charger brick works fine. the logic inputs on the board have optoisolators so they'll still talk to your pi gpio just fine but the coil current comes from the external supply instead. the half-triggering is almost certainly the pi's 3.3v gpio not having enough oomph to properly pull those inputs low, combined with not enough current available. separate the power rails and i bet it just works.

i did something pretty similar with a mega 2560 actually instead of a pi, used arduino because i didnt need the overhead of linux for something that simple. but the pi zero approach is fine especially if you want to run a web interface to override it manually which is honestly really handy.

those relay modules are a pain, been there. one thing i'd add is put some flyback diodes across your relay coils if the board doesnt already have them — when the relay de-energizes it spikes voltage back and over time that can do weird things. most of the chinese boards do have them but worth checking. also half second polling might be a bit slow if youre band hopping fast in a contest, i run mine closer to 100ms and it feels pretty snappy. not a huge deal but something to think about

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...

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.