Edge Gateway for Process Data to IoT Platform

Published:

Overview

As part of the Industrial Internet of Things (IIoT) module in my Master’s program in Electrical Systems at HTWG Konstanz, I developed an edge gateway system to collect, process, and transmit process data from a production line in the university’s automation lab.
Download Report (PDF)

The edge gateway gets PLC data via an OPC UA gateway, preprocesses it using Node-RED, and forwards it over MQTT to the ThingsBoard IoT platform. The system enables live visualization, monitoring, and analysis of production and system status data.
System Architecture

Features

  • Data collection via MQTT in JSON format
  • Edge processing using Node-RED and JavaScript mapping
  • Live dashboards in ThingsBoard for process and system data
  • Containerized architecture with Docker for modular deployment
  • Monitoring of gateway health (CPU, RAM, temperature)

Tech Stack

  • Base Stack: IOTstack (forked)
  • Edge Tools: Node-RED, Mosquitto, Docker
  • Cloud Tools: ThingsBoard, PostgreSQL
  • Hardware: Linux-based Industrial Edge Gateway (FR201 OnLogic)