Arduino or Raspberry Pi for shack automation: where do you draw the line between them?
- Replies 2
- Views 87
- Created
- Last Reply
Top Posters In This Topic
-
Nordic Ham 1 post
-
Emily Brown 1 post
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
I'm sketching a control system for a small HF/VHF station and trying to decide what belongs on an Arduino-class microcontroller and what belongs on a Raspberry Pi. The wish list so far:
1) A remote antenna switch with 6 to 8 ports, using coax relays at the tower base or a junction box.
2) Band-data-driven switching, so the rig's band output or CAT frequency selects the right antenna and band-pass filter.
3) Rotator control with azimuth feedback.
4) Logging of SWR, forward power, supply voltage and temperature.
5) A web page or app for remote operation over the home network.
My first instinct is to put everything on a Pi, since it already has networking, Hamlib, Python and a filesystem. But a general-purpose Linux board feels like the wrong thing to trust with relay states when the transmitter is keyed. An Arduino-style board boots in milliseconds and does one job, but it has no useful network stack on its own and is awkward for logging.
Questions for the group:
Which functions should be hard real-time and live on the microcontroller (PTT sequencing, relay interlocks, watchdog)? Which are fine on the Pi (UI, logging, rigctld)? And how do you link them: USB serial, I2C, RS-485 or something else? The cable run to the antenna switch could be 20 to 30 m, and I'm wary of putting RF-prone I2C on that length.
I'm also curious about the practical hazards: 3.3 V GPIO on the Pi versus 5 V logic on many Arduino boards, relay coil kickback, and keeping digital noise off the receive side on HF.
Link to comment
https://www.hamradiobase.com/forums/topic/9375-arduino-or-raspberry-pi-for-shack-automation-where-do-you-draw-the-line-between-them/Share on other sites