Shack controller design: Pico, ESP32 or Pi for CAT, antenna switching and SWR sensing, and how do you keep RF out of it?
- Replies 2
- Views 38
- Created
- Last Reply
Top Posters In This Topic
-
Admin_Lee 1 post
-
Mod_Chrissy 1 post
I'm sketching a small shack automation setup and want to compare architectures before buying parts. The goals are CAT control of the rig, a relay-based antenna switch, forward and reflected power sensing, and a simple status display. A Direwolf APRS station might share the same box later.
The candidates are a Raspberry Pi Pico (RP2040), an ESP32, and a full Raspberry Pi. They look like this on paper:
The Pico has predictable timing and a simple 3.3 V ADC, and it needs no OS. That suits keyer timing, relay sequencing and reading a detector. It has no radio of its own unless you use a Pico W.
The ESP32 adds Wi-Fi and Bluetooth, which is handy for a web dashboard. Its ADC is nonlinear and needs calibration. ADC2 is also unavailable while Wi-Fi is active on the original ESP32, so put analog inputs on ADC1 pins. The Wi-Fi transmitter is also one more RF source inside an enclosure that sits near an HF antenna feedline.
The full Pi runs Direwolf, Hamlib's rigctld and logging software comfortably, but it has no analog inputs and it's a poor choice for hard real-time work like relay interlocks or PTT sequencing.
My tentative split is a microcontroller for anything that touches the antenna or PTT, and a Pi for software TNC and logging, talking over serial or TCP. Does that match how you'd divide it? Where do you expect the RFI problems to show up first: CAT lines, ADC readings, or the USB cables?
On the interface side, CAT levels vary by radio. Icom CI-V is a single-wire open-collector bus. Many radios present TTL-level serial on an accessory jack, and some use true RS-232 voltages. Check the manual before wiring a 3.3 V GPIO to anything. A MAX3232-type converter or a transistor-based level shifter is cheap insurance.
Link to comment
https://www.hamradiobase.com/forums/topic/11622-shack-controller-design-pico-esp32-or-pi-for-cat-antenna-switching-and-swr-sensing-and-how-do-you-keep-rf-out-of-it/Share on other sites