This article will explain how we implemented Industrial Automation based on Node-RED and Raspberry Pi using Node-RED Dashboard. We have implemented the device in a rebar wood processing factory. Specifically, we have installed a device to control the wood dryer chamber. The environmental data to be considered are temperature and humidity in the room.
![]() |
Industrial Automation |
Industrial Automation
This is the age of the 4th industrial evaluation. Industry 4.0 is growing fast. It includes massive improvement of industries empowered by IoT, data mining, and machine learning. The IoT is now moving to IIoT(Industrial Internet of Things). Now we have the customized Raspberry Pi version, Revolution Pi, for the industrial Internet of Things.
Node-RED and Raspberry Pi
Node-RED is an IoT platform introduced by IBM based on node.js. This flow-based programming platform collects, stores, analyzes, manages, controls the data flow, and executes logical operations based on the instruction set.
Raspberry Pi is a very popular mini-computer with both processing and controlling features. This characteristic made it IoT friendly device. It can be used as an IoT server to communicate with sensors, industrial machines, the client through MQTT protocols, and a Wi-Fi network.
Industrial Automation using Node-RED Dashboard and Raspberry Pi
As Node-RED is an IoT tool and Raspberry Pi can be used as a controller and processor, we can deploy Node-RED and Raspberry Pi to collect sensor data. We can control the dryer fan, heater, spray, and flap to dehumidify based on the sensor and user-defined data from the Node-RED dashboard.
We have used the Arduino Ethernet shield to collect sensor data. After collecting data, Arduino will send data to Raspberry Pi through the MQTT protocol.
The code for Arduino ethernet shield:
The raspberry pi displays the node-RED dashboard. Users can set data from the Raspberry Pi touch display easily. The Node-RED dashboard looks like the following.
The Node-RED flow is given below:
The Node-RED gets the sensor values, and based on the data, it triggers the GPIO pins connected to Relay.