Raspberry Pi Node-RED Tutorial with Modbus & MQTT @WagoKurt
Raspberry Pi Node-RED Tutorial with Modbus & MQTT  @WagoKurt
Uploaded September 2016 | Updated September 2026, 2 weeks ago
Tutorial showing how to use Node RED to develop an IoT web based application. Communication with WAGO Remote I/O using ModbusTCP and with WAGO PLC using MQTT (Mosquitto).


Mosquitto Install:
sudo apt-get update
wget repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo wget repo.mosquitto.org/debian/mosquitto-jessie.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mosquitto
sudo apt-get install mosquitto-clients

Node-RED Install:
sudo apt-get install npm
sudo npm install -g npm@2.x
hash -r
cd ~/.node-red
npm install node-red-contrib-modbus
npm install node-red-dashboard

Then:
node-red-start
node-red-stop
http://(Pi IP Address:1880)/#

For Autostart:
sudo update-rc.d nodered defaults

WAGO PN's
Remote IO Node:
750-352 Ethernet Coupler
750-602 24VDC supply module
750-1506 8ch DI / 8ch DO 24VDC
750-461 2ch RTD Module
750-600 End Module

PLC Node:
750-8100 PFC100 controller
750-469 TC Module 2ch
750-600 End Module

Other:
787-1602 24VDC Power Supply
8002-025/000-007 USB Charging Station
IO Catalog for more PN's:
wago.com/infomaterial/pdf/60245884.pdf

Raspberry Pi DIN Rail Mount (Available on Amazon) dinrplate.com
Raspberry Pi Node-RED Tutorial with Modbus & MQTTCodesys EtherCAT Redundancy TutorialNode-RED Simple Gateway Application Tutorial - Part 2CoDeSys 2.3 - Source Code Download Feature ExplainedWAGO Telecontrol Application Controller - DNP3 SlaveCodesys 3 Quick Start GuideTutorial - WAGO 767 SpeedwayOpen Source SCADA - Using PVBrowser with Modbus/TCP DriverWAGO 750-658 CAN Gateway Module - J1939 ExampleWAGO PFC Provisioning ToolWAGO PFC200 FW27: WBM Page Features & FunctionsCoDeSys Modbus TCP Communications (IEC 61131-3)WAGO 750-880 PLC Bootup Speed
Kurt Braun |

Raspberry Pi Node-RED Tutorial with Modbus & MQTT

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER