Arduino or Raspberry Pi for shack automation? Dividing up antenna switching, PTT, rotator control and logging
- Replies 1
- Views 93
- Created
- Last Reply
Top Posters In This Topic
-
Contest Joe 1 post
-
Emily Wilson37 1 post
I'm planning a shack automation setup and want to sort out which jobs belong on an Arduino-type microcontroller and which belong on a Raspberry Pi. The wish list is: a remote antenna switch with a few coax relays, PTT and sequencing for a transceiver and amplifier, azimuth rotator control with a potentiometer for position feedback, and a Pi running Hamlib (rigctld), logging, and maybe a web page for status.
My current thinking is to let the Arduino handle anything that touches relays, PTT lines and analog feedback, and let the Pi talk to it over USB serial while it does the networking and software side. The Pi's GPIO is 3.3 V and not 5 V tolerant, and Linux isn't a real-time OS, so putting everything on the Pi feels fragile. But I may be overcomplicating it, since two boards means two things to debug.
The questions I'd like opinions on:
1. Is the split sensible, or would you put the relay and PTT work directly on the Pi's GPIO?
2. For keying a rig's PTT input, do you use an optocoupler, a transistor, or a small relay? How do you decide?
3. What do you do to keep RF out of the controller on a shack with HF and some power into the antenna? I'm thinking ferrites, shielded enclosures and bypassing, but I'd like to hear what actually matters most.
Link to comment
https://www.hamradiobase.com/forums/topic/9145-arduino-or-raspberry-pi-for-shack-automation-dividing-up-antenna-switching-ptt-rotator-control-and-logging/Share on other sites