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 101
SN 82
A 6
K 0 Quiet
X-Ray B3.6
Wind 323.7 km/s
Aurora 1
Updated 12:30 UTC HamQSL · N0NBH
Day 80/40m Good 30/20m Good 17/15m Fair 12/10m Poor
Night 80/40m Good 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 an arduino to automate my antenna switching - anyone done this?

so ive been messing around with this idea for a while now and finally started actually building it out. basically i want the arduino to handle switching between my vertical and my yagi automatically based on what band i'm on, pulling the band data from my rig via the CI-V interface. i have an IC-7300 so thats at least relatively straightforward to read from.

i got a nano clone off ebay for like 3 bucks and its been sitting on my bench for two months. finally wired it up to a relay board i had laying around and wrote some pretty rough code to parse the CI-V packets. its... mostly working. the band switching logic seems fine but every now and then it just decides to switch to the wrong antenna for no obvious reason and i cant figure out if its a timing issue in the code or if im getting noise on the serial line or what.

has anyone gone down this path before? curious if raspberry pi would have been a smarter choice here, maybe running hamlib or something. the arduino is simple which i like but im wondering if im fighting it on the serial parsing stuff when a pi could just handle all that more gracefully with proper libraries.

  • Replies 1
  • Views 76
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah done almost exactly this with a 7300, the CI-V stuff is pretty well documented but the timing can bite you. what baud rate are you running the CI-V at? i found that if i had it set too high and my parsing loop wasnt tight enough id get corrupt packets and the band detection would go haywire. dropped it down to 9600 and added a little debounce delay before acting on a band change and it cleaned up a lot of the random switching.

also worth putting a 100 ohm resistor on the serial line and maybe a small cap to ground if you're running any relays near the arduino. relay coils can throw out enough noise to mess with the uart if youre not careful, learned that the hard way. pi would work too but honestly the arduino is fine for this, you dont need linux for switching a few relays.

i went the pi route for something similar and honestly it was overkill for just antenna switching. spent more time messing with the OS and dependencies than actually building the thing. if i were doing it again id stick with an arduino or maybe an ESP32 if i wanted wifi in the mix for remote monitoring or whatever. the ESP32 is still cheap and has way more horsepower than a nano without dragging in all the linux overhead.

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.