Introduction: Why Smart Factories Need Better Data Acquisition

Manufacturing lines generate enormous volumes of process data — analogue signals from pressure transmitters and temperature probes, digital states from machine contactors and limit switches, serial instrument readings from flowmeters and analysers. However, collecting all of that data reliably, in real time, and routing it to a visualisation platform is harder than it should be. Industrial DAQ hardware is either too rigid, too expensive, or locked to a proprietary ecosystem that limits what engineers can do with the data downstream.

The NORVI X solves this. When configured as a smart factory DAQ system, it brings together analogue input expansion (AI4), high-density digital input expansion (DI16), RS-485 serial instrument connectivity via UART-IO, and a built-in MQTT stack that publishes every data point to Grafana dashboards or NORVI Cloud — all on one DIN-rail platform running an ESP32-S3 core. Because each layer of the acquisition chain is modular, you build exactly the DAQ architecture the application needs, without paying for unused capability.

This article walks through each hardware layer of the NORVI X DAQ stack, explains how data flows from field sensor to cloud dashboard, and shows why this approach outperforms traditional DAQ hardware in smart factory environments.

The Four Hardware Layers of a NORVI X Smart Factory DAQ System

A complete NORVI X smart factory DAQ system combines four distinct acquisition layers. Each layer targets a specific signal class, and together they cover the full range of sensors and instruments found on a modern production floor.

Layer 1 — AI4: Four-Channel Analogue Input Expansion

Most process instruments in a smart factory output a 4–20 mA current loop signal or a 0–10 V voltage signal. Temperature transmitters, pressure sensors, load cells, humidity probes, and level transducers all use these standard analogue ranges. The NORVI X AI4 expansion module provides four independent analogue input channels, each with 16-bit resolution and configurable input range selection.

Because the AI4 connects over I²C with addressable module IDs, multiple AI4 modules stack on the same NORVI X bus — scaling analogue capacity in four-channel increments without modifying the CPU module or the control firmware. The ESP32-S3 reads each channel on a configurable polling interval, timestamps the reading using the onboard DS3231 real-time clock (standard on all NORVI X CPU modules), and buffers the sample in local SRAM before publishing upstream.

In practice, a single NORVI X node with two AI4 modules covers a machine cell with eight analogue instruments — spindle load, coolant pressure, hydraulic pressure, ambient temperature, vibration RMS, and three additional process variables — on one DIN-rail slot.

Layer 2 — DI16: Sixteen-Channel Digital State Acquisition

Digital inputs capture binary machine states: conveyor running or stopped, safety gate open or closed, part present or absent, motor overload tripped or healthy. In high-density manufacturing cells, a single machine can expose 20 or more digital status points that the DAQ system needs to monitor continuously.

The NORVI X DI16 expansion module delivers sixteen optically isolated digital input channels per module, with ESD protection up to ±4 kV contact discharge. Optical isolation separates the sensor ground from the controller ground, which prevents ground loop interference from corrupting digital state readings — a common failure mode in machines with variable frequency drives or welding equipment nearby.

Because the DI16 connects on the same I²C expansion bus as the AI4 modules, the NORVI X smart factory DAQ system reads analogue process variables and digital machine states in the same polling loop, timestamps both in the same RTC domain, and publishes both in the same MQTT payload — giving the Grafana dashboard a unified, time-coherent view of the machine state.

Layer 3 — UART-IO: RS-485 Serial Instrument Connectivity

Not every factory instrument uses analogue, or digital I/O. Flow meters, gas analysers, weigh scales, energy meters, and many other precision instruments communicate over RS-485 using Modbus RTU or proprietary ASCII protocols. These instruments carry richer data than a 4–20 mA loop — a single Modbus flow meter may expose flow rate, totalised volume, fluid temperature, and diagnostic codes on the same RS-485 register map.

The NORVI X UART-IO expansion module adds a dedicated hardware UART port with RS-485 transceiver, independent from the CPU module’s primary serial port. This dedicated port polls Modbus instruments on a configurable schedule, parses the register responses, and feeds the decoded values into the same data pipeline as the AI4 analogue readings and DI16 digital states.

A typical RS-485 bus on a NORVI X DAQ node supports up to 32 Modbus devices at 9600–115200 baud. In a smart factory energy monitoring application, that means one UART-IO port reads power consumption from every machine on the production line — total active power, reactive power, power factor, and harmonic distortion — without any additional gateways or protocol converters.

Layer 4 — MQTT Publisher: From NORVI X to Grafana or NORVI Cloud

Once the ESP32-S3 collects analogue samples from AI4, digital states from DI16, and serial instrument data from UART-IO, the firmware assembles a structured JSON payload and publishes it over MQTT. The MQTT client runs over Wi-Fi, Ethernet, or 4G LTE depending on the CPU variant in use — X1 for wired Ethernet, X2 for cellular IoT, X3 for high-speed 4G LTE.

The JSON payload carries a device ID, an ISO 8601 timestamp from the DS3231 RTC, and a keyed data object containing every acquired channel value. This structure maps directly to InfluxDB line protocol for Grafana integration, or to the NORVI Cloud ingestion API for hosted visualisation.

On the Grafana side, a standard MQTT data source plugin or an InfluxDB bridge subscribes to the NORVI X topic tree and writes incoming payloads to the time-series database.

Within minutes of commissioning the first NORVI X node, production engineers view live analogue trends, digital state timelines, and RS-485 instrument readings on a single Grafana dashboard — without any custom middleware.

Data Flow Architecture: End to End

Understanding the full data path helps engineers design a NORVI X smart factory DAQ system that scales reliably from a single machine cell to a plant-wide deployment.

At the field layer, sensors and instruments wire directly to the expansion modules. AI4 channels connect to 4–20 mA transmitters via two-wire loops or 0–10 V sources via shielded cable. DI16 channels wire to machine PLC output cards, proximity sensors, or relay contacts. The RS-485 bus connects to instrument terminals using twisted-pair cable with a 120-ohm termination resistor at the far end.

At the controller layer, the ESP32-S3 runs a polling loop that reads each module on a configurable schedule — typically 100 ms for digital states, 500 ms for analogue channels, and 1–5 seconds for Modbus RS-485 instruments.

The DS3231 RTC provides microsecond-accurate timestamps so that every sample carries a precise acquisition time, regardless of network latency when the payload uploads.

At the cloud layer, the MQTT broker receives timestamped payloads from every NORVI X node on the factory network. Grafana queries the time-series database and renders production dashboards that maintenance teams, process engineers, and operations managers use in daily shift reviews.

Because the smart factory DAQ system publishes standard MQTT with JSON payloads, it connects to any MQTT-compatible platform — not just Grafana or NORVI Cloud. AWS IoT Core, Azure IoT Hub, Node-RED, and Home Assistant all subscribe to the same topic tree without any firmware changes on the NORVI X device.

Scaling the DAQ System Across a Production Floor

One of the strongest arguments for the NORVI X as a smart factory DAQ system platform is how cleanly it scales. A single node handles one machine cell. Adding a second node for the adjacent cell requires only a new NORVI X unit, a SIM card or Ethernet drop, and a topic namespace update in the MQTT broker configuration. The Grafana dashboard template extends to the new node with a variable substitution — no schema changes, no middleware updates.

Because each NORVI X node operates independently, a network outage at one cell does not affect data acquisition at others. The local microSD card slot on the CPU module provides store-and-forward buffering: if the MQTT broker becomes unreachable, the node writes payloads to the SD card and retransmits them in chronological order when connectivity restores. No data gaps appear in the Grafana timeline.

For plant-wide deployments with dozens of machine cells, the NORVI X expansion architecture grows to 200 I/O points per node. A heavy press line with 40 digital inputs, 12 analogue channels, and 8 Modbus instruments fits on a single NORVI X node with three DI16 modules, three AI4 modules, and one UART-IO module — all managed by one ESP32-S3 CPU and one MQTT client.

Conclusion: NORVI X Delivers a Production-Ready Smart Factory DAQ System

The NORVI X smart factory DAQ system architecture — AI4 for analogue inputs, DI16 for digital states, UART-IO for RS-485 instruments, and MQTT to Grafana or NORVI Cloud — covers every signal class on a production floor without proprietary middleware, vendor lock-in, or excessive hardware cost. The ESP32-S3 processing core handles multi-layer polling, RTC timestamping, local SD buffering, and MQTT publishing simultaneously, so the acquisition pipeline stays reliable under factory network conditions.

For manufacturing engineers building IIoT infrastructure, systems integrators deploying machine monitoring solutions, and OEMs embedding DAQ capability into production equipment, the NORVI X provides a modular, open, and scalable foundation. Commission a single node at one machine cell, validate the Grafana dashboard, and expand across the plant — one module at a time.

Related Links