- Replies 1
- Views 36
- Created
- Last Reply
Top Posters In This Topic
-
David Davis44 1 post
-
Steve Martinez 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 im at the point where i either need help or need to just accept i dont know enough python to make this work properly. basically the idea is to have a raspberry pi zero w sitting between my logging software and the rotator controller, parsing the AZ commands from ham radio deluxe and then sending the right voltage signals out through a little MCP4725 DAC board to the rotator's analog input.
the hardware side actually went smoother than i expected, i got the i2c talking to the DAC no problem and i can move the antenna manually by just writing values to the register from the terminal. the issue is the software side — when HRD sends a new azimuth command the pi sometimes just misses it entirely or processes it late and the antenna ends up like 15 degrees off where it should be. i think its a threading issue in my script but honestly im not sure. also running this over wifi feels kinda sketchy, wondering if i should just hardwire it with ethernet or use a small pi 3 instead of the zero.
anyone done something similar? doesnt have to be rotator specific, just curious if theres a better way to handle serial parsing on these things without it getting flakey.
Link to comment
https://www.hamradiobase.com/forums/topic/2774-using-a-pi-zero-to-automate-my-antenna-rotator-anybody-done-this/Share on other sites