Akuisisi Data Pembacaan Sensor Cahaya BH1750 oleh Smartphone dengan Modul Bluetooth dan Arduino UNO
PRATOMO HANDARU JATI, Dr. Eko Sulistya, M.Si.
2022 | Skripsi | S1 FISIKAPenelitian ini bertujuan untuk mengetahui akurasi sensor BH1750 serta kemampuan modul bluetooth HC-05 dalam mengirim data secara portable. Sistem arduino pada penelitian ini terdiri dari Arduino UNO R3, sensor cahaya BH1750 yang dirangkai pada tutup paralon berdiameter 9,5 cm, modul bluetooth HC-05. Sistem ini dihubungkan dengan smartphone Android yang kemudian data penelitian akan terbaca pada smartphone. Pengujian sistem arduino menggunakan tiga buah lampu dengan wattage 60W, 75W, dan 100W, serta illuminance meter LX-2 merek Sanwa untuk kalibrasi. Proses pengambilan data menggunakan 10 variasi tegangan pada 50 V sampai dengan 140 V. Variasi tegangan diterapkan untuk mengetahui perbedaan tingkat akurasi pada setiap tegangan, sehingga diperoleh kemampuan sensor BH1750 dalam menangkap cahaya. Data tersebut dianalisis menggunakan metode curve fitting yang dapat digunakan untuk mendapatkan pola hubungan antara intensitas cahaya dan tegangan lampu. Hasil uji kalibrasi berupa nilai akurasi sensor akan berada diatas 95% pada saat nilai intensitas cahaya yang diukur lebih dari 1.000 lux, namun berada di bawah 95% jika nilai intensitas cahaya yang diukur kurang dari 1.000 lux. Dari pengujian dapat disimpulkan bahwa pola lampu pijar dapat didekati menggunakan persamaan polinomial orde tiga y=Ax^3-Bx^2+Cx-D, dengan tegangan (x) dan intensitas cahaya (y). Nilai pada koefisien A, B, C, D bergantung pada wattage lampu pijar, semakin besar wattage maka nilai koefisien akan menjadi semakin besar.
This research aims to determine the accuracy of the BH1750 sensor and the ability of the HC-05 bluetooth module to transmit data in a portable manner. The arduino system in this study consisted of Arduino UNO R3, a BH1750 light sensor strung on a 9.5 cm diameter pipe cover, and a HC-05 bluetooth module. This system is connected to an Android smartphone which then research data will be read on the smartphone. Arduino system testing uses three lamps with a wattage of 60W, 75W and 100W, as well as an illuminance meter LX-2 of the Sanwa brand for calibration. The data collection process uses 10 voltage variations at 50 V to 140 V. Voltage variations are applied to determine the difference in the level of accuracy at each voltage, in order to obtain the ability of the BH1750 sensor to capture light. The data was analyzed using the curve fitting method which can be used to obtain a relationship pattern between light intensity and lamp voltage. The results of the calibration test in the form of a sensor accuracy value will be above 95% when the measured light intensity value is more than 1.000 lux, but below 95% if the measured light intensity value is less than 1.000 lux. From the test it can be concluded that the pattern of incandescent lamps can be approximated using a third order polynomial equation y=Ax^3-Bx^2+Cx-D, with voltage (x) and light intensity (y). The value of the coefficients A, B, C, D depends on the wattage of the incandescent lamp, the greater the wattage, the greater the value coefficient.
Kata Kunci : Arduino UNO, Intensitas Cahaya, Sensor Cahaya BH1750, Modul Bluetooth HC-05, Curve Fitting, Lampu Pijar