- Replies 1
- Views 5
- Created
- Last Reply
Top Posters In This Topic
-
CW Whisperer 1 post
-
David Williams95 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 about 70% of the way there but hitting a wall. basically i have an old Yaesu G-450A rotator and i want to drive it from a raspberry pi 4 instead of the controller box, or at least have the pi read the position and log it automatically during contests.
the position pot in the rotator puts out 0-5v depending on where the antenna is pointing and i thought i could just read that with the pi's GPIO but of course the pi doesnt have an ADC so i ended up grabbing an MCP3008 off amazon and wiring that in. got the SPI talking to it okay and im reading values but theyre really noisy, like bouncing around by 20-30 counts even when the rotator isnt moving. not sure if its a grounding issue or if i need some filtering on the input. tried adding a 0.1uf cap to ground on the input pin and it helped a little but still not great.
the actual motor drive side i havent touched yet, was thinking about using a relay board to trigger the CW and CCW lines but i keep reading about people using H-bridge motor controllers instead. the motor in the G-450A is just a basic AC motor though so i dont think a typical H-bridge is gonna work for that? or am i wrong about that
anyway if anyone has done something similar or has ideas about the ADC noise problem id love to hear it. also open to just using an arduino for the analog side since it has a built in ADC and then talk to the pi over serial, maybe that would be cleaner
Link to comment
https://www.hamradiobase.com/forums/topic/4973-raspberry-pi-controlling-my-antenna-rotator-anyone-done-this/Share on other sites