2019 Fourth International Conference on Informatics and Computing (ICIC) | 2019

The Use and Performance of MQTT and CoAP as Internet of Things Application Protocol using NodeMCU ESP8266

 
 
 

Abstract


The number of high-performance IoT devices has increased, resulting in much development of services both in terms of equipment and services for IoT. The major challenges in the realization of the services is the convenience of use of the protocol and time spend data from sending to be accessed. MQTT and CoAP are usually used for such services because these protocols can support the publish-subscribe architecture. So many applications that have been developed using those application protocol. However, these protocols on simple devices such as NodeMCU usually only use one broker or server, so it is necessary to choose the right protocol for the type of communication architecture based on several assessments. In this paper, we propose a scheme to stream a lot of data from publisher to subscriber using an IoT device that is microcontroller NodeMCU 8266 using two different protocol, there are MQTT and CoAP. NodeMCU will act as publisher or responder and can act as subscriber or sending request to get data from publisher. By the experimentation, we can see that the differences time spend, accuracy and the convenience from using MQTT and CoAP schemes. MQTT is more accurate than CoAP, but CoAP requires less time to complete the transmission. The use of MQTT and CoAP also varies depending on the purpose and form of communication.

Volume None
Pages 1-5
DOI 10.1109/ICIC47613.2019.8985850
Language English
Journal 2019 Fourth International Conference on Informatics and Computing (ICIC)

Full Text