We control the LED connected to the end node on the Internet from the smart phone.
Presenting the simplest IoT model in the demo.
The model make you image that all connected equipment can electric control even if it is on edge of the world.
SCM Symposium PPT Format Customer loyalty is predi
How to control remote LED at the easiest and cheapest with Azure
1. How to control remote LED at the
easiest and cheapest with Azure
(Smart phone & M5Stack edition)
Lecture materials at a place somewhere in Seattle suburb
8-MAR-2018
Michihiro Imaoka (Hiro)
2. Notify
The actual
presentation went with
a notepad.
This slide was later
created by adding
devices photos and
screen shots that I
showed on the
demonstration.
4. Overview
• We control the LED connected to the end node
on the Internet from the smart phone.
• Presenting the simplest IoT model in the demo.
• The model make you image that all connected
equipments can electric control even if it is on
edge of the world.
• In this demonstration, consideration of security
and credibility has not been done. I will discuss it
on another occasion.
5. Several words
• M5STACK as endnode
• MQTT protocol be used
• IoT Dashboard is client application on
Android phone
• Mosquitto as Broker
• Message is sended to Subscriber via
Broker
• Subscriber should specify Topic to receive
needed Message.
7. M5Stack
• ESP32 SoC inside
– WiFi & Bluetooth capabilities
– Tensilica 32bit 2 core CPU
– 520KiB SRAM
– AD,DA,SPI,I2C,UART,GPIO
• Color LCD (320x240) included
(Super Mario seems to work)
• Rechargeable battery is in a inside.
• Arduino IDE can be used.
• $ 31 (shipping fee included from
China)
• Microsoft Azure Certified
• See more details
http://m5stack.com/
8. MQTT
• Message Queuing Telemetry Transport
• MQTT is a connection protocol for
M2M and/or IoT
• The model is consisted by
Publisher,Broker,Subscriber
• Lightweight and fast(That being
said)
• Upper layer for TCP
• http://mqtt.org/
S
B
P
9. Mosquitto
• Mosquito is an implementation of MQTT
• It is an implementation that is faithful to the
MQTT specification and becomes a
reference of other implementations
• The normal port uses 1883.
• https://mosquitto.org/
10. IoT Mqtt Dashboard
• MQTT client application running on Android
• Can operate as publisher and subscriber
• You can create a GUI such as a button with
simple operation
• If the message is numeric, chart can be shown.
13. M5Stack LED lights up or goes out
Receive message "0" Receive message "1"
14. Conclusion
• Simple
– It is only edge nodes that need to write code
– Only SSID & PASSWORD should be modified
• Cheap
– The cost required to add an end node is just $ 31.
– Cheaper than Raspberry Pi or Arduino
• Portability and Readability
– Most components are open sources.
– Various client applications for smart phones are available for free.
(Some of them are also not open source.)
– Many MQTT clients running on PC are also open source.
15. Thank you
This document will be published as follow.
https://www.slideshare.net/ImaokaMicihihiro
Any contact to me as follows.
imaoca@gmail.com
twitter: @imaoca
https://www.facebook.com/imaoka.micihihiro