Arduino controlling my antenna rotator — anyone else gone down this rabbit hole
- Replies 1
- Views 30
- Created
- Last Reply
Top Posters In This Topic
-
Jessica Williams 1 post
-
James Rodriguez 1 post
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
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.
Link to comment
https://www.hamradiobase.com/forums/topic/6123-arduino-controlling-my-antenna-rotator-anyone-else-gone-down-this-rabbit-hole/Share on other sites