using an arduino to automate my antenna rotator — anyone done this?
- Replies 1
- Views 46
- Created
- Last Reply
Top Posters In This Topic
-
Thomas Anderson 1 post
-
Thomas Bradley 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 honestly. the idea is pretty simple — i want the arduino to read azimuth from my yaesu g-800 rotator controller (tapping the voltage on the pot output like everyone does) and then compare it against a target bearing i set, then drive the rotator relay until it gets close enough. like within 3 or 4 degrees is fine for HF.
i got the analog read part working no problem, voltage divider is set up and im getting sensible numbers out of it. the part thats killing me is the dead band logic. like when do i tell it to stop? i had it overshooting constantly last night and i couldnt figure out if it was the loop speed or just my relay debounce being garbage. tried adding a delay but that felt hacky.
also wondering if i should just scrap the arduino and throw a raspberry pi at this instead. pi has more headroom for eventually adding like a web interface or whatever but feels like overkill for what is basically just a comparator with relays. anyone gone either route and have thoughts?
Link to comment
https://www.hamradiobase.com/forums/topic/1098-using-an-arduino-to-automate-my-antenna-rotator-anyone-done-this/Share on other sites