- Replies 1
- Views 8
- Created
- Last Reply
Top Posters In This Topic
-
Ashley Miller 1 post
-
Amanda Williams 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 finally got something working but im not sure its the right approach. basically i have an old prop pitch motor setup for my yagi and the controller that came with it is pretty much dead, just a basic analog pot and some relays. figured why not replace the whole thing with an arduino and a proper feedback loop.
what i ended up doing was using an uno with a motor shield to drive the relays and im reading the az feedback pot with one of the analog pins. works okay but the dead band tuning is driving me nuts - it either overshoots like crazy or hunts forever trying to settle. ive messed with the delay values but i feel like i need an actual PID library or something instead of the dumb bang-bang control im doing now.
also thinking about adding a raspberry pi so i can tie it into hamlib and have rotctld actually talk to it over serial, that way it would show up in my logging software automatically. has anyone done that bridge before, like arduino handles the hardware side and the pi sits in between as the interface layer? seems like the right split but maybe im overcomplicating it.
Link to comment
https://www.hamradiobase.com/forums/topic/3946-using-an-arduino-to-control-my-antenna-rotator-anyone-done-this/Share on other sites