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 401.6 km/s
Aurora 2
Updated 00:00 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

Arduino controlling my antenna rotator — anyone else gone down this rabbit hole

So I've been messing around with automating my antenna rotator for the past few months and finally got something semi-functional. Started with a Raspberry Pi 4 but honestly the Arduino Mega ended up being way more appropriate for the actual motor control side, Pi is sitting upstream handling the logging and the web interface I threw together.

Basic setup is the Arduino reading a pot on the rotator shaft for position feedback, then driving a relay board to handle the direction and a PWM signal going into a motor controller for speed. The pot side took forever to dial in because cheap pots are noisy as anything and I kept getting jitter that would make the antenna hunt back and forth. Ended up adding a small cap across the wiper and ground which helped a lot, then just did some software averaging on the ADC readings.

The Pi runs rotctld so it integrates with WSJT-X and a few other things automatically which is the part that actually feels like magic when it works. Click a callsign on the band map and the antenna just... moves there. Probably took me 40 hours total to get to this point which is maybe not the most efficient use of my time but here we are.

Anyone else doing anything similar or have thoughts on whether I should just have bought a commercial controller to begin with. I know the Yaesu interfaces exist but where's the fun in that.

  • Replies 1
  • Views 30
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah I went down almost exactly this same path about two years ago, except I tried to do everything on the Pi and regretted it pretty quickly. the real time stuff just doesnt play nice on a linux system without a lot of pain, latency was all over the place and the motor would overshoot constantly. splitting it up like you did with the Arduino handling the low level control is definitely the right call.

one thing I added that helped a lot was a second pot geared down further for coarse position and using the original for fine — kind of like a vernier deal. overkill probably but it got my pointing accuracy down to about 2 degrees which is good enough for my 2m yagi. also if you havent looked at it already there's a guy on github who did a pretty clean rotctld daemon implementation that talks to Arduino directly over serial, saved me writing a bunch of glue code.

commercial controller wouldve cost you what, 150 bucks maybe, but you wouldnt have learned any of this so I think the 40 hours is kind of beside the point honestly. I've got a G-450A that's been sitting in the shack for two years because the controller board fried and I just havent wanted to deal with sourcing the replacement. maybe I should just do what you did instead of waiting on a part.

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.