Smart Secured Door


Table of Contents

  1. Introduction
  2. Overview
  3. Hardware Deign
  4. Scada logic
  5. Links


The “Smart Secured Auto Door” project introduces a groundbreaking solution focused on improving occupancy management, security, safety, analytics, and automation. Its main goals are to efficiently manage occupancy, enhance security, and ensure occupant safety by using components like PIR Motion Sensors, Servo Motors, and microcontrollers. The project relies on Mosquitto for communication and a MySQL database for data storage. You can explore their GitHub repository for source code, documentation, and setup instructions if you want to contribute or deploy this innovative system. Join the project to help revolutionize occupancy management and access control for a safer and smarter world.


The “Smart Secured Auto Door” project is an innovative system designed to address key aspects of modern space management and access control. Its primary objectives are to efficiently manage occupancy, enhance security and safety, gather valuable analytics and insights, and improve overall automation and efficiency.

To achieve these goals, the project utilizes a combination of hardware components, including the HC-SR501 PIR Motion Sensor for motion detection, a Servo Motor for automated door control, and the ESP-32S microcontroller to process data and manage system operations. Communication between these components is facilitated by the Mosquitto broker, a lightweight MQTT protocol-based messaging system, ensuring seamless coordination.

In addition, the project relies on a MySQL database to store and manage essential data related to occupancy, access control, and analytics. This database serves as the central repository for collecting and retrieving information crucial to the system’s functionalities.

Whether you’re interested in contributing to the project’s development or implementing it for your specific needs, the GitHub repository provides access to the project’s source code, documentation, and setup instructions. With the “Smart Secured Auto Door,” we aim to create a safer, more efficient, and smarter world by redefining occupancy management and access control systems.

Hardware Design


HC-SR501 (PIR Motion Sensor)


The HC-SR501 is a Passive Infrared (PIR) motion sensor module. It is designed to detect motion in its vicinity by sensing changes in infrared radiation levels. PIR sensors are commonly used in various applications, including security systems, automated lighting, and, in this case, occupancy detection for doors. When motion is detected, the sensor sends a signal to the microcontroller (ESP-32S in this project), indicating that movement has been sensed in the monitored area. This data is then used to trigger actions such as opening or closing the door, enhancing security and automation.

Servo Motor


A servo motor is a type of rotary actuator that can precisely control the position of its output shaft. In the “Smart Secured Auto Door” project, the servo motor is responsible for controlling the movement of the door. By receiving commands from the microcontroller (ESP-32S), the servo motor can open and close the door as needed. Servo motors are commonly used in robotics, automation, and various mechatronic applications due to their accuracy and ability to maintain a specific position.



The ESP-32S is a powerful microcontroller based on the ESP32 system-on-chip (SoC). It is widely used in Internet of Things (IoT) projects due to its built-in Wi-Fi and Bluetooth capabilities, as well as its processing power and versatility. In the “Smart Secured Auto Door” project, the ESP-32S serves as the brain of the system. It receives data from the PIR motion sensor, processes this data to determine whether someone is approaching the door, and controls the servo motor to open or close the door accordingly. Additionally, it can communicate with other devices or systems through Wi-Fi or Bluetooth, making it a key component for IoT-based access control and occupancy management.

Scada Logic


Scada UI Design


System Design

WhatsApp Image 2023-09-18 at 23 42 41