A Real-Time Application for Road Conditions Detection based on the Internet of Things

Lanny Sitanayah - Universitas Katolik De La Salle, Manado, Indonesia
Apriandy Angdresey - Universitas Katolik De La Salle, Manado, Indonesia
Evander Kristalino - Universitas Katolik De La Salle, Manado, Indonesia

Citation Format:

DOI: http://dx.doi.org/10.30630/joiv.6.2.891


Bad road conditions may lead to road accidents, especially when drivers are unaware of potholes. The presence of potholes can increase from time to time and may get worse due to road age and bad weather. With the Internet of Things technology, vehicles on the road can be a means of collecting road condition data, such as vibration. The raw vibration data are useful only after they are processed into meaningful information. Information about the condition of roads can help other road users be aware of potholes. This paper proposes an Internet of Things application for road conditions detection. We design and implement a device comprising one NodeMCU ESP8266, one accelerometer gyroscope sensor to detect the existence of potholes based on the amount of detected vibration, and a GPS module to get the information about potholes' locations. For the web service, we use REST API so that users can get real-time potholes' information in the Android application. To cluster potholes based on detected vibration, i.e., deep, medium, and shallow, we implement the k-means clustering algorithm with k = 3. The Android application utilizes a Google map to visualize potholes' locations and the result of clustering on a road map. We use colored pins to indicate the depth of potholes. Deep potholes are shown on the map using red pins, medium potholes using orange pins, and shallow potholes using green pins.


Android application; sensor device; k-means clustering algorithm; data mining; potholes.

Full Text:



"BPS Sulut (Badan Pusat Statistik Provinsi Sulawesi Utara)." https://sulut.bps.go.id/indicator/12/45/1/jumlah-penduduk-kabupaten-kota.html (accessed 2 February, 2021).

S. Narang, T. Nalwa, T. Choudhury, and N. Kashyap, "An Efficient Method for Security Measurement in Internet of Things," in 2018 International Conference on Communication, Computing and Internet of Things (IC3IoT), 2018, pp. 319-323.

J. Hester et al., "Persistent Clocks for Batteryless Sensing Devices," ACM Transactions on Embedded Computing Systems, vol. 15, pp. 1-28, Aug. 2016.

C. Song, S. Liu, G. Han, P. Zeng, H. Yu, and Q. Zheng, "Edge Intelligence Based Condition Monitoring of Beam Pumping Units under Heavy Noise in the Industrial Internet of Things for Industry 4.0," IEEE Internet of Things Journal, 2022.

L. Zuo and J. Guo, "Customer Classification of Discrete Data Concerning Customer Assets Based on Data Mining," in International Conference on Intelligent Transportation, Big Data Smart City (ICITBS), 2019, pp. 352-355.

A. Angdresey and M. Wongkar, "Identification of The Reproductive Apparatus of Tarantula Genus Brachypelma Using Linear Discriminant Analysis Method," in International Conference on Electrical Engineering and Computer Science (ICECOS), 2018, pp. 409-414.

C. Fan, H. Hao, C. K. Leung, L. Y. Sun, and J. Tran, "Social Network Mining for Recommendation of Friends Based on Music Interests," in 2018 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), 2018, pp. 833-840.

M. Wongkar and A. Angdresey, "Sentiment Analysis Using Naive Bayes Algorithm of the Data Crawler: Twitter," in 4th International Conference on Informatics and Computing (ICIC), 2019, pp. 1-5.

L. Sitanayah, A. Angdresey, and J. W. Utama, "A Low-Cost Vehicle Counting System based on the Internet of Things," EPI International Journal of Engineering, vol. 4, no. 1, pp. 14-20, 2021.

L. Sitanayah, A. Angdresey, and J. W. Utama, "An Internet of Things-Based Vehicle Counting System," in 2021 International Conference on Embedded Wireless Systems and Networks (EWSN), 2021, pp.175-176.

A. Angdresey, L. Sitanayah, and V. J. A. Sampul, "Monitoring and Predicting Water Quality in Swimming Pools," EPI International Journal of Engineering, vol. 3, no. 2, pp. 119-125, Aug. 2020.

A. Angdresey, L. Sitanayah, and T. V. N. Kairupan, "A Soil Monitoring and Recommendation System for Ornamental Plants," in 6th International Conference on New Media Studies (CONMEDIA), 2021, pp. 40-45.

A. Angdresey, L. Sitanayah, and T. M. I. Sumajow, "A Real-Time Water Quality and Quantity Monitoring System for Aquarium," in 2021 International Conference on Computer, Control, Informatics and Its Applications (IC3INA), 2021, pp. 166-170.

Z. Wang, Y. Zhou, and G. Li, "Anomaly Detection by Using Streaming K-Means and Batch K-Means," in 5th IEEE International Conference on Big Data Analytics (ICBDA), 2020, pp. 11-17.

H. Fakhi, O. Bouattane, M. Youssfi, and O. Hassan, "New Optimized GPU Version of the K-Means Algorithm for Large-Sized Image Segmentation," in 2017 Intelligent Systems and Computer Vision (ISCV), 2017, pp. 1-6.

S. Daoudi, C. M. A. Zouaoui, M. C. El-Mezouar, and N. Taleb, "A Comparative Study of Parallel CPU/GPU Implementations of the K-Means Algorithm," in 2019 International Conference on Advanced Electrical Engineering (ICAEE), 2019, pp. 1-5.

K. Venkatachalam, P. Purandhar Reddy, M. Amudhan, A. Raguraman, and E. Mohan, "An Implementation of K-Means Clustering for Efficient Image Segmentation," in 10th IEEE International Conference on Communication Systems and Network Technologies (CSNT), 2021, pp. 224-229.

S. Chen, A. Shih, and C. Hsiao, "Road Conditions Detection Using Arduino Based Sensing Module and Smartphone," in IEEE International Conference on Consumer Electronics - Taiwan, 2015, pp. 254-255.

K. Chen, M. Lu, X. Fan, M. Wei, and J. Wu, "Road Condition Monitoring Using On-Board Three-Axis Accelerometer and GPS Sensor," in 6th International ICST Conference on Communications and Networking in China, 2011, pp. 1032-1037.

A. Mednis, G. Strazdins, R. Zviedris, G. Kanonirs, and L. Selavo, "Real Time Pothole Detection Using Android Smartphones with Accelerometers," in International Conference on Distributed Computing in Sensor Systems and Workshops (DCOSS), 2011, pp. 1-6.

Kementerian Pekerjaan Umum dan Perumahan Rakyat Direktorat Jenderal Bina Marga. Manual Desain Perkerasan Jalan (Revisi 2017) Nomor 02/M/BM/2017.


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

JOIV : International Journal on Informatics Visualization
ISSN 2549-9610  (print) | 2549-9904 (online)
Organized by Department of Information Technology - Politeknik Negeri Padang, and Institute of Visual Informatics - UKM and Soft Computing and Data Mining Centre - UTHM
W : http://joiv.org
E : joiv@pnp.ac.id, hidra@pnp.ac.id, rahmat@pnp.ac.id

View JOIV Stats

Creative Commons License is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.