Building a Raspberry Pi Industrial HMI Touchscreen Panel for Shop Machine Monitoring
An HMI (human-machine interface) panel — the touchscreen on an industrial machine that shows status, lets an operator start/stop a process, and surfaces alarms — is standard equipment on commercial manufacturing floors, and there's no real reason a serious home or small-business shop can't have the same thing for a fraction of the cost. A Raspberry Pi running a kiosk-mode dashboard, wired to a handful of relay and opto-isolated inputs, covers most of what a home shop actually needs: at-a-glance status for a CNC router, laser, or dust collection system, without needing anything close to a real industrial HMI's price tag.
What Counts as an HMI Here, and Why a Pi Is a Reasonable Choice
This isn't about replacing your CNC controller's own interface or your laser's control software — it's a separate, always-on status panel: is the dust collector running, is the laser chiller flowing, did a machine trip a fault input, what's the current state of a multi-stage process. A Raspberry Pi with a touchscreen handles this well because the hard parts — a web-capable display stack, GPIO for simple digital inputs, and enough processing power to run a dashboard framework — are all things the Pi ecosystem already does cleanly, rather than needing to build a custom embedded display controller from scratch.
Choosing a Touchscreen and Enclosure
The official Raspberry Pi 7" touchscreen (DSI-connected) is the simplest option for a compact panel — no HDMI cable to manage, powered and driven over the same ribbon/ ribbon-and-power connection, and well supported out of the box. For a larger panel, an HDMI capacitive touch monitor gives you more screen real estate for multi-machine dashboards at the cost of needing both an HDMI and USB (for touch) connection routed into the enclosure. Either way, mount the whole assembly in an enclosure rated for your shop's actual dust level — this site covers IP-rated enclosure design elsewhere, and a shop HMI sitting near a CNC router or sander needs at least a dust-resistant front bezel around the screen, if not a fully sealed enclosure with a clear polycarbonate window.
Software: Node-RED Dashboard vs. a Custom Kiosk Page
Node-RED with its Dashboard (or Dashboard 2.0) module is the fastest path to a working HMI — it gives you drag-and-drop gauges, status indicators, and buttons wired directly to GPIO or MQTT nodes without writing a traditional web frontend, and it's genuinely well suited to exactly this kind of simple status-and-control panel. If you want tighter control over layout or need something that looks less like a generic dashboard and more like a purpose-built panel, a small custom HTML/JS page served locally and opened in kiosk-mode Chromium gives you full design control at the cost of writing your own frontend and your own backend (a lightweight Flask or Node server) to read GPIO state and serve it to the page.
Wiring Inputs: Reading Machine Status Safely
Never wire Raspberry Pi GPIO directly to anything carrying mains voltage or a machine's native control-voltage signals (12V/24V industrial control circuits are common on machine controllers and VFDs) — GPIO pins are 3.3V logic and have essentially no tolerance for overvoltage. Use opto-isolated input modules between the Pi and any external signal: these modules accept a wider external voltage range on one side and switch a clean, isolated 3.3V-compatible signal to the Pi's GPIO on the other, which also protects the Pi from noise and ground-loop issues that are common on a shop floor with VFDs and motors nearby.
| Signal Source | Typical Voltage | Interface to Pi |
|---|---|---|
| Dry contact relay (machine run status) | Switched contact, no voltage itself | GPIO with internal pull-up, contact to GND |
| 24V PLC/VFD status output | 24V DC | Opto-isolated input module stepped to 3.3V logic |
| 120/240V indicator lamp circuit tap | Mains voltage | Do not tap directly — use a proper isolated relay or current-sensing module rated for mains, never direct GPIO |
Building the Kiosk
Set Chromium to launch in kiosk mode on boot (chromium-browser --kiosk --noerrdialogs --disable-infobars http://localhost:1880/ui for a Node-RED dashboard, adjusted for your actual URL), disable the screen blanking/power-saving timeout in raspi-config or via xset so the panel doesn't go dark mid-shift, and set the Pi to auto-login to the desktop session on boot so the kiosk launches with no manual intervention after a power cycle — a shop panel that needs a keyboard and a login after every outage defeats the point of having an always-on status display.
Mounting and Protecting the Panel
Route all wiring into the enclosure through proper cable glands rather than an open cutout, both for dust exclusion and so a yanked cable doesn't pull directly on a GPIO header. Mount the panel somewhere genuinely visible from the main working area, not tucked next to the machine it's monitoring — the entire value of an HMI panel is being able to check machine status without walking over and looking at the machine itself.
This is a project that scales naturally — start with a single machine's run/fault status on a small 7" panel, and expand the same Node-RED flow to cover additional machines and sensors as you wire them in, rather than needing to redesign the whole panel each time your shop grows.