Designing a Pico or ESP32 shack controller that survives RF: CAT levels, grounding, and fail-safe relay handling
- Replies 2
- Views 10
- Created
- Last Reply
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Many shack automation projects start the same way. A Pico or ESP32 reads band data from the rig over CAT, drives an antenna switch or band-pass filter bank, and maybe adds a small LCD with SWR and temperature readings. On the bench it works fine. Once it is connected to a transmitter and an antenna system, it can reset, lock up, or throw garbage onto the display.
This thread is for the design side of that problem, before anyone starts adding ferrites at random. A few questions to get the discussion going:
1. What is the best way to interface 3.3 V microcontrollers to the different CAT schemes? Icom CI-V is a single-wire open-collector bus. Some Yaesu and Kenwood rigs offer TTL-level serial on a jack, others use true RS-232 levels, and newer radios often present USB. The ESP32 and RP2040 should be treated as 3.3 V-only, so what level-shifting or isolation approach is worth the extra parts?
2. When the controller sits near HF coax and a 100 W signal, where does the RF usually get in? Candidates are the USB cable, the relay control wiring, the power lead, or the sensor and display wiring.
3. For an antenna switch or filter bank, what should the firmware do after a reset or brownout? For example, should the relays default to a safe antenna, drop everything, or hold the last state?
Details on rigs, wiring practices, and failure symptoms are welcome, particularly when they point to a specific cause.
Link to comment
https://www.hamradiobase.com/forums/topic/11945-designing-a-pico-or-esp32-shack-controller-that-survives-rf-cat-levels-grounding-and-fail-safe-relay-handling/Share on other sites