Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
79 views3 pages

Arduino Smart Door Stopper Project Report With Code

The Arduino-Based Smart Door Stopper Project automates door operation using sensors and a servo motor, enhancing convenience and safety. It detects nearby motion to engage or disengage the door stopper, with potential applications in home security and smart automation. Future enhancements may include IoT integration and AI-based motion recognition.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views3 pages

Arduino Smart Door Stopper Project Report With Code

The Arduino-Based Smart Door Stopper Project automates door operation using sensors and a servo motor, enhancing convenience and safety. It detects nearby motion to engage or disengage the door stopper, with potential applications in home security and smart automation. Future enhancements may include IoT integration and AI-based motion recognition.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Arduino-Based Smart Door Stopper Project Report

1. Introduction
Traditional door stoppers require manual operation, which can be inconvenient.
A smart door stopper automates this process using Arduino, sensors, and a servo motor.
It detects when a person or object is near the door and automatically stops or releases the door.

2. Objectives

- To develop an automated door stopper system using Arduino.


- To detect door movement and automatically engage or disengage the stopper.
- To improve convenience and safety in homes and offices.
- To use ultrasonic or IR sensors for detecting motion or obstacles.

3. Components Required

Hardware:
- Arduino Uno
- Ultrasonic Sensor (HC-SR04) or IR Sensor
- Servo Motor (SG90 or MG995)
- Buzzer (optional for alerts)
- Power Supply (9V Adapter or Battery)
- Jumper Wires

Software:
- Arduino IDE

4. Working Principle

1. Motion Detection:
- An ultrasonic or IR sensor detects movement near the door.
2. Door Stopping Mechanism:
- If motion is detected, the servo motor engages the stopper to prevent door movement.
- If no motion is detected, the stopper disengages, allowing free movement.
3. Alert System (Optional):
- A buzzer sounds if the door is being forced open while stopped.

5. Code Implementation

Below is the Arduino code for an ultrasonic sensor-based smart door stopper using a servo motor.
#include <Servo.h>
#define TRIG_PIN 9
#define ECHO_PIN 10
Servo doorStopper;

void setup() {
Serial.begin(9600);
pinMode(TRIG_PIN, OUTPUT);
pinMode(ECHO_PIN, INPUT);
doorStopper.attach(6);
doorStopper.write(0); // Stopper disengaged initially
}

void loop() {
long duration;
int distance;

digitalWrite(TRIG_PIN, LOW);
delayMicroseconds(2);
digitalWrite(TRIG_PIN, HIGH);
delayMicroseconds(10);
digitalWrite(TRIG_PIN, LOW);

duration = pulseIn(ECHO_PIN, HIGH);


distance = duration * 0.034 / 2; // Convert to cm

if (distance < 10) { // If object is near the door


Serial.println("Object detected! Engaging door stopper.");
doorStopper.write(90); // Engage stopper
} else {
Serial.println("No object nearby. Releasing door stopper.");
doorStopper.write(0); // Disengage stopper
}

delay(500);
}

6. Applications
- Home and office security systems
- Smart home automation
- Hands-free door operation for disabled individuals
7. Future Enhancements

- Integration with IoT for remote control.


- Adding AI-based motion recognition for better accuracy.
- Battery-powered operation with solar charging.

8. Conclusion

The Arduino-based smart door stopper system provides an automated and efficient
way to control door movement. By using sensors and a servo motor, it improves safety, security, and
convenience.

You might also like