Arduino or Raspberry Pi for shack automation? Splitting antenna switching, PTT and CAT control sensibly
- Replies 1
- Views 76
- Created
- Last Reply
Top Posters In This Topic
-
John Johnson 1 post
-
David Rodriguez 1 post
I'd like to get opinions on how to divide up a shack automation project between an Arduino-style microcontroller and a Raspberry Pi. The wish list is a remote antenna switch with band-based selection, a sequenced PTT line for a preamp and amplifier, rig control through Hamlib, and basic logging of SWR and supply voltage. All of it would sit a few feet from HF transmitters, so RF immunity matters as much as the code.
The obvious split is to let the Pi handle the network, the UI and software such as rigctld or WSJT-X, while a microcontroller handles anything with a hard timing or safety requirement. The questions I'd like to hear views on are these. Where exactly should that line fall? Should the Pi ever drive relays directly through GPIO? And what are the usual causes of a project that works on the bench and then misbehaves as soon as you key up on 40 m or 20 m?
Please keep in mind that GPIO on a Pi is 3.3 V and not 5 V tolerant, that a Pi boots into Linux with pins in a default state before your software takes over, and that a Pi running a full OS can't guarantee millisecond-level timing. It would be helpful to hear how others handle these constraints, whether with level shifting, a dedicated I/O board, or a serial link to a microcontroller.
Link to comment
https://www.hamradiobase.com/forums/topic/8618-arduino-or-raspberry-pi-for-shack-automation-splitting-antenna-switching-ptt-and-cat-control-sensibly/Share on other sites