Arduino or Raspberry Pi for shack automation? Splitting antenna switching, PTT and rotator control
- Replies 1
- Views 75
- Created
- Last Reply
Top Posters In This Topic
-
Digital Mode 1 post
-
Karen Thompson 1 post
I'm planning a shack automation setup and want to sort out which jobs belong on an Arduino-class microcontroller and which on a Raspberry Pi. The target features are:
1. Remote antenna selection (a multi-position coax switch driven by relays).
2. PTT and keying interfaces for digital modes.
3. Rotator control, with Hamlib's rotctld on the software side.
4. Logging of SWR, temperature and supply voltage.
5. Remote access over the LAN.
My starting assumption is that the Pi handles the software-heavy work (WSJT-X, Fldigi, Direwolf, rigctld, a web dashboard) and a small microcontroller handles anything that must be deterministic or safe if Linux hangs: relay sequencing, PTT timeout, and reading sensors. The two would talk over USB serial or MQTT.
Questions I'd like opinions on:
Is it sensible to keep PTT hardware on the microcontroller, with the Pi only sending a request? Or is that over-engineering for a station that mostly runs digital modes?
How do you deal with RF getting back into the control electronics on HF, especially with a station ground that isn't perfect? Ferrites, optoisolators and shielded enclosures all seem to be in play, but I don't know which matter most.
What failure modes should I design against from the start? The ones I've thought of are a hung Pi keying the transmitter, a relay switching while RF is present, and SD card corruption after a power dip.
Link to comment
https://www.hamradiobase.com/forums/topic/9308-arduino-or-raspberry-pi-for-shack-automation-splitting-antenna-switching-ptt-and-rotator-control/Share on other sites