Jurnal Nasional Teknik Elektro (Mar 2022)

Classification Of Alcohol Type Using Gas Sensor And K-Nearest Neighbor

  • Munaf Ismail,
  • Sri Arttini Dwi Prasetyowati

DOI
https://doi.org/10.25077/jnte.v11n1.989.2022
Journal volume & issue
Vol. 11, no. 1
pp. 59 – 64

Abstract

Read online

Ethanol, isopropyl and methanol belong to the same alcohol group. The latter is commonly used as an industrial solvent, not for personal consumption. Many traditional alcoholic drink sellers often mix alcoholic beverages, which are commonly called as oplosan, this mixed drink is very dangerous for human if it contains methanol. Based on this problem, it is necessary to make a measuring device for the alcohol content in the liquid to classify the alcohol type. The design of this gas sensor-based alcohol classification system and method consists of a series of hardware and software applications. The block diagram of the alcohol classification system measures the ethanol and methanol substances in each alcoholic drink using the MQ3 gas sensor and WeMos as a data acquisition device and microcontroller. The computer was used to process the acquisition data from the gas sensor being used then calculates the K-Nearest Neighbor (K-NN) to obtain the prediction results. The K-NN system testing consists of testing the effect of the K value and testing its accuracy. The result of testing the effect of the K value produces 100% optimum accuracy at the values namely K=1, K=3, K=5, K=10 and 55% on K=20.