Arduino Internet of Things (IoT) Workshop 1 - Pub/Sub Messaging With MQTT
This workshop will show you how to interconnect your "things" over the internet using the MQ telemetry (MQTT) protocol.
MQTT is a light-weight messaging protocol which is becoming the de-facto standard for IoT deployments of small sensors and mobile devices.
This course uncovers the architecture and major components of an IoT system:
You will provision your own MQTT Server, then learn how to convert your laptop into an internet gateway for your Coolduino/Arduino board to (i) publish data to feed(s) and (ii) subscribe to data from feed(s).
Note: There will be an additional fee of $10 charged when you provision your own MQTT Service during the course, so be sure to bring a credit card. The MQTT Service costs $10/month, and is cancelable at any time. You incur the charges only in the months you choose to use the service. Other subscription levels are available which allow you to connect more MQTT clients to the service.
After the workshop, the attendee shall,
- Understand the basic architecture and concepts in a MQTT-based IoT application.
- Be able to provision/manage a MQTT Server/Broker (we are using the STS-MQTT IoT Platform)
- Be able to configure their laptop as an internet gateway for their robot, using Node-Red
- Be able to monitor/control their own robot (and others!) using a publish/subscribe message pattern with the Server/Broker.
You should already be familiar with programming an Arduino. The following workshops are recommended:
Required Equipment & Components
The lab exercises are tested on a Windows 7 Professional (64-bit) platform, however, should also work on Linux and MAC OS/X platforms. Your PC should also have 1 available (free) USB port. The following software/hardware should be installed/available before attending the workshop:
- Alternatively, if you already have taken Arduino Robotics Workshop 1, you can bring your built/functional "Coolduino UNO CETA Robot" to the course. Construction must be completed at least to the level prescribed in Lab 1 (the "Coolduino UNO" controller board as shown below):