anyone using arduino to automate their shack rotator control?
- Replies 1
- Views 83
- Created
- Last Reply
Top Posters In This Topic
-
Mark Stevens 1 post
-
Diana Williams 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 finally getting somewhere. basically i have an old prop pitch motor running my yagi and the controller that came with it died years ago and i was using a manual relay setup which was honestly terrible. so i picked up an arduino mega and a couple of current sensing boards and started writing some code to handle the position feedback from the pot on the rotator shaft.
the pot gives me a 0-5v sweep across the full 450 degrees of rotation and the arduino reads that fine on the analog pin, the problem im running into is the motor has a ton of inertia and by the time i tell it to stop it overshoots by like 8-10 degrees which is annoying when youre trying to nail down a specific azimuth. ive tried adding a braking delay in the code but it feels janky. wondering if anyone else has dealt with this and whether a PID loop is actually worth implementing or if theres a simpler fix. also considering tying a pi zero in to give it a web interface so i can control it from the logging software but thats a future problem
Link to comment
https://www.hamradiobase.com/forums/topic/923-anyone-using-arduino-to-automate-their-shack-rotator-control/Share on other sites