Arduino or Raspberry Pi for shack automation? Where to draw the line between microcontroller and Linux box
- Replies 1
- Views 89
- Created
- Last Reply
Top Posters In This Topic
-
Mark Johnson 1 post
-
Nicole Jackson 1 post
A design question that comes up in a lot of station automation projects: which jobs belong on an Arduino-class microcontroller, and which belong on a Raspberry Pi? Typical targets are antenna switching, band-decoder logic, rotator control, amplifier sequencing, remote power control, and logging or rig control over CAT.
Here is one way to split it, to get the discussion started. The Pi is good at anything that looks like a computer job: running Hamlib's rigctld, hosting a small web interface, handling digital-mode software, talking to a network, or storing logs. The Arduino (or a similar board like an ESP32 or Pico) is better when the job is simple, timing-sensitive, and must keep working even if the operating system hangs: relay drivers, PTT sequencing, reading a band-data line, or watching SWR or temperature and cutting drive.
The mixed approach is common: a Pi as the front end and an Arduino as the hardware interface, connected over USB serial or RS-485. That keeps 3.3 V Pi GPIO away from anything messy, and gives you a device that boots in a fraction of a second and has no filesystem to corrupt.
Where do you draw the line? Specifically, is it worth putting the PTT and relay sequencing path on a dedicated microcontroller even if the Pi could technically do it with GPIO? And what do you do about RF getting into the control wiring once you're running real power?
Link to comment
https://www.hamradiobase.com/forums/topic/8851-arduino-or-raspberry-pi-for-shack-automation-where-to-draw-the-line-between-microcontroller-and-linux-box/Share on other sites