TL;DR:
- The Pi 5 is a legitimate production choice for indoor, conditioned-environment IoT gateways — but not for ATEX zones, sub-zero temps, or high-vibration applications
- Boot from NVMe SSD via M.2 HAT+, enable OverlayFS, and configure a hardware watchdog before any production deployment
- Use Ubuntu 22.04 LTS Server arm64, not Raspberry Pi OS, for predictable 5-year security maintenance
The Raspberry Pi 5 costs around £65. A ruggedised industrial SBC from Advantech or Beckhoff starts at £400+. For an engineer building a production line monitor or energy management gateway, that gap is hard to ignore. The question isn’t whether the Pi 5 is as tough as an Advantech ARK-3520 — it isn’t — but whether it’s tough enough for your application.
When the Pi 5 Is Appropriate
The Pi 5 ships with a quad-core Cortex-A76 at 2.4GHz, up to 8GB LPDDR4X RAM, and a PCIe 2.0 x1 interface that drives the M.2 HAT+ for SSD boot — solving the SD card reliability problem that plagued earlier models.
The Pi 5 is a reasonable production choice for data aggregation gateways in conditioned environments (server rooms, control rooms, indoor facilities with HVAC), collecting sensor readings from Modbus RTU or CAN bus devices and forwarding to an MQTT broker. Also for HMI or dashboard nodes in non-hazardous, temperature-controlled spaces. Prototyping and pilot lines where you need to validate application logic before committing to ruggedised hardware — porting to a CM4-based industrial carrier board later is a low-friction path. And low-stakes monitoring where a failure results in a missing reading, not a downed production line.
There are plenty of UK manufacturers and utilities using Pis exactly like this. It’s not unusual, and done properly it works reliably.
When the Pi 5 Is Not Appropriate
Don’t use a standard Pi 5 for ATEX/IECEx hazardous zones — the Pi 5 is not certified for environments where flammable gas, vapour, mist, or dust may be present. Full stop, no exceptions.
Sub-zero deployments are also out. The standard Pi 5 is rated 0–50°C ambient. For environments that drop below freezing, use hardware rated for it (Advantech ARK-1123C, Beckhoff CX5130). High vibration environments — greater than 5G RMS sustained vibration near large motors, compressors, or mobile equipment — will eventually fail connectors and the board itself. Safety-critical control is a hard no: if a node failure causes injury or equipment damage, you need hardware with functional safety certifications (IEC 61508, SIL-rated). And outdoor deployment without proper enclosure engineering — the Pi 5 has no conformal coating, and moisture and condensation will kill it without a properly engineered IP-rated enclosure.
OS Selection and Hardening
Choose Ubuntu 22.04 LTS Server arm64, not Raspberry Pi OS. Ubuntu gives you a 5-year security maintenance window and better package availability for industrial tooling. Raspberry Pi OS is fine for hobbyists; for production deployments where you need to maintain systems for years, LTS matters.
After first boot, disable unnecessary services:
systemctl disable --now bluetooth
systemctl disable --now avahi-daemon
systemctl disable --now cups
Read-only root filesystem with OverlayFS protects against filesystem corruption from unexpected power loss — and power cuts happen, particularly on industrial sites. OverlayFS mounts a writable tmpfs layer on top so normal operations still work. Install overlayroot and configure /etc/overlayroot.conf with overlayroot="tmpfs:swap=0,recurse=0". Write application state to a dedicated partition.
Hardware watchdog catches kernel hangs and application deadlocks. Enable it in /boot/firmware/config.txt with dtparam=watchdog=on, then install the watchdog daemon with a 15-second timeout. If the daemon stops feeding the watchdog, the board resets automatically.
Storage Reliability
MicroSD cards fail under write-heavy workloads. Sensor logging, SQLite databases, and rolling log buffers will cycle through a consumer SD card in months. If you must use SD cards, choose industrial-rated cards (Silicon Power 3D NAND Industrial, Transcend 500I) with SLC or pSLC NAND.
The preferred solution is the M.2 HAT+ with NVMe SSD. A 128GB NVMe SSD costs £12–18 and provides laptop-grade write endurance. Alternatively, USB SSD boot via the Pi 5’s USB 3.0 port is a cost-effective step up from SD cards. Don’t skip this step for production deployments — it’s the single change most likely to prevent premature hardware failure.
Industrial Protocol Connectivity
The Pi 5’s GPIO header, USB 3.0 ports, and UART interfaces make it a capable industrial protocol gateway.
For Modbus RTU over RS-485 — the most common industrial field bus — use a Waveshare CH343G or FTDI-based USB-to-RS485 adapter. Assign a persistent device name via udev rules to avoid /dev/ttyUSB0 changing across reboots:
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="modbus_rs485"
For CAN bus (CANopen, DeviceNet), use a Kvaser or Peak PCAN USB adapter — both have mainline Linux drivers. Enable with ip link set can0 up type can bitrate 500000.
Sample Deployment: Modbus RTU to MQTT
The most common production pattern: a temperature sensor on Modbus RTU, read by the Pi 5, published to an MQTT broker over TLS on port 8883.
Install: pip3 install minimalmodbus paho-mqtt. The Python bridge polls registers every 30 seconds and publishes a JSON payload. Wrap the script in a systemd unit with Restart=always and RestartSec=10 — systemd restarts it automatically on any crash.
Before You Deploy in Production
Run the application under load for 72 hours at target temperature — thermal issues show under sustained load, not on a bench. Simulate power loss and verify the filesystem recovers cleanly. Kill the watchdog daemon and confirm the board resets. Pin package versions with apt-mark hold. Have a recovery answer before go-live: flash a known-good image to a spare SSD, swap the drive, power on.
The Bottom Line
The Pi 5 is a legitimate production edge node for indoor, conditioned-environment applications in 2026. NVMe boot, OverlayFS, hardware watchdog, and Ubuntu 22.04 LTS take a few hours to configure and substantially change the reliability profile. Know the limits: ATEX zones, sub-zero temperatures, and safety-critical control are hard nos. For everything else, the ~£65 hardware cost and CM4 upgrade path make it a defensible choice.