- Replies 1
- Views 28
- Created
- Last Reply
Top Posters In This Topic
-
Jennifer Liu 1 post
-
Jessica 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 for a few weeks now and i think im overcomplicating it but here goes. i have an old prop pitch rotator that i picked up at a hamfest and the controller that came with it is pretty much toast, the pot inside reads all over the place and i dont trust it for anything more than rough positioning. anyway i got to thinking that an arduino mega with a couple of relays and a good analog read on the feedback pot might do the job better than buying a replacement controller which honestly the aftermarket stuff for these is not cheap.
the basic idea is just read the pot voltage, do some math to convert that to degrees, compare it to a target heading sent over serial from ham radio deluxe or whatever, and then drive the relay board to run the motor CW or CCW until its close enough. ive got the serial comms working and the relay switching is fine but im having trouble with the pot readings being noisy — like plus or minus 8 degrees of bounce even when the antenna isnt moving. tried a 100uf cap across the wiper but it helped maybe a little. running 5v reference off the arduino which is probably part of the problem i guess.
has anyone gone down this road with a rotator project or something similar where youre reading a noisy analog signal and trying to get clean position data out of it. wondering if i should just switch to an external aref or maybe do some software averaging. the raspberry pi version of this might be cleaner but i really prefer keeping the control logic on something that just boots instantly and doesnt need an OS
Link to comment
https://www.hamradiobase.com/forums/topic/2514-using-an-arduino-to-automate-my-antenna-rotator-anyone-done-this/Share on other sites