ESP32 Camera Module Based QR Code Verification for Output On/Off
Sandhya R1, Azha Periyasamy2
1Department of Electronics and Instrumentation, Bharathiar University, Coimbatore, Tamil Nadu, India
2Department of Electronics and Instrumentation, Bharathiar University, Coimbatore, Tamil Nadu, India
---------------------------------------------------------------------***--------------------------------------------------------------------
-
Abstract - This work develops a miniaturized and firmware-based system that operates through ESP32-CAM development board to conduct quick routine-free motor control enabled by QR-code verification in real time. The ESP32-CAM startup procedure starts by activating the OV2640 camera for grayscale QVGA operations while creating a FreeRTOS dedicated task for continuous imaging and quirc open-source decoding. The system detects valid “MOTOR ON” or “MOTOR OFF” payloads which causes an immediate relay toggle via GPIO control to start or stop the motor in under one second. During extensive testing under different lighting environments the system achieved above 95% successful decoding with reliable actuation performances. Standardizable QR tokens that serve as revocable access tokens substitute mechanical switches to achieve better hygiene practices along with durability improvements and selective authorization capabilities without requiring hardware modifications. The device maintains affordability by using only an ESP32-CAM module in addition to a relay interface which allows deployment in both smart-home door locks and secure equipment lockers and industrial process controls. The future implementation will include dynamic code provisioning through Wi-Fi or microSD along with encryption for secure QR payloads while adding remote monitoring capabilities via HTTP video streaming and manual control functions. The ESP32-CAM demonstrates its value by becoming an economical single-board solution to implement secure automated devices throughout IoT systems.
Key Words: ESP32 CAM, Arduino, Relay motor, QR Code.