Professional Documents
Culture Documents
————————————————————————————————————
Abstract—Vehicles have become an essential necessity that facilitates human mobility. However, security threats such as motor
vehicle theft are a significant problem. IoT security technologies, such as emergency features that shut down vehicles and GPS
tracking using the HTTPS protocol, are relevant solutions. Previous research shows the superiority of the MQTT protocol in IoT
based on the difference in lower latency. This research aims to utilize the MQTT protocol in building a motorcycle monitoring
system. The implementation involves using Node.js to display the coordinate location of the vehicle, allowing the vehicle owner
to track the position of the vehicle in the event of theft. The test analysis results show that the hardware is connected with WiFi
and the MQTT broker is successful, but the GPS signal acquisition time varies between 9.07 seconds, 4.73 seconds, and 11.03
seconds. The MQTT protocol using the EMQX broker on the VPS successfully transmitted data from the Neo6M GPS module
to the web client with Node.js to display the vehicle coordinates. Testing three scenarios of duration and distance highlighted the
performance differences between MQTT and HTTP: The average latency of MQTT (1.58 ms - 1.645 ms) and HTTP (0.455 ms -
0.46 ms), as well as the average throughput of MQTT (621.48 bps - 676.385 bps) and HTTP (2378.355 bps - 2409.175 bps).
Although HTTP has lower latency, MQTT consistently shows higher throughput. MQTT is able to operate with less bandwidth
while still providing superior throughput performance, albeit with a slight increase in latency...
1. Introduction
Vehicles have become a necessity in our activity- [4]. Talking about the Internet of Things, or Internet of
packed daily lives. Vehicles play an important role in Things, cannot be separated from the word "internet" the
facilitating human mobility, both for long and short trips. protocols that allow devices to communicate with each
Vehicles allow us to live our lives more efficiently and other. Some of the most common protocols for Internet of
flexibly. They allow us to connect important places Things communication and monitoring are NFC,
without being hindered by geographical boundaries [1] . Bluetooth Low Energy, MQTT, HTTP, and HTTPS.[5].
The challenges that need to be addressed, however, are Research related to IoT and the application of the MQTT
related to the continued use of vehicles. One of them is and HTTP protocols in various applications has been
the problem of crimes such as motor vehicle theft and carried out by several researchers, ranging from security
robbery. This high crime rate not only threatens property, aspects on motorbikes with GSM SIMs. [6], comparison
but also disrupts people's sense of security. [2]. Therefore, of latency performance between HTTP and MQTT
security features on motorcycles are becoming a reliable communication protocols on the Internet of Things, to the
tool to prevent criminal behavior such as robbery or implementation of MQTT in smart plantation and
vehicle snatching. In the IoT sector, for example, security greenhouse applications [7]. Although this research
technology makes motor vehicle users feel safe in the shows the advantages of the MQTT protocol, such as the
event of an emergency, by simply pressing an emergency advantages in security and latency performance [8], each
button and the motorcycle will shut down within 10 study also reflects limitations, such as the additional cost
seconds. emergency, by simply pressing the emergency of using GSM/SMS, limitations of trials that do not take
button and the motorcycle will shut down within 10 into account the distance between the MQTT server and
seconds.[3]. the IoT device, and the need to further evaluate latency
and bandwidth efficiency when using MQTT. Overall,
these studies provide great insight into the potential and
119
JAICT, Journal of Applied Information and Communication Technologies Vol.7, No.2, 2022
———————————————————————————————————–
challenges of adopting the MQTT protocol in the context GPS Module to capture location coordinates. The ESP32
of Internet of Things applications.[9]. Based on the microcontroller will act as a data sender to the server using
background above, this research aims to utilize the MQTT a WiFi connection accessed through a stick modem as an
protocol in building a motorcycle monitoring system. internet source. Both devices, the ESP32 and the stick
This research also applies nodejs [10]. As a programming modem, will be powered by a 5V 3.4A QC3.0 24W
language for the development of a motorcycle monitoring Charging USB Fast Charger Module. This module will
system as a medium for displaying the location of vehicle obtain electrical power from the motor battery. Table 1 is
coordinates so that when theft occurs, you can find out the a series of jumper cables from ESP32 to GPS-Neo6M
location of the stolen vehicle. Thus it is hoped that this module.
research can help vehicle owners guard against theft.
2. Method
The research flow in Figure 2 is designed from the
initial stage to completion. Each point in the flow explains
the process of designing systems and tools that aim to
form prototypes. Explanation of each stage in the research
flow using the SDLC Prototype (System Development
Life Cycle) method.
120
JAICT, Journal of Applied Information and Communication Technologies Vol.7, No.2, 2022
———————————————————————————————————–
main loop of the program until the program is finished 3. Results and Testing
or terminated
This chapter summarizes the results of a series of
experiments and tests that have been conducted in the
context of implementing and evaluating the designed
system. The results described in this chapter include:
1. Hardware Testing
The first process involves uploading the sketch on
the ESP32 through the Arduino IDE. The series of tools
that have been designed, in Figure 5 and Figure 6 are the
results of hardware testing. The first stage involves
compiling the sketch and waiting until the GPS module
gets a signal as evidenced by the indicator light on the
module that will flash. Next the data will be displayed,
Figure 1 Program flow on ESP32
121
JAICT, Journal of Applied Information and Communication Technologies Vol.7, No.2, 2022
———————————————————————————————————–
emitted data in the form of longitude, latitude, and a. Testing throughput (bps), Jitter (ms), Latency (ms) for
speed. The test results can be seen in Figure 7 10 minutes 20 meters, the results of the test can be
seen in Figure 10 and Table 1.
Figure 7 results of the EMQX dashboard Figure 10 HTTP and MQTT test results
122
JAICT, Journal of Applied Information and Communication Technologies Vol.7, No.2, 2022
———————————————————————————————————–
c. Testing throughput (bps), Jitter (ms), Latency (ms) HTTP protocols. In terms of throughput (bps) and
for 20 minutes 70 meters, the results of the test can latency (ms) measurements, the HTTP protocol
be seen in Figure 10 and Table 1. showed better latency performance than MQTT, with
an average latency value of 0.455 ms - 0.46 ms
compared to 1.58 ms - 1.645 ms in MQTT. However,
the average throughput values on MQTT were
consistently higher than HTTP, with MQTT average
throughput values between 621.48 bps - 676.385 bps
and HTTP between 2378.355 bps - 2409.175 bps.
From these results, it can be seen that MQTT is able
to operate using less network bandwidth than HTTP,
while still providing superior throughput
performance, albeit with slightly higher latency
values.
123
JAICT, Journal of Applied Information and Communication Technologies Vol.7, No.2, 2022
———————————————————————————————————–
10.22219/repositor.v3i1.1084.
References : [9] Uray Ristian, “Perancangan Arsitektur Node
[1] Patel and R. Goyena, “UPAYA Nirkabel dalam Efisiensi Bandwidth Smart
KEPOLISIAN DALAM Greenhouse Berbasis,” vol. 9, no. 2, pp. 218–
MENANGGULANGI TINDAK PIDANA 225, 2023.
PEMBEGALAN DI WILAYAH KOTA [10] I. Kurniawan, Humaira, and F. Rozi, “REST
PASURUAN,” J. Chem. Inf. Model., vol. 15, API Menggunakan NodeJS pada Aplikasi
no. 2, pp. 9–25, 2019. Transaksi Jasa Elektronik Berbasis Android,”
[2] M. Arifin, D. P. D. selengkapnya JITSI J. Ilm. Teknol. Sist. Inf., vol. 1, no. 4,
https://www. detik. com/jatim/berita/.- pp. 127–132, 2020, doi: 10.30630/jitsi.1.4.18.
6030059/3-begal-sadis-di-pasuruan-
diringkus-dua-pelaku-ditembak. Baca artikel
detikjatim, "3 Begal Sadis di Pasuruan
Diringkus, and D. A. D. S.
Https://apps.detik.com/detik/, “3 Begal Sadis
di Pasuruan Diringkus, Dua Pelaku
Ditembak.”
https://www.detik.com/jatim/berita/d-
6030059/3-begal-sadis-di-pasuruan-
diringkus-dua-pelaku-ditembak (accessed
Aug. 28, 2023).
[3] S. Samsugi and W. Wajiran, “IoT:
EMERGENCY BUTTON SEBAGAI
PENGAMAN UNTUK MENGHINDARI
PERAMPASAN SEPEDA MOTOR,” J.
Teknoinfo, vol. 14, no. 2, p. 99, 2020, doi:
10.33365/jti.v14i2.653.
[4] Y. Pratama, D. N. Ramadan, S. Pd, and T. N.
Damayanti, “Perancangan GPS Tracking
Untuk Penyewaan Kendaraan Bermotor
Design of GPS Tracking on Lending Motor
Vehicle,” e-Proceeding Appl. Sci., vol. 6, no.
2, pp. 1–15, 2020.
[5] S. B. Bhaskoro, H. Supriyanto, B. B. Aji, and
B. Pamungkas, “Perbandingan Performansi
Latency Protokol Komunikasi Http Dan Mqtt
Pada Internet of Things,” JTT (Jurnal Teknol.
Ter., vol. 8, no. 2, p. 82, 2022, doi:
10.31884/jtt.v8i2.309.
[6] A. Surahman, A. T. Prastowo, and L. A. Aziz,
“Rancang Alat Keamanan Sepeda Motor
Honda Beat Berbasis Sim Gsm Menggunakan
Metode Rancang Bangun,” J. Teknol. dan
Sist. Tertanam, vol. 3, no. 1, 2022, doi:
10.33365/jtst.v3i1.1918.
[7] M. Saiqul Umam, S. Adi Wibowo, and Y.
Agus Pranoto, “Implementasi Protokol Mqtt
Pada Aplikasi Smart Garden Berbasis Iot
(Internet of Things),” JATI (Jurnal Mhs. Tek.
Inform., vol. 7, no. 1, pp. 899–906, 2023, doi:
10.36040/jati.v7i1.6131.
[8] L. Nurfiqin, “Analisis Quality Of Service
(QoS) Protokol MQTT dan HTTP Pada
Sistem Smart Metering Arus Listrik,” J.
Repos., vol. 3, no. 1, pp. 121–130, 2020, doi:
124