Figure 3. Screenshot of the MQTT broker, publisher, and two subscribers.-Early Warning of Heat/Cold Waves as a Smart City Subsystem: A Retrospective Case Study of Non-anticipative Analog Methodology
Main Author: | Dmytro Zubov |
---|---|
Format: | info Image Journal |
Bahasa: | eng |
Terbitan: |
, 2015
|
Subjects: | |
Online Access: |
https://www.edusoft.ro/brain/index.php/brain/issue/view/30 |
Daftar Isi:
- As it was mentioned above, IoT needs the appropriate lightweight protocols to transmit the info because web-protocols (e.g. TCP) generate several times more traffic usually for IoT (e.g. remote connection to the Arduino weather station). MQTT (Message Queuing Telemetry Transport) and CoAP (Constrained Application Protocol) IoT protocols are mainly in use nowadays (http://postscapes.com/internet-of-things-protocols). In this activity,Arduino Ethernet Shield and C# console app are connected by MQTT Mosquitto open source software (http://mosquitto.org).Similar work presented against https://iotguys.wordpress.com/2014/11/13/arduino-with-mqtt/.The activity consists of the following steps: 1. Download and installation of Mosquitto software gainst http://mosquitto.org/download/. 2. Download and installation of the latest Arduino software against http://arduino.cc/en/main/software. 3. Development of the MQTT subscriber based on C programming language in Arduino IDE. 3. Development of the MQTT subscriber based on C# console app (laptop HP ProBook 650 G1 and Windows 10 are used) in Visual Studio. Screen shot of the software is shown in Fig. 3.