Facility Condition Monitoring

Real-Time Pressure Monitoring System - iMining (Pty) Ltd

Production pressure monitoring system with 12 live measurement points. Replaced 4-hour manual checks with continuous real-time facility monitoring and automated anomaly detection. Deployed in a harsh industrial environment - 99.2% uptime over 6 months of operation.

Dec 2023 – May 2024
Deployment Stats

12

Measurement points

99.2% over 6 months of continuous operation

Uptime

<5 seconds from out-of-spec reading to notification

Alert latency

Real-Time Pressure Monitoring System - iMining (Pty) Ltd

Overview

Designed and deployed a complete real-time pressure monitoring system for iMining (Pty) Ltd. The system monitors 12 pressure sensors (4-20mA industrial-grade), processes data on a custom STM32 microcontroller board, and streams live readings to a browser-based dashboard via WebSockets. Automated alerts notify operators within 5 seconds of any out-of-spec reading. The system replaced manual 4-hour check cycles, providing continuous visibility into facility conditions and catching 3 anomalies that would have gone undetected under the previous regime.

The Challenge

Problem

Manual pressure checks every 4 hours created significant blind spots between readings. Facility anomalies could develop, escalate, and cause damage in the window between checks. There was no automated alerting - detection depended entirely on a technician being present at the right moment.

Environment

Harsh industrial facility with elevated dust levels, high ambient temperatures, and vibration from active equipment. Hardware needed to be ruggedized and firmware needed to be deterministic - a missed reading or software hang was not acceptable.

Goal

Continuous, real-time visibility into facility pressure conditions across 12 measurement points, with automated alerts for out-of-spec readings delivered within 5 seconds - eliminating the 4-hour blind spot entirely.

System Architecture

1

Sensors

12× 4-20mA industrial-grade pressure sensors - selected for operating range, ingress protection (IP65+), and linearity across the facility's expected pressure bands

2

Microcontroller

STM32 - chosen over ESP32 for deterministic real-time performance. Interrupt-driven ADC sampling ensures consistent sub-100ms acquisition latency regardless of system load

3

Custom PCB

Designed in Autodesk Eagle - includes precision current-to-voltage conversion circuitry, filtering for industrial noise rejection on 4-20mA lines, and STM32 integration headers

4

Communication

WebSocket-based real-time data streaming over local network - enables live dashboard updates without polling latency

5

Dashboard

Browser-based React frontend with real-time gauge displays, historical trend graphs, and configurable alert thresholds per sensor

6

Alerting

Firmware-level threshold detection with <5-second end-to-end latency from out-of-spec reading to operator notification

Technical Stack

Hardware
  • STM32 microcontroller (interrupt-driven architecture)
  • 12× 4-20mA industrial-grade pressure sensors
  • Custom PCB - Autodesk Eagle (signal conditioning, noise filtering)
  • Industrial enclosure - IP-rated, vibration-resistant mounting
  • Power supply with industrial voltage regulation
Firmware
  • C firmware - interrupt-driven ADC sampling
  • Real-time pressure data acquisition (<100ms latency)
  • Threshold monitoring with immediate alert triggering
  • WebSocket communication stack
  • Non-volatile data buffering for network interruption tolerance
Software
  • React-based real-time monitoring dashboard
  • WebSocket data ingestion and live display
  • Historical data logging and trend visualisation
  • Configurable alert thresholds per sensor channel
  • Role-based dashboard access

Results

MetricBeforeAfter
Detection speed4-hour manual check cyclesReal-time - continuous monitoring, instant detection
Alert latencyHours (dependent on manual inspection schedule)<5 seconds from out-of-spec reading to notification
System uptimeN/A - manual process, no uptime metric99.2% over 6 months of continuous operation
Anomalies detectedWould have been missed between manual checks3 anomalies caught and acted on before escalation
Alert accuracyHuman-dependent - subject to fatigue and gapsZero false positives in 6 months of operation
Measurement accuracyManual gauge reading - operator dependent±0.5% across all 12 channels

Technical Insights & Lessons

1

STM32 was the right choice over ESP32 for this application. The deterministic interrupt-driven architecture of the STM32 guaranteed consistent ADC sampling intervals - critical when you need sub-100ms acquisition latency in a production environment where timing variation could mean a missed event.

2

4-20mA signal conditioning on the custom PCB required more careful noise filtering than anticipated. Industrial environments introduce significant electromagnetic interference on long sensor cable runs. Adding proper current-loop filtering on the PCB eliminated spurious readings that appeared during early bench testing.

3

WebSocket latency under concurrent browser connections required firmware-level buffering optimisation. The original implementation caused alert delays when multiple operators viewed the dashboard simultaneously. Restructuring the firmware transmit queue resolved this and confirmed <5-second end-to-end alert latency under load.

Project Photos

Real-Time Pressure Monitoring System - iMining (Pty) Ltd - photo 1
Real-Time Pressure Monitoring System - iMining (Pty) Ltd - photo 2
Real-Time Pressure Monitoring System - iMining (Pty) Ltd - photo 3
Real-Time Pressure Monitoring System - iMining (Pty) Ltd - photo 4
Technologies Used
STM32Eagle PCBCWebSocketsReact4-20mA SensorsADCIndustrial I/O
Deployment Details
Measurement points12
Update frequencySub-1-second (real-time streaming)
Alert latency<5 seconds from out-of-spec reading to notification
Uptime99.2% over 6 months of continuous operation
EnvironmentActive industrial facility - dust, heat, vibration, continuous operation
DurationDec 2023 – May 2024 (deployment + monitoring phase)

"Nduvho built exactly what we needed - a reliable monitoring system that works in our harsh environment. The system caught a pressure anomaly that our manual checks would have missed. Professional, technically solid, and delivered on time."

Operations Manager

iMining (Pty) Ltd

Year2024
DurationDec 2023 – May 2024
CategoryFacility Condition Monitoring

Ready to Add Real-Time Monitoring to Your Facility?

Tell us about your facility, environment, and what you need to measure. We'll scope a system that works - sensors, firmware, dashboard, and deployment.