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 201
SN 126
A 14
K 1 Quiet
X-Ray C4.3
Wind 398.1 km/s
Aurora 1
Updated 11:30 UTC HamQSL · N0NBH
Day 80/40m Poor 30/20m Good 17/15m Good 12/10m Good
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 arduino to automate my antenna rotator — anyone done this?

 Loading...

so ive been messing around with this for a few weeks now and i think im overcomplicating it. basically i have an old yaesu g-450a rotator and i want to drive it from an arduino instead of the manual controller. the idea is to eventually tie it into my logging software so it just follows the beam heading automatically when i work a dx station.

i got the basic H-bridge motor driver wired up and i can turn the thing but the feedback pot is giving me grief. the voltage divider math isnt matching what im actually seeing on the analog pin, and i think its because the pot in the rotator isnt a clean linear taper. or maybe im just reading it wrong. ive got a 10-bit ADC so theoretically i should have plenty of resolution but the readings jump around like crazy especially when the motor is running.

has anyone done something similar with a raspberry pi instead? i was thinking maybe a pi would be easier since i could run hamlib directly on it and just write a python script. but then again the arduino response time is probably better for the actual motor control. maybe both? pi for the logic and arduino as a hardware interface? i dont know, starting to feel like this rabbit hole has no bottom.

  • Replies 1
  • Views 30
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah done almost exactly this, though i used a different rotator. the jumping ADC readings when the motor runs is almost certainly noise on your supply rail coupling into the analog reference. throw a 100uF cap across your Vcc and GND right at the arduino and a smaller ceramic like 100nF close to the AREF pin if you're using an external ref. also if your motor driver and arduino are sharing the same supply that's gonna cause you problems, run them off separate regulators even if they share a common ground.

the pi plus arduino combo is honestly what i ended up with too. pi runs hamlib and a little flask server that talks to my logging software over the network, arduino handles the PID loop for the motor and just accepts a target azimuth over serial. works really well once you iron out the noise stuff. the latency between the pi sending a command and the antenna actually moving is maybe a second or two which is totally fine for HF work.

not done the rotator thing specifically but i built a raspberry pi based rig controller for my ic-7300 and hamlib on the pi is pretty solid once you get the udev rules sorted out for the USB serial device, otherwise it renumbers on you every reboot and your scripts break. just something to watch for when you go down that road.

also on the pot linearity issue — some of those old rotator pots are genuinely worn out and you'll never get clean readings no matter what you do. might be worth measuring the resistance across the full sweep with a meter before you spend too much time on the software side of it.

  • Guest unlocked, pinned, locked and unpinned this topic

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.