using arduino to automate my antenna rotator — anyone else gone down this rabbit hole
- Replies 1
- Views 16
- Created
- Last Reply
Top Posters In This Topic
-
Mike74 1 post
-
Steven Brown 1 post
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
so i finally got fed up with the old controller for my yaesu G-450A and started messing around with an arduino mega to build something smarter. been at it for about 3 weeks now and honestly its both the most fun and most frustrating thing ive done in the hobby in a long time
the basic idea is pretty simple — read the pot voltage from the rotator, convert it to degrees, and then drive the motor relay outputs based on where i want to point. sounds easy right. except the pot in mine is super noisy and i keep getting jitter in the readings so the thing keeps hunting back and forth by like 2-3 degrees even when its supposed to be stopped. ive got a 10uf cap across the pot leads and tried averaging 50 samples in the ADC loop but its still twitchy. running it through a voltage divider to get the 0-4.5v range into the arduino 5v ADC
the longer term goal is to tie it into a raspberry pi 4 that would run hamlib rotctld and maybe flrig, so i could have the whole station automated — point the antenna based on what dx cluster is showing, log it, the whole deal. ive seen a few projects online doing similar stuff but most of them are half documented and you cant really figure out what they actually did
anyone gone down this path and have tips on the noise issue specifically? or just general thoughts on the arduino/pi combo for this kind of thing. im running arduino IDE 2.x and the pi is on bookworm if that matters
Link to comment
https://www.hamradiobase.com/forums/topic/6815-using-arduino-to-automate-my-antenna-rotator-anyone-else-gone-down-this-rabbit-hole/Share on other sites