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 125
SN 50
A 7
K 1 Quiet
X-Ray C1.5
Wind 425.0 km/s
Aurora 1
Updated 09: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 rotator — anybody done this?

 Loading...

so ive been messing around with this for a few weeks now and im at the point where i either need help or need to just accept i dont know enough python to make this work properly. basically the idea is to have a raspberry pi zero w sitting between my logging software and the rotator controller, parsing the AZ commands from ham radio deluxe and then sending the right voltage signals out through a little MCP4725 DAC board to the rotator's analog input.

the hardware side actually went smoother than i expected, i got the i2c talking to the DAC no problem and i can move the antenna manually by just writing values to the register from the terminal. the issue is the software side — when HRD sends a new azimuth command the pi sometimes just misses it entirely or processes it late and the antenna ends up like 15 degrees off where it should be. i think its a threading issue in my script but honestly im not sure. also running this over wifi feels kinda sketchy, wondering if i should just hardwire it with ethernet or use a small pi 3 instead of the zero.

anyone done something similar? doesnt have to be rotator specific, just curious if theres a better way to handle serial parsing on these things without it getting flakey.

  • Replies 1
  • Views 36
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah the zero w wifi is honestly not great for anything where timing matters, ive had similar headaches using one as a remote audio bridge and it would just randomly hiccup. if you can swing a pi 3A+ you get the same small-ish form factor but actual ethernet and a proper processor so the serial parsing doesnt fall behind. that said if you want to stick with the zero, look into using a hardware UART instead of relying on the USB CDC serial — the zero has two UARTs and if you disable bluetooth you can get a clean dedicated serial port that doesnt have the same latency weirdness.

for the threading thing, are you using a queue between your serial listener and the DAC write function? if youre just calling the DAC write directly from inside the serial read loop that could absolutely cause you to drop commands under load. stick the incoming commands in a queue.Queue and have a separate thread drain it, its like 10 extra lines and it fixes that whole class of problem.

not exactly the same setup but i did something with an arduino mega controlling an old hygain rotator and it was way simpler than i expected once i stopped overthinking it. arduino just polls the serial port in the main loop, parses the GS232 commands, and drives a motor controller board. no threading, no wifi, no linux, just runs forever without issues. might be worth considering if the pi zero is giving you grief — sometimes the simpler tool is the right one for a job like this where reliability matters more than flexibility.

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.