Claim Missing Document
Check
Articles

Found 1 Documents
Search

Pemetaan Posisi Perokok pada Suatu Ruangan Menggunakan Metode K-Nearest Neighbor (KNN) Anisa Ulya Darajat; Muhammad Qutham Najmi Abdillah; FX Arinto Setyawan; Helmy Fitriawan
ELECTRON Jurnal Ilmiah Teknik Elektro Vol 7 No 1 (2026): Jurnal Electron, Mei 2026
Publisher : Jurusan Teknik Elektro Fakultas Teknik Universitas Bangka Belitung

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.33019/electron.v7i1.505

Abstract

Due to the high prevalence of smoking among individuals aged 15 and older in Lampung Province and limited enforcement of smoke-free areas, a system was developed to detect and map smoker locations within a 4 × 3.42-meter room using four MQ-7 sensors. The K-Nearest Neighbor (KNN) algorithm classified smoke source locations based on carbon monoxide (CO) concentrations across four designated observation zones. Experimental results indicated that the system had an average sensor reading error of 2.041%. The classification process for smoker positions achieved 93.75% accuracy and displayed smoker locations in Zones 1, 2, 3, and 4 on a dashboard map. Detection and classification data were stored in the InfluxDB database and visualized online using Grafana. The system also delivered real-time values in parts per million (ppm), the status of each zone, and a ten-minute history of ppm values