Skip to content
Open access

Performance Analysis of ESP32-Based Area Violation Detection Using Beam, PIR, and Ultrasonic Sensors

Aug 2026 · bit-Tech · 0 citations

TL;DR

Findings indicate that the integration of multi-sensor inputs with FSM-based validation provides a structured and selective approach for area violation detection.

Abstract

Restricted-area security requires detection systems that can identify human intrusion rapidly and accurately while reducing false alarms caused by non-human objects. Conventional single-sensor security systems may be limited in distinguishing humans from inanimate objects crossing a monitored boundary, particularly when the system relies only on perimeter interruption or motion detection. This study aims to design and evaluate an ESP32-based area violation detection system that integrates a Beam Sensor, Passive Infrared (PIR) sensor, and HC-SR04 ultrasonic sensor using a Finite State Machine (FSM) decision model. The Beam Sensor functions as the initial perimeter trigger, the PIR sensor verifies human presence based on body infrared radiation, and the ultrasonic sensor provides supporting distance information for spatial monitoring. Sensor readings are processed through sequential FSM states to determine whether an alarm condition should be activated. The prototype was tested in 30 trials involving human and inanimate objects at distances ranging from 1 m to 5 m. The experimental results show that the proposed system achieved an accuracy of 83.33%, precision of 85.71%, recall of 80.00%, and F1-score of approximately 82.76%. The HC-SR04 ultrasonic sensor also produced an average measurement error of 1.68% within the tested range of 50–300 cm. These findings indicate that the integration of multi-sensor inputs with FSM-based validation provides a structured and selective approach for area violation detection. Although the system is designed to address limitations commonly found in single-sensor configurations, further comparative testing against beam-only, PIR-only, and ultrasonic-only systems is required to empirically confirm its relative performance advantage.

Read PDF

Similar papers

Open access 2026

An IoT-Based 360° Ultrasonic Obstacle Detection System for Real-Time Occupational Safety Monitoring

Occupational safety remains a significant challenge in industrial and agricultural environments due to limited visibility and obstacle-related accidents. This study presents the development of an IoT-based 360° ultrasonic obstacle detection system for real-time hazard monitoring. The proposed system integrates an ESP32...

Jason Wen, Siti Fatimah Sulaiman, N. Sunar · 0 citations
Open access Aug 2026

Design and Development of a Web-Based Electrical Disturbance Monitoring and Warning System

The designed system successfully improved installation safety and reduced the risk of equipment damage and fire and was developed using an ESP32 microcontroller integrated with a PZEM-004T sensor, a DHT22 sensor, and an MQ-2 sensor.

I. M. D. P. Putra, Nardi Nardi, Dibyo Susanto et al. · 0 citations
Open access Jul 2026

Design and Development of an MQ-2 Sensor and Arduino Uno Gas Leak Detection System with Automatic Ventilation and Warning

Gas leakage can create fire, explosion, and health hazards when it is not detected promptly. This study developed a laboratory-scale gas-leak detection prototype that integrates an MQ-2 metal-oxide sensor, Arduino Uno, 16×2 I2C LCD, audible and visual warnings, a relay, and an automatically activated exhaust fan. Proto...

Raul Gonjales Barus, U. Fatmawati, Dananjaya Ariateja et al. · 0 citations
Conference Aug 2026

Design of an intelligent fire warning system based on STM32 microcontroller and edge AI

An intelligent fire early warning system based on a dual STM32F103C8T6 master-slave architecture and a K230 edge computing unit that adopts a weighted voting-based multi-source data fusion decision mechanism is designed and implemented.

Bo Ye, Cheng Yang · 0 citations
Conference Aug 2026

Design of ultrasonic reversing radar

Reversing radar can monitor and warn the obstacles behind the vehicle in real time, and effectively reduce the incidence of reversing accidents. It is a key vehicle safety auxiliary system to make up for the defects of traditional reversing methods and improve parking safety. In this paper, an intelligent ultrasonic re...

Guo-Qing He, Yan-Fei Teng, Han-Hong Tan et al. · 0 citations
Conference 2026

Ultrasonic Collision Detector Using HC-SR04 and Arduino Uno R3

This paper presents the design and implementation of a proximity-based collision detection system using an HC-SR04 ultrasonic sensor and an Arduino Uno R3 microcontroller. The system provides audible feedback through a passive buzzer whose beeping frequency is dynamically adjusted according to measured distance. Three...

M. Stojanović, M. Milić, Jelena Milojković · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.