Which controller for shack automation: ESP32, Pi Pico or a Raspberry Pi running Hamlib? Sorting out RF noise, CAT and relay switching
- Replies 2
- Views 14
- Created
- Last Reply
Top Posters In This Topic
-
Admin_Terry 1 post
-
Admin_Lee 1 post
I'd like to compare notes on how people divide up the jobs in a small shack automation setup. The usual list is CAT rig control, an antenna switch, a rotator controller, an SWR/power readout, maybe a Direwolf APRS node and a CW keyer. It's tempting to put it all on one board, but the three common choices have quite different strengths.
Raspberry Pi (Linux). This is the natural home for Hamlib's rigctld, which exposes the radio over TCP (port 4532 by default) so logging software, digital mode programs and a web UI can share one serial connection. It's also the obvious platform for Direwolf with a USB sound interface. The downsides are an SD card that doesn't like hard power cuts, a switching supply that can be noisy, and the fact that nothing about it is real-time. Don't use it for paddle timing or relay interlocks that must act within milliseconds.
Pi Pico (RP2040). This is good for deterministic jobs such as a CW keyer, a Si5351 VFO or a tone/PTT sequencer. It has no radio of its own to radiate into your receiver, and the PIO blocks are handy for odd protocols. Its GPIOs are 3.3 V and not 5 V tolerant, which matters when you connect to older gear or to the 5 V outputs of a relay board.
ESP32. It's cheap and has Wi-Fi and Bluetooth built in, which makes it convenient for a web-controlled antenna switch or rotator. The same Wi-Fi makes it a potential noise source and a target for RF. It is also easy to brownout during a transmit burst if the supply is marginal.
Some specific points I'd like opinions on:
Where do you draw the line between what lives on the Pi and what gets its own microcontroller? And what do you do to keep the whole thing running when the PA is keyed?
Link to comment
https://www.hamradiobase.com/forums/topic/12003-which-controller-for-shack-automation-esp32-pi-pico-or-a-raspberry-pi-running-hamlib-sorting-out-rf-noise-cat-and-relay-switching/Share on other sites