using a raspberry pi to control my antenna rotator - anyone done this?
- Replies 1
- Views 39
- Created
- Last Reply
Top Posters In This Topic
-
Michael Stevens 1 post
-
Michael Brown79 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 messing around with this idea for a few weeks now and i think its actually doable but wanted to see if anyone else has gone down this road before i sink too much time into it. basically i have an old yaesu G-450A rotator that works fine mechanically but the controller unit is pretty beat up and im thinking instead of hunting down a replacement controller i just build one around a raspberry pi.
the plan is to use a pi 4 and a couple of ADC chips to read the pot position from the rotator, then drive the motor direction relays through a relay hat or maybe just discrete transistors off the GPIO pins. i already have most of the parts lying around from other projects. the tricky part i think is going to be the feedback loop to get smooth stopping without overshooting the target bearing too much - anybody dealt with that? i know some people use a PID loop for this kind of thing but ive never actually implemented one and not sure if thats overkill for a rotator that moves like 3 degrees per second anyway.
also thinking about slapping a web interface on it so i can control it from inside the shack over the local network, maybe tie it into my logging software eventually. running hamlib on the pi might be the easiest path for the logging integration but not sure. anyway if youve done something similar or have thoughts on the relay driving side especially id love to hear it
Link to comment
https://www.hamradiobase.com/forums/topic/7254-using-a-raspberry-pi-to-control-my-antenna-rotator-anyone-done-this/Share on other sites