using a pi zero to automate my antenna rotator — anyone else gone down this rabbit hole
- Replies 1
- Views 36
- Created
- Last Reply
Top Posters In This Topic
-
Rag Chewer 1 post
-
Jessica Wilson66 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 a raspberry pi zero w for the past few weeks trying to get it to control my old Yaesu G-450A rotator and honestly its been equal parts fun and maddening. the rotator itself is fine, its the interface side that keeps biting me. i wrote a little python script that reads the azimuth voltage from the rotator controller through an ADS1115 ADC over i2c and its mostly working but i keep getting these weird jitter spikes where the reading will just randomly jump like 20-30 degrees for a sample or two and then settle back down. ive got some filtering in the code but its not totally cleaning it up.
the stepper driver side is actually working pretty solid, using an L298N module to drive the rotator motor direction and its responding to the az commands from hamlib rotctld which is running on the same pi. wsjtx on my main machine can talk to it over the network and it does actually point the antenna where i tell it to, most of the time.
i think the jitter might be electrical noise getting into the ADC lines since the motor and the signal wires are kind of all bundled together in the cable run i did. gonna try some shielding or maybe just separate the runs. anyone dealt with this kind of noise pickup on i2c ADC stuff in a shack environment? the RF alone in there is probably not helping either.
Link to comment
https://www.hamradiobase.com/forums/topic/5290-using-a-pi-zero-to-automate-my-antenna-rotator-anyone-else-gone-down-this-rabbit-hole/Share on other sites