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 B7.8
Wind 387.9 km/s
Aurora 3
Updated 01: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

using arduino to automate my antenna rotator — getting close but not quite there

so ive been working on this for a few weeks now and figured id post here in case anyone else has gone down this rabbit hole. basically i have an old prop pitch rotator that i picked up at a hamfest a few years back and i finally decided to do something useful with it instead of letting it sit in the garage. the goal is to have an arduino mega reading az/el from my logging software over serial and then driving the motor controller accordingly.

the motor side is mostly sorted, im using an IBT-2 h-bridge module which handles the current just fine. the problem im running into is the feedback pot — its a 10-turn pot and the ADC on the arduino is only 10 bit so im getting some jitter in the position readings. ive tried averaging like 16 samples but it still drifts a few degrees back and forth and the motor just keeps hunting around the target heading. its not terrible but its annoying enough that i cant really call it done.

wondering if anyone has dealt with this. i was thinking maybe switch to an ADS1115 for 16-bit resolution but not sure if thats overkill or if the issue is somewhere else entirely. also running the whole thing off a raspberry pi 4 now for the rotctld interface which is actually working really well — hamlib picks it up no problem and flrig talks to it fine too.

  • Replies 1
  • Views 132
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah the hunting problem is almost always a deadband issue rather than resolution. even with perfect ADC readings if your control loop doesnt have a wide enough deadband the motor will never settle. i went through the exact same thing with a similar setup and the fix for me was just defining like a 3-4 degree window where the controller says good enough and stops driving. once i did that the jitter basically disappeared even with the stock arduino ADC.

that said the ADS1115 isnt a bad idea anyway especially if you ever want to do precise satellite tracking where a degree or two actually matters. but id try the deadband fix first because its literally a few lines of code change and you might find you dont need anything else. also check your power supply — if the arduino and the motor controller are sharing a supply the noise from the motor switching can mess with your analog readings pretty badly. learned that one the hard way too.

im running almost the same stack actually, pi 4 with hamlib rotctld and an arduino handling the low level stuff. works great for my yagi on 2m. one thing i did was add a small cap across the wiper and ground on the feedback pot, like 100nF or so, helped clean up the ADC readings noticeably. probably not your whole problem but worth trying before you spend money on external ADC hardware.

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...

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.