Skip to main content

Automatic Door Opening System Using Arduino and PIR Sensor

Project Overview: The project aims to create an automatic door opening system using an Arduino microcontroller, a PIR (Passive Infrared) sensor, and a servo motor. The system detects motion using the PIR sensor and automatically opens the door by activating the servo motor. After a specified delay, the door closes automatically.

 Materials:

- Arduino Uno board

- PIR sensor


- Servo motor

- Jumper wires

- Breadboard

- USB cable for Arduino

- Computer for programming and testing

 

Software Requirements:

- Arduino IDE (Integrated Development Environment)

 

Hardware Setup:



1. Connect the PIR sensor to the Arduino as follows:

   - Signal pin of the sensor to digital pin 2 of the Arduino

   - VCC pin of the sensor to 5V pin of the Arduino

   - GND pin of the sensor to GND pin of the Arduino

2. Connect the servo motor to the Arduino as follows:

   - Signal wire of the servo motor to digital pin 3 of the Arduino

   - VCC pin of the servo motor to 5V pin of the Arduino

   - GND pin of the servo motor to GND pin of the Arduino

 

Software Implementation:

- Write Arduino code to continuously monitor the PIR sensor for motion detection.

- When motion is detected and the door is closed, activate the servo motor to open the door.

- After a specified delay, close the door by deactivating the servo motor.

 

Testing and Results:

- Test the automatic door opening system by simulating motion in front of the PIR sensor.

- Verify that the system opens the door promptly upon motion detection and closes it after the specified delay.

- Ensure smooth operation of the servo motor and reliable detection of motion by the PIR sensor.

 

Challenges Faced:

- Adjusting the sensitivity and range of the PIR sensor to detect motion accurately without false triggers.

- Fine-tuning the servo motor movement to ensure smooth door operation and prevent jams.

- Optimizing the code for efficient performance and minimal delays in response to motion detection.

 

Future Improvements:

- Integrate additional sensors or features for enhanced security and convenience, such as door position detection or remote control capabilities.

- Implement energy-saving features to minimize power consumption when the system is not in use.

- Explore opportunities for customization, such as adjustable delay times or personalized activation settings.

 

Use of this Project:

The Arduino-based automatic door opening system developed in this project can find applications in various scenarios, including:

 

Accessibility Enhancement: The system can be installed in buildings to provide easier access for individuals with mobility impairments, allowing them to enter and exit without needing to physically open the door.

Hygiene and Safety: In environments where hands-free operation is crucial for hygiene or safety reasons, such as hospitals, laboratories, or public restrooms, this system can help minimize the risk of contamination or accidents.

Home Automation: The project can be integrated into smart home systems to automate the opening and closing of doors in response to user-defined triggers, enhancing convenience and security.

Pet and Wildlife Control: The system can be adapted to control access to certain areas, such as pet doors or wildlife enclosures, ensuring that only authorized individuals or animals can enter or exit.

Security Enhancement: By automatically closing doors after a specified delay, the system can enhance the security of premises by preventing unauthorized access and reducing the risk of intrusions.

Useful Links : 

Circuit Diagram: Click Here

Code File: Click Here

About Components: Click Here

Full Resouses: Click Here

Comments

Popular posts from this blog

Security Alarm using Arduino and PIR sensor

  Security Alarm using Arduino and PIR Sensor Project Overview : To create a security alarm system that detects unauthorized access or intrusion and alerts the user through audible and/or visual alarms. Components : 1. Arduino board (such as Arduino Uno) 2. PIR motion sensor module 3. Buzzer or piezo speaker 4. LED (optional for visual indication) 5. Breadboard  6. Jumper wires Hardware Setup : Connect the PIR motion sensor module to the Arduino. The sensor typically has three pins: VCC, GND, and SIGNAL. Connect VCC to 5V, GND to GND, and SIGNAL to a digital input pin (e.g., pin 2) on the Arduino. Connect the buzzer or piezo speaker to the Arduino. Connect one terminal of the buzzer to a digital output pin (e.g., pin 3) on the Arduino and the other terminal to GND. Optionally, connect an LED to a digital output pin (e.g., pin 4) on the Arduino for visual indication. Software Setup :  Arduino Code : #define PIR_PIN 2 // Digital pin connected to PIR sensor #define BUZZER_PI...

Exploring the Fascinating World of Robotics

  In the realm where science fiction meets reality, there exists a field that continually pushes the boundaries of human imagination and technological innovation: robotics. From the fictional realms of Isaac Asimov's visionary tales to the real-world applications in manufacturing, healthcare, space exploration, and beyond, robotics has captured the fascination of both dreamers and engineers alike. Unveiling the Marvels of Robotics At its core, robotics is the interdisciplinary field that merges mechanical engineering, electrical engineering, computer science, and artificial intelligence to create machines—robots—that can perform tasks autonomously or semi-autonomously. These machines range from the size of nanobots, manipulating matter at the molecular level, to towering humanoid robots mimicking human movements with remarkable precision. Applications in Everyday Life The impact of robotics extends far beyond the confines of research laboratories. In manufacturing, robots have revo...