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 147
SN 141
A 10
K 2 Quiet
X-Ray C1.3
Wind 469.7 km/s
Aurora 2
Updated 22: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

anyone using arduino to automate their shack rotator control?

so ive been messing around with this for a few weeks now and i think im finally getting somewhere. basically i have an old prop pitch motor running my yagi and the controller that came with it died years ago and i was using a manual relay setup which was honestly terrible. so i picked up an arduino mega and a couple of current sensing boards and started writing some code to handle the position feedback from the pot on the rotator shaft.

the pot gives me a 0-5v sweep across the full 450 degrees of rotation and the arduino reads that fine on the analog pin, the problem im running into is the motor has a ton of inertia and by the time i tell it to stop it overshoots by like 8-10 degrees which is annoying when youre trying to nail down a specific azimuth. ive tried adding a braking delay in the code but it feels janky. wondering if anyone else has dealt with this and whether a PID loop is actually worth implementing or if theres a simpler fix. also considering tying a pi zero in to give it a web interface so i can control it from the logging software but thats a future problem

  • Replies 1
  • Views 83
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah PID is absolutely the right call for that inertia problem, i did basically the same thing with a green heron style clone i built and the overshoot was driving me crazy until i tuned a proper PID loop. the derivative term is what really helps with the braking — it kicks in as youre approaching the target and starts slowing the motor down before it gets there. took me a while to tune the Kd value right but once i got it dialed in the thing parks within 2 degrees consistently. theres a decent arduino PID library already written that works well, dont bother writing it from scratch.

one thing i also did was add a second slower speed relay so when its within like 15 degrees of target it switches to a slower creep speed and then the PID just handles final positioning. makes a huge difference with heavy beams.

the pi zero web interface part is really easy honestly, i run hamlib on a pi 3 and just pointed my logging software at it over the network. rotctld handles the whole thing. if your arduino can talk serial to the pi you could probably just write a simple python script that reads the position and accepts commands and then exposes that through rotctld. thats how mine works anyway. the hardest part was figuring out which rotator model to spoof in hamlib but there are generic options that work fine

  • Guest unlocked, pinned, locked and unpinned this topic
  • Guest pinned, unlocked, locked and unpinned this topic
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.