Upload
-
View
1.784
Download
2
Embed Size (px)
Citation preview
NodeMCU X
BrowserX
Raspberry Pi 2X
MQTT
MQTT-Broker
Sensor
Sensor
Browser
Browser
Mobile
subscribe
subscribe
subscribe
subscribe
subscribe
publish
publish
subscribe
publish
publish
wifi
1.Raspberry Pi 2MQTT-Broker
Mosquitto config file
mosquitto.conf# Default listener# ====================port 1883listener 11111protocol websocketslistener 22222protocol mqtt
2.NodeMCUSensor
NodeMCUAn open-source firmware and development kit that helps you
to prototype your IOT product within a few Lua script lines
NodeMCU FlasherA firmware programmer for NodeMCU DEVKIT.
LuaLoaderLuaLoader is a Windows program for uploading files to the
ESP8266(NodeMCU) and working with the Lua serial interface.
3.Terminalscontroller
Paho Javascript ClientThe Paho JavaScript Client is a browser-based library that
uses WebSockets to connect to an MQTT server.<script src="./script/mqttws31.js" type="text/javascript"></script>
MODE
THANKS!
Any questions?