Difference: MQTTAndCayenne (1 vs. 2)

Revision 22019-05-14 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WorkshopSlides"

Start Presentation

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

wifiConnect.png

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

mqttPostOfffice.png

MQTT Demo

mqttDemo.png

The Micropython library

micropython-lib.png

A MQTT example using umqtt.simple

umqttDemo.png

  %SLIDESHOWEND%
Line: 10 to 46
 

Comments

<--/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 12019-05-14 - UliRaich

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WorkshopSlides"

Start Presentation

Slide 1: Title

-- Uli Raich - 2019-05-14

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback