using arduino to automate my antenna rotator — getting close but not quite there
- Replies 1
- Views 132
- Created
- Last Reply
Top Posters In This Topic
-
Rajesh Patel 1 post
-
Patricia Wilson 1 post
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
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.
Link to comment
https://www.hamradiobase.com/forums/topic/2078-using-arduino-to-automate-my-antenna-rotator-getting-close-but-not-quite-there/Share on other sites