Difference:
MQTTAndCayenne
(1 vs. 2)
Revision 2
2019-05-14 -
UliRaich
Line: 1 to 1
META TOPICPARENT
name="WorkshopSlides"
Changed:
<
<
Title
>
>
Setting up an IoT
Session3: MQTT and Cayenne
Uli Raich
Formally CERN, Geneva, Switzerland
The Network Layers
The WeMos D1 mini has a built-in WiFi interface
In order to communicate with other IoT nodes we must therefore connect to the WiFi network first
On top of WiFi we will run a TCP session
On top of TCP we will run the MQTT protocol
On top of MQTT we have dedicated topics and payloads imposed by Cayenne
Accessing the WiFi network from Micropython
MQTT
MQTT (Message Queuing Telemetry Transport: a publish-subscribe based
message protocol running of top of TCP.
A processor can subscribe to messages of a certain “topic” and/or it can push its
results on a certain topic
MQTT Demo
The Micropython library
A MQTT example using umqtt.simple
%SLIDESHOWEND%
Line: 10 to 46
Comments
(Edit - Preview)
<--/commentPlugin-->
\ No newline at end of file
Added:
>
>
META FILEATTACHMENT
attachment="wifiConnect.png" attr="" comment="" date="1557854311" name="wifiConnect.png" path="wifiConnect.png" size="131494" user="UliRaich" version="1"
META FILEATTACHMENT
attachment="mqttPostOfffice.png" attr="" comment="" date="1557854314" name="mqttPostOfffice.png" path="mqttPostOfffice.png" size="51402" user="UliRaich" version="1"
META FILEATTACHMENT
attachment="mqttDemo.png" attr="" comment="" date="1557854608" name="mqttDemo.png" path="mqttDemo.png" size="195883" user="UliRaich" version="1"
META FILEATTACHMENT
attachment="micropython-lib.png" attr="" comment="" date="1557855078" name="micropython-lib.png" path="micropython-lib.png" size="77052" user="UliRaich" version="1"
META FILEATTACHMENT
attachment="umqttDemo.png" attr="" comment="" date="1557855530" name="umqttDemo.png" path="umqttDemo.png" size="73955" user="UliRaich" version="2"
Revision 1
2019-05-14 -
UliRaich
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="WorkshopSlides"
Slide 1: Title
--
Uli Raich - 2019-05-14
Comments
(Edit - Preview)
<--/commentPlugin-->
View topic
|
H
istory
:
r9
<
r8
<
r7
<
r6
|
More topic actions...
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback