Raspberry Pi Node-RED Tutorial with Modbus & MQTT

Pubblicato il: 29 settembre 2016
sul canale di: Kurt Braun
228,438
1.9k

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 http://repo.mosquitto.org/debian/mosq...
sudo apt-key add mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo wget http://repo.mosquitto.org/debian/mosq...
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:
http://www.wago.com/infomaterial/pdf/...

Raspberry Pi DIN Rail Mount (Available on Amazon) http://www.dinrplate.com/


In questa pagina del sito puoi guardare il video online Raspberry Pi Node-RED Tutorial with Modbus & MQTT della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kurt Braun 29 settembre 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 228,438 volte e gli è piaciuto 1.9 mille spettatori. Buona visione!