Industrial IoT (IIoT) covers a broad area, from sensor data in factories to greenhouse automation, and from building management to energy monitoring. So where do you begin an IIoT project?
1. Define the Problem Clearly
IoT should be solution-focused, not technology-focused. Before you start, answer these questions:
- What do you want to measure? (temperature, humidity, pressure, current, vibration…)
- Why do you want to measure it? (energy savings, quality control, predictive maintenance…)
- How often do you need to collect data? (once a second, once a minute, once an hour…)
- Who will use the data? (operator, manager, automation system…)
2. The Sensor Layer
Sensor selection is critical in an industrial environment:
- Temperature: PT100/PT1000 (precise), NTC/thermistor (economical), thermocouple (high temperature)
- Humidity: Capacitive humidity sensors (DHT22 for prototyping, Sensirion SHT for industrial)
- Pressure: Piezoresistive transmitter (a 4–20mA output is the industrial standard)
- Current/Energy: Current transformer (CT), Hall-effect sensor
Important: In an industrial environment, the IP protection rating, operating temperature range and EMC resistance must be evaluated.
3. Communication Protocols
| Protocol | Range | Bandwidth | Power | Use |
|---|---|---|---|---|
| Wi-Fi | 50m | High | High | Indoors, data-intensive |
| BLE | 30m | Low | Very low | Short range, battery-powered |
| LoRa | 5–15km | Very low | Low | Field, wide area |
| RS-485/Modbus | 1200m | Medium | - | Industrial, wired |
| Ethernet | 100m | Very high | - | Factory environment |
4. Gateway and Edge
Sensor data is transmitted to the cloud through a gateway:
- ESP32-based gateway — Economical, Wi-Fi/BLE bridge
- Raspberry Pi — Edge computing, local data processing
- Industrial gateway — Modbus-to-MQTT converters
Edge computing makes it possible to take critical decisions locally without going to the cloud. We actively use this approach in our greenhouse automation.
5. MQTT: The Lingua Franca of IoT
MQTT is the standard messaging protocol of the IoT world:
sensör/sera/sicaklik → 24.5°C
sensör/sera/nem → 65%
komut/sera/sulama → ON
- Lightweight — Low bandwidth, low power
- Publish/Subscribe — Flexible data distribution
- QoS levels — Data-loss prevention
- Retained messages — Storing the last state
6. Choosing a Cloud Platform
- OpenRemote — Open source, runs on your own server (this is our preference)
- ThingsBoard — Open source, rich dashboard
- AWS IoT / Azure IoT — Large-scale, enterprise
- Grafana + InfluxDB — Time-series data visualization
7. Security
In IIoT, security is not optional but mandatory:
- TLS/SSL encryption
- Device authentication (certificate-based)
- Firmware update mechanism (OTA)
- Network segmentation
Conclusion
An IIoT project delivers successful results with proper planning. Start small (one sensor, one dashboard), validate, then scale.
At MARG Engineering, we provide end-to-end IIoT solutions from sensor board design to cloud integration. Get in touch.
Related Content
- Service: Software Development (IoT/Web/Mobile) — MQTT/WebSocket, dashboard, sensor board design
- Projects: Greenhouse Automation, Building Management System (BMS) and our other IoT projects
- Related article: STM32 vs ESP32: Which One for Which Project?