Pengembangan Passive Infrared Sensor (PIR) HC-SR501 dengan Microcontrollers ESP32-CAM Berbasiskan Internet of Things (IoT) dan Smart Home sebagai Deteksi Gerak untuk Keamanan Perumahan
Keywords:HC-SR501 Passive Infrared Sensor (PIR), ESP32-CAM Microcontroller, Internet of Things (IoT), Smart Home
HC-SR501 passive infrared sensor (PIR) is a sensor to detect the motion of an object that works when the object crosses the area or the vertex of the sensor, while ESP32-CAM is a microcontroller that works when given instructions by a programmer through the Arduino IDE editor. Both will work perfectly if given an ip address accompanied by Wi-Fi support to access it through internet media or known as an internet based things (IoT) smart home. The hardware is used in this study as a tool to detect housing security, especially housing in Perum Bumi Arumsari Sumber Cirebon District, most of the residents of the housing activities during the daytime. Technically both hardware will work optimally when the HC-SR501 passive infrared sensor (PIR) is connected via the ESP32-CAM microcontroller in charge of sending images or video, when the radius of the HC-SR501 passive infrared sensor (PIR) containing infrared radiation through Fresnel lenses and containing thermal energy regarding the pyroelectric sensor are met. Then the images or videos sent through ESP32-CAM that have been previously programmed through the Arduino IDE, are connected via Wi-Fi and received through a smartphone belonging to the householder to get a response to the results of the detection of HC-SR501 passive infrared sensor (PIR) and ESP32- CAM. The results obtained from this study are the effective distance from the HC-SR501 passive infrared sensor when the human detector is 0 meters to 5 meters, ESP32-CAM will send pictures or videos which means there are indications of thieves or unknown persons entering the house. Whereas at a distance of more than 5 meters, the HC-SR501 passive infrared sensor does not send images which means safe.
 K. M. Jeon, C. J. Chun, dan H. K. Kim, “User-Aware Audio Marker Using Low Frequency Ultrasonic Object Detection and Communication for Augmented Reality,” Appl. Sci. J., vol. 9, hal. 1–14, 2019.
 B. A. Pramono dan A. Nugroho, “Raspberry Pi As Light Controller With PIR Sensor Form Practical Tools of Microcontroller And Robotics In USM FTIK,” TRANSFORMATIKA, vol. 15, no. 2, hal. 122–127, 2018.
 A. Algorithm, “Passive Infrared (PIR)-Based Indoor Position Tracking for Smart Homes Using Accessibility Maps and A-Star Algorithm,” sensors J., vol. 18, hal. 1–12, 2018.
 I. G. N. A. Dwijaputra, I. M. S. Wibawa, dan N. Wendri, “Peningkatan Jangkauan CCTV Menggunakan Sensor Passive Infrared ( PIR ) Berbasis Mikrokontroler AT89S52,” Bul. Fis., vol. 19, hal. 46–51, 2018.
 Q. Aini, U. Rahardja, H. Madiistriyatno, dan A. Fuad, “Rancang Bangun Alat Monitoring Pergerakan Objek pada Ruangan Menggunakan Modul RCWL 0516,” J. Tek. Elektro, vol. 10, no. 1, hal. 41–46, 2018.
 R. Latuconsina, L. H. Laisina, dan A. P. L, “Pemanfaatan Sensor PIR ( Passive Infrared Receiver ) dan Mikrokontroler Atmega 16 Untuk Efisiensi Pemakaian Air Wudhu,” J. Pengemb. IT, vol. 02, no. 02, hal. 18–22, 2017.
 J. Waworundeng, L. Doni, dan C. Alan, “Implementasi Sensor PIR sebagai Pendeteksi Gerakan untuk Sistem Keamanan Rumah menggunakan Platform IoT,” Cogiti Smart J., vol. 3, hal. 12, 2017.
 C. Cheng dan D. Lee, “Enabling Smart Air Conditioning by Sensor Development?: A Review,” sensors J., vol. 16, hal. 1–24, 2016.
 X. Luo, H. Tan, Q. Guan, T. Liu, H. H. Zhuo, dan B. Shen, “Abnormal Activity Detection Using Pyroelectric Infrared Sensors,” sensors J., vol. 16, hal. 1–17, 2016.
 E. Desyantoro, A. F. Rochim, dan K. T. Martono, “Sistem Pengendali Peralatan Elektronik Dalam Rumah Secara Otomatis Menggunakan Sensor PIR, Sensor LM35, Dan Sensor LDR,” J. Teknol. dan Sist. Komput., vol. 3, no. 3, hal. 405–411, 2015.
 Z. Yu, L. Yuan, W. Luo, L. Feng, dan G. Lv, “Spatio-Temporal Constrained Human Trajectory Generation from the PIR Motion Detector Sensor Network Data?: A Geometric Algebra Approach,” sensors J., vol. 16, hal. 1–21, 2015.