
Rancang Bangun Over the Air Update Firmware Pada Perangkat Iot Dengan Protokol MQTT
Author(s) -
Supriyanto Supriyanto,
Mahar Faiqurahman,
Wahyu Andhyka Kusuma
Publication year - 2020
Publication title -
jurnal repositor
Language(s) - English
Resource type - Journals
eISSN - 2716-1382
pISSN - 2714-7975
DOI - 10.22219/repositor.v2i9.745
Subject(s) - operating system , firmware , computer science
Abstrak Perangkat IoT yang diimlementasi pada banyak tempat dapat mengalami perubahan berupa update firmware. Update firmware pada perangkat IoT biasanya dilakukan dengan mengambil perangkat IoT, lalu menghubungkan ke komputer mengunakan komunikasi serial melalui kabel usb to micro usb, selanjutnya melakukan update firmware pada perangkat IoT dan mengembalikan perangkat IoT ke tempat. Jika sistem pada perangkat IoT sudah dapat berkomunikasi melalui antar muka jaringan, tidak perlu lagi mengunakan kabel usb to micro usb, karena bisa dimanfaatkan over the air update firmware mengunaka antar muka jaringan pada perangkat IoT. Over the air update firmware adalah memuat firmware hasil build dari arduino ide pada perangkat IoT mengunakan antar muka jaringan Wi-Fi, pada penelitian ini perangkat IoT mengunakan mikrokontroler esp8266 12E. Untuk melakukan update firmware perangkat IoT digunakan protokol MQTT untuk menjembatani antara aplikasi berbasis website sebagai interface penguna untuk PUBLISH file firmware ke perangkat IoT. Hasil dari implementasi Aplikasi berbasis website untuk over the air update firmware pada perangkat IoT dengan protokol MQTT, dalam 10 kali pengujian pengiriman file firmware perangkat IoT mengunakan masing-masing QoS 0, QoS 1, dan QoS 2, didapatkan hasil QoS 2 lebih direkomendasikan untuk digunakan mengirim file firmware dengan keberhasilan update firmware QoS 0 = 50 %, QoS 1 = 70% dan QoS 2 = 80% dari 10 kali percobaan pengirman file firmware pada perangkat IoT.Abstract IoT devices that are implemented in many places can experience changes in the form of firmware updates. Firmware update on an IoT device is usually done by taking an IoT device, then connecting to the computer using serial communication via a usb to micro usb cable, then updating the firmware on the IoT device and returning the IoT device to its place. If the system on the IoT device is able to communicate through a network interface, there is no need to use a USB to Micro USB cable, because it can be utilized over the air firmware update using the network interface on the IoT device. Over the air firmware update is to load the firmware build from Arduino Idea on an IoT device using the Wi-Fi network interface, in this study the IoT device uses the ES8266 12E microcontroller. To update the firmware of the IoT device the MQTT protocol is used to bridge the website-based application as a user interface for PUBLISH firmware files to the IoT device. The results of the implementation of a website-based application for over the air firmware update on IoT devices with the MQTT protocol, in 10 times testing the sending of IoT device firmware files using each of QoS 0, QoS 1, and QoS 2, the results obtained QoS 2 are more recommended for use sending firmware files with successful firmware update QoS 0 = 50%, QoS 1 = 70% and QoS 2 = 80% of 10 attempts to test the firmware file on an IoT device.