Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer
Vol 6 No 4 (2022): April 2022

Implementasi Metode K-Nearest Neighbor pada Purwarupa Jemuran Otomatis berdasarkan Sensor Hujan dan Intensitas Cahaya

Pabela Purwa Wiyoga (Fakultas Ilmu Komputer, Universitas Brawijaya)
Rizal Maulana (Fakultas Ilmu Komputer, Universitas Brawijaya)
Agung Setia Budi (Fakultas Ilmu Komputer, Universitas Brawijaya)



Article Info

Publish Date
14 Feb 2022

Abstract

Indonesia, which has a tropical climate, gets sunshine all year round. It is very useful for people to dry household or industrial needs. Examples of industries that use sunlight are the production of crackers, salted fish, coffee, and unhulled rice and others. However, apart from getting the continuous heat of the sun, there is also rain that is present erratically. So leaving things outdoors will be risky, especially during the rainy season. Therefore, the researchers created a sun dry system that can be put outside automatically when the outdoor conditions are sunny and there is no rain, and inserted when the outdoor conditions are rainy or there is no sunlight. These conditions will be taken using a raindrop sensor and a light dependent resistor sensor. Arduino Nano as a microcontroller used to control sensors and actuators. To control the system using the K-Nearest Neighbors method. After testing, obtained good results. The best value of accuracy and computation time in using the K-Nearest Neighbors method is at k=3 with the average accuracy of 98% and the computation time is 37.173 microseconds. When compared with the if-else method, the if-else method has an accuracy value of 100% and a computation time of 13.232 microseconds. The K-Nearest Neighbor method is feasible to implement in this system, but a simple if-else method is more profitable due to better accuracy and simpler source code.

Copyrights © 2022






Journal Info

Abbrev

j-ptiik

Publisher

Subject

Computer Science & IT Control & Systems Engineering Education Electrical & Electronics Engineering Engineering

Description

Jurnal Pengembangan Teknlogi Informasi dan Ilmu Komputer (J-PTIIK) Universitas Brawijaya merupakan jurnal keilmuan dibidang komputer yang memuat tulisan ilmiah hasil dari penelitian mahasiswa-mahasiswa Fakultas Ilmu Komputer Universitas Brawijaya. Jurnal ini diharapkan dapat mengembangkan penelitian ...