using an arduino to control my antenna rotator — anyone done this?
- Replies 1
- Views 33
- Created
- Last Reply
Top Posters In This Topic
-
Ashley Wilson95 1 post
-
John Anderson78 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 about three weeks now and i think im close but not quite there. basically i pulled an old prop pitch motor out of a junk pile and wanted to automate it with an arduino uno i had sitting in a drawer. the idea is pretty simple — read the pot on the rotator, compare it to a target bearing, drive an H-bridge to move the motor until theyre close enough, stop. sounds easy right.
the problem im running into is the feedback from the pot is noisy as hell. i got a 10-turn pot wired up and even with a 10uf cap across the wiper and ground the analogRead is still jumping around like 15-20 counts. that translates to maybe 5-6 degrees of error and for satellite work that's actually kinda significant. ive tried averaging 10 samples but then the response feels sluggish. wondering if anyone has done something similar or if theres a better way to handle the ADC noise on these boards. also using a L298N driver module which gets pretty warm even at modest speeds so maybe i need to look at something else there too.
running this with a raspberry pi as the front end eventually — plan is to have the pi run hamlib or maybe just a simple python script that talks to the arduino over serial and sends target azimuths. havent gotten that far yet but the hardware side is killing me first.
Link to comment
https://www.hamradiobase.com/forums/topic/5805-using-an-arduino-to-control-my-antenna-rotator-anyone-done-this/Share on other sites