Diamond Machine HMI
Industrial touchscreen control for a diamond-cutting machine — STM32 + DWIN HMI over a custom UART protocol.

The product
A diamond-cutting machine needed a modern operator interface: facet pattern selection, grain orientation, auto/manual modes and safety interlocks — running on industrial hardware, not a tablet.
I built the multi-screen DWIN touchscreen UI and the STM32-side control firmware, linked by a custom bidirectional UART protocol with message framing, checksums, timeout detection and packet reject/retry. Corrupt packets drop the machine into an emergency safe state.
Under the hood
THE ENGINEERING
- 01
Custom UART protocol: framed, checksummed, timeout-aware — designed for electrically noisy factory floors
- 02
Screens for control, facet patterns (16P/8P/8R), grain orientation and status/notifications
- 03
Safety-first state machine: any protocol corruption → immediate safe state
- 04
Deployed on a real production diamond-cutting machine — running daily
In the product

Next case study
PicoAndroid IDE →