Smart Door Automation Project
Smart Door Automation Project
This project involves designing a smart door system that automatically opens or closes
based on the presence of a person detected by a proximity sensor. This system is ideal
for home automation, office spaces, or public places, reducing manual effort and
improving convenience.
Key Features:
- Automatic Door Operation: The door opens when someone approaches and closes after a set
duration.
- Energy Efficiency: The system ensures the door remains open only when necessary.
Required Components:
- Proximity Sensor: Ultrasonic or Infrared sensor for motion detection.
Implementation Steps:
- Sensor Setup: Install the proximity sensor to detect approaching individuals within a range of 1-2
meters.
- Microcontroller Programming: Write and upload code to control the servo motor based on sensor
inputs.
- Servo Motor Integration: Connect the motor to the door model for smooth opening and closing
actions.
- Test and Debug: Test the system for accurate motion detection and efficient door movement.
- Enhancements: Add features like a manual switch for override or an LCD display to show door
status.
Applications:
- Smart homes and offices.
Sample Code:
#include <Servo.h>
void setup() {
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
doorServo.attach(3);
Serial.begin(9600);
void loop() {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
} else {