CASE STUDY / 01

Industrial Batch
Controller

A Raspberry Pi based industrial dispensing controller designed to integrate load cells / flowmeters, solenoid valves and pumps with touchscreen HMI into one embedded system.

PLATFORM Raspberry Pi / Embedded Linux
STACK C++ / Qt / Modbus RTU

The system is an embedded industrial controller for automated liquid dispensing.

It combines a touchscreen user interface, load cell / flowmeter communication, GPIO pump and solenoid valve control, transaction management and thermal printing.

The dispensing process requires coordination between instrumentation, valves, pumps and the operator. The controller needs to react to real-time flow conditions while keeping the user interface simple enough for industrial operation.

01 Real-time measurement

Accurately measure material weight using load cells / flowmeters for precise dispensing control.

02 Process control

Control high-flow and slow-flow dispensing stages.

03 Reliable operation

Handle no-flow and communication timeout conditions.

04 Transaction traceability

Record batch and dispensing information for later use.

SYSTEM DESIGN

Architecture

The controller sits between industrial field devices, machine actuators and the operator interface.

FIELD DEVICES MK-Cells MK-D18+ / Endress+Hauser Promass 83F Modbus RTU / RS485
EDGE CONTROLLER Raspberry Pi Embedded Linux · C++ · Qt
CONTROL Valve / Pump GPIO
USER INTERFACE Touchscreen HMI Qt Widgets
OUTPUT Thermal Printer Serial / USB
LANGUAGE C++
FRAMEWORK Qt / Qt Widgets
HARDWARE Raspberry Pi
OS Embedded Linux
PROTOCOL Modbus RTU / RS485
CONTROL GPIO
DATABASE SQLite
DEPLOYMENT systemd
01

Load Cells / Flowmeter Integration

Reads measurement values from industrial load cells / flowmeters through Modbus RTU over RS485.

02

Multi-stage Dispensing

Uses high-flow and slowdown thresholds to control the dispensing process.

03

Machine Control

Coordinates valves and pump outputs through the Raspberry Pi GPIO interface.

04

Industrial HMI

Provides a touchscreen interface designed around the operator's workflow.

05

Transaction Management

Stores dispensing transactions and operational data for traceability.

06

Fault Handling

Includes communication and no-flow timeout handling to prevent uncontrolled operation.

ENGINEERING NOTE

Designed around
the machine, not just the screen.

The application architecture separates the operator interface, process data and machine-control responsibilities. This makes the system easier to test, maintain and extend as additional field devices are introduced.

←
BACK TO Home