SlideShare a Scribd company logo
Welcome to our
Presentation
Faculty of Engineering & Applied Science
Department of Electrical & Electronic Engineering
Course Code : EEE 320
Course Title : Microprocessor Lab
Project Name
Arduino Based Door Automation System
SUBMITTED BY:
Name ID Intake-Sec.
Udoy Chandra Das 19203208003 30-1
Md. Sazzad Hossain 19203208028 30-1
Md. Shihab Hasan 19203208033 30-1
Namul Huda Shoaib 1718310813 24(Day)
SUBMITTED TO:
Md. Sabbir Hossain
Teaching Assistant,
Department of EEE
Bangladesh University of Business & Technology
We are express our gratitude and sincere thanks to our honourable teacher
Md. Sabbir Hossain, Department of Electrical and Electronics Engineering for
his gracious efforts and keen pursuit, which has remained as a valuable asset for
the successful of our project report.
At last, but not the least I am highly thankful to the ALMIGHTY, who has
given me the courage and wisdom throughout this whole journey.
ACKNOWLEDGEMENT
ABSTRACT
Opening and closing of doors have always been a tedious and boring job,
especially in places like; hotels, shopping malls, theaters, etc. where a person is
always required to open and close the door for visitors. This human involvement can
be avoided by automating the process using different sensors like infrared, pressure,
ultrasonic, laser etc. In this paper, automatic door control system using Arduino
microcontroller was designed. The system combines ultrasonic sensor, servo, and
Arduino to achieve the desired goal.
01. Introduction
02. Background
03. Motivation
04. Objective
05. Theory
06. Required Apparatus
07. Methodology
08. Results & Discussion
09. Advantages
10. Conclusion
TABLE OF CONTENT
The market for automated doors is growing and becoming more
specialized. The type of product that fits best with a particular application is
determined by frequency of operation, speed of operation required, new
versus existing construction, traffic flow and cost. Automatic doors are a
normal feature in many commercial buildings and infrastructures such as
shopping centers and airports, as well as in industrial environments such as
factories. Although they come in variety of types, including sliding, swing,
folding, etc. they all need to conform to the highest standards of safety.
INTRODUCTION
Automatic doors effectively contribute to energy saving and reduce annual
heating and cooling costs. Doors open only when activated and automatically
close so to eliminate the doors being left open. They also prevent air-
conditioning from escaping and outside air and dust from entering. So, that's
why we are motivated to making this project
MOTIVATION
The aim of this project is to design an Automatic Door Opening system using
Arduino UNO, in which the door is automatically opened and closed by
detecting the movement of a person. Before going to the working of the project,
let us see the basic requirements of the project.
● When a person approaches the door through the doorway, the system must
detect the person and open the door automatically.
● The door should stay open as long as the doorway is not clear i.e. as long as
the system detects a person.
● Once the doorway is cleared, the system must close the door automatically
and wait for the next person.
OBJECTIVE
Arduino UNO is a microcontroller board based on the ATmega328P. It has
14 digital input/output pins (of which 6 can be used as PWM outputs), 6
analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack,
an ICSP header and a reset button. It contains everything needed to support
the microcontroller; simply connect it to a computer with a USB cable or
power it with a AC-to-DC adapter or battery to get started.
Arduino UNO
THEORY
fig : Arduino UNO
THEORY
fig : Arduino UNO pin diagram
THEORY
THEORY
Ultrasonic Distance Sensor
Ultrasonic Sensor HC-SR04 is a sensor that can measure distance. It emits an
ultrasound at 40,000 Hz (40kHz) which travels through the air and if there is an
object or obstacle on its path It will bounce back to the module. Considering the
travel time and the speed of the sound you can calculate the distance.
The configuration pin of HC-SR04 is VCC (1), TRIG (2), ECHO (3), and GND
(4). The supply voltage of VCC is +5V and you can attach TRIG and ECHO pin to
any Digital I/O in your Arduino Board.
Ultrasonic Distance Sensor
fig : PIN Configuration of ultrasonic distance sensor
THEORY
Ultrasonic Distance Sensor timing diagram :
THEORY
Ultrasonic Distance Sensor distance measurement:
THEORY
Ultrasonic Distance Sensor distance measurement:
THEORY
Sound travel in air 340 m/s,
It’s mean that ,
1’s sound travel in air = 340m, 34,000cm.
1µS ——————— = 34,000/1000000 [1µS = 10^-6s]
So, sound travel in air = 0.034cm/ µS
and we pick the duration (microSecond) of echo pin high using pulseIn(pin, HIGH)
Distance = (duration x Speed of sound in air)/2
more in next slide
Ultrasonic Distance Sensor code syntax:
THEORY
#define echoPin 2
#define trigPin 3
long duration;
int distance;
void setup() {
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}
void loop() {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = duration * 0.034 / 2;
}
Servo motor
THEORY
Servo motors have three wires: power, ground, and signal. The power wire is
typically red, and should be connected to the 5V pin on the Arduino board.
The ground wire is typically black or brown and should be connected to a
ground pin on the board. The signal pin is typically yellow or orange
connected to A/D pin on the board
Basic Code syntax of Servo motor
THEORY
#include <Servo.h>
Servo myservo;
int pos = 0;
void setup() {
myservo.attach(9);
}
void loop() {
for (pos = 0; pos <= 90; pos += 1) {
myservo.write(pos);
delay(15);
}
for (pos = 90; pos >= 0; pos -= 1) {
myservo.write(pos);
delay(15);
}
}
1. Arduino UNO R3 x1
2. UltraSonic Distance Sensor [HC - SR04] x1
3. Servo Motor x1
4. BreadBoard x1
5. Jumper wire
REQUIRED APPARATUS
Figure: Circuit diagram automated door system
METHODOLOGY
METHODOLOGY
Figure: BreadBoard connection of Arduino, Servo motor and U. Sensor
METHODOLOGY
Figure: BreadBoard connection of Arduino, Servo motor and U. Sensor
METHODOLOGY
Figure: some picture of our project
#include<Servo.h>
Servo myServo;
int trig = 2;
int echo = 3;
void setup()
{
Serial.begin(9600);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
myServo.attach(5);
}
void loop()
{
digitalWrite(trig, LOW);
delayMicroseconds(2);
digitalWrite(trig, HIGH);
delayMicroseconds(10);
digitalWrite(trig, LOW);
long d = pulseIn(echo,HIGH);
float a = d*0.034/2;
Serial.print(a);
Serial.println(" CM distance");
if(a>100 && a< 200)
{
myServo.write(90);
delay(1000);
}
else
{
delay(1000);
myServo.write(0);
}
}
Final Code
Demo of software simulation
[Simulate Now]
In this project we are able to design Door automation system using
Arduino UNO , UltraSonic Distance Sensor, Servo motor. And we are able to
find the proper output what we want. And finally it can be conclude that our
project is successfully complete.
RESULTS & DISCUSSION
The advantage door automation system -
ADVANTAGES
1. Since automatic doors can be opened without the use of hands, they offer convenience to
everyone even with baggage in both hands or carrying a cart. Automatic doors are widely
used at high traffic places like commercial buildings, hotels and public facilities to show
care and good customer service.
2. Automatic doors provide excellent customer service by allowing everyone enters easily,
regardless of their ages or physical capabilities. In Japan, automatic doors for multi-
purpose toilets are highly recommended at public facilities such like stations and city
offices.
3. The hands-free operation of automatic doors offer a optimal solution to hospitals and food
factories where sanitation is essential. Automatic door with airtight function can also
prevent the entry of dust and dirt by increasing the air pressure of the room, which is
suitable for operating rooms and other controlled environments.
CONCLUSION
In this lab project we are able to design ‘Door automation System’ . And the
theoretical knowledge programming code is successfully run in practical and
there have no any error. And we are success in project.
ANY QUESTION?
THANK YOU EVERYONE

More Related Content

PPT
Aircraft hydraulic system
PPTX
Aerial photography.pptx
PPTX
INFRARED SENSOR WORKING PRINCIPLE AND CIRCUIT
PPTX
Anti-lock Braking System (ABS)
PPTX
Advance Manufacturing Processes.pptx
PPTX
Infrared sensor
PDF
How does blockchain work
PPTX
Introduction to Blockchain
Aircraft hydraulic system
Aerial photography.pptx
INFRARED SENSOR WORKING PRINCIPLE AND CIRCUIT
Anti-lock Braking System (ABS)
Advance Manufacturing Processes.pptx
Infrared sensor
How does blockchain work
Introduction to Blockchain

What's hot (20)

PPTX
Shiv smart door ppt
PPTX
Automatic door using arduino
PPT
IoT with Arduino
PDF
NodeMCU ESP8266 workshop 1
PPTX
Movement Sensed Automatic Door Opening System
PDF
Rfid based attendance system using arduino (1)
PPTX
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
PPTX
Application of electric and electronic drives in robotics
PPTX
Smart street light system
PDF
Embedded Systems Training Report
PPTX
Presentation IOT Robot
PPTX
Wi-Fi Esp8266 nodemcu
PPTX
Password based door locking system
PPTX
RFID BASED ATTENDANCE SYSTEM PPT
PPTX
Smart sensors and their Application
PDF
Modicon M580 MUCH MORE then a PLC…the first ePAC!
PPT
Ir sensor mechanism and interfacing with a micro controllers.PPT
PPTX
Home Automation System using iot
PPTX
Android mobile cotrolled robot (wi fi)
PPTX
Virtual instrumentation (LabVIEW)
Shiv smart door ppt
Automatic door using arduino
IoT with Arduino
NodeMCU ESP8266 workshop 1
Movement Sensed Automatic Door Opening System
Rfid based attendance system using arduino (1)
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
Application of electric and electronic drives in robotics
Smart street light system
Embedded Systems Training Report
Presentation IOT Robot
Wi-Fi Esp8266 nodemcu
Password based door locking system
RFID BASED ATTENDANCE SYSTEM PPT
Smart sensors and their Application
Modicon M580 MUCH MORE then a PLC…the first ePAC!
Ir sensor mechanism and interfacing with a micro controllers.PPT
Home Automation System using iot
Android mobile cotrolled robot (wi fi)
Virtual instrumentation (LabVIEW)
Ad

Similar to Arduino Base Door Automation System.ppt (20)

DOCX
Automatic Collision Control System
PDF
Home Automation
DOCX
Smart door project report shivnaresh likhar
PPTX
Porte à puce - Smart Safety Door based on Arduino UNO R3
PPTX
model ppt-smart glass for blind asistanc
PPTX
Smart Safety Door based on Arduino Uno R3
PPTX
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
PPTX
Arduino radar system
DOCX
4th-Yr-PROJECT-REPORT
DOCX
A smart Trafic light control using Adriano
PPTX
Reverse car-parking
PDF
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
DOCX
Automatic railway gate control using arduino uno
PPTX
UEE PPT.pptx
PPTX
Project Instrumentation (Smart Trashbin)
PPTX
Porte à puce
PPTX
PPTX
Porte à puce - Automatic Door based on Arduino UNO R3
PDF
DANNY FINAL PPT.pdf internship
PPTX
Arduino Slides With Neopixels
Automatic Collision Control System
Home Automation
Smart door project report shivnaresh likhar
Porte à puce - Smart Safety Door based on Arduino UNO R3
model ppt-smart glass for blind asistanc
Smart Safety Door based on Arduino Uno R3
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Arduino radar system
4th-Yr-PROJECT-REPORT
A smart Trafic light control using Adriano
Reverse car-parking
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
Automatic railway gate control using arduino uno
UEE PPT.pptx
Project Instrumentation (Smart Trashbin)
Porte à puce
Porte à puce - Automatic Door based on Arduino UNO R3
DANNY FINAL PPT.pdf internship
Arduino Slides With Neopixels
Ad

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Computing-Curriculum for Schools in Ghana
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Presentation on HIE in infants and its manifestations
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
O5-L3 Freight Transport Ops (International) V1.pdf
VCE English Exam - Section C Student Revision Booklet
Microbial diseases, their pathogenesis and prophylaxis
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Computing-Curriculum for Schools in Ghana
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
A systematic review of self-coping strategies used by university students to ...
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
Supply Chain Operations Speaking Notes -ICLT Program
Presentation on HIE in infants and its manifestations
Final Presentation General Medicine 03-08-2024.pptx
Cell Structure & Organelles in detailed.
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra

Arduino Base Door Automation System.ppt

  • 2. Faculty of Engineering & Applied Science Department of Electrical & Electronic Engineering Course Code : EEE 320 Course Title : Microprocessor Lab
  • 3. Project Name Arduino Based Door Automation System
  • 4. SUBMITTED BY: Name ID Intake-Sec. Udoy Chandra Das 19203208003 30-1 Md. Sazzad Hossain 19203208028 30-1 Md. Shihab Hasan 19203208033 30-1 Namul Huda Shoaib 1718310813 24(Day)
  • 5. SUBMITTED TO: Md. Sabbir Hossain Teaching Assistant, Department of EEE Bangladesh University of Business & Technology
  • 6. We are express our gratitude and sincere thanks to our honourable teacher Md. Sabbir Hossain, Department of Electrical and Electronics Engineering for his gracious efforts and keen pursuit, which has remained as a valuable asset for the successful of our project report. At last, but not the least I am highly thankful to the ALMIGHTY, who has given me the courage and wisdom throughout this whole journey. ACKNOWLEDGEMENT
  • 7. ABSTRACT Opening and closing of doors have always been a tedious and boring job, especially in places like; hotels, shopping malls, theaters, etc. where a person is always required to open and close the door for visitors. This human involvement can be avoided by automating the process using different sensors like infrared, pressure, ultrasonic, laser etc. In this paper, automatic door control system using Arduino microcontroller was designed. The system combines ultrasonic sensor, servo, and Arduino to achieve the desired goal.
  • 8. 01. Introduction 02. Background 03. Motivation 04. Objective 05. Theory 06. Required Apparatus 07. Methodology 08. Results & Discussion 09. Advantages 10. Conclusion TABLE OF CONTENT
  • 9. The market for automated doors is growing and becoming more specialized. The type of product that fits best with a particular application is determined by frequency of operation, speed of operation required, new versus existing construction, traffic flow and cost. Automatic doors are a normal feature in many commercial buildings and infrastructures such as shopping centers and airports, as well as in industrial environments such as factories. Although they come in variety of types, including sliding, swing, folding, etc. they all need to conform to the highest standards of safety. INTRODUCTION
  • 10. Automatic doors effectively contribute to energy saving and reduce annual heating and cooling costs. Doors open only when activated and automatically close so to eliminate the doors being left open. They also prevent air- conditioning from escaping and outside air and dust from entering. So, that's why we are motivated to making this project MOTIVATION
  • 11. The aim of this project is to design an Automatic Door Opening system using Arduino UNO, in which the door is automatically opened and closed by detecting the movement of a person. Before going to the working of the project, let us see the basic requirements of the project. ● When a person approaches the door through the doorway, the system must detect the person and open the door automatically. ● The door should stay open as long as the doorway is not clear i.e. as long as the system detects a person. ● Once the doorway is cleared, the system must close the door automatically and wait for the next person. OBJECTIVE
  • 12. Arduino UNO is a microcontroller board based on the ATmega328P. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. Arduino UNO THEORY
  • 13. fig : Arduino UNO THEORY
  • 14. fig : Arduino UNO pin diagram THEORY
  • 15. THEORY Ultrasonic Distance Sensor Ultrasonic Sensor HC-SR04 is a sensor that can measure distance. It emits an ultrasound at 40,000 Hz (40kHz) which travels through the air and if there is an object or obstacle on its path It will bounce back to the module. Considering the travel time and the speed of the sound you can calculate the distance. The configuration pin of HC-SR04 is VCC (1), TRIG (2), ECHO (3), and GND (4). The supply voltage of VCC is +5V and you can attach TRIG and ECHO pin to any Digital I/O in your Arduino Board.
  • 16. Ultrasonic Distance Sensor fig : PIN Configuration of ultrasonic distance sensor THEORY
  • 17. Ultrasonic Distance Sensor timing diagram : THEORY
  • 18. Ultrasonic Distance Sensor distance measurement: THEORY
  • 19. Ultrasonic Distance Sensor distance measurement: THEORY Sound travel in air 340 m/s, It’s mean that , 1’s sound travel in air = 340m, 34,000cm. 1µS ——————— = 34,000/1000000 [1µS = 10^-6s] So, sound travel in air = 0.034cm/ µS and we pick the duration (microSecond) of echo pin high using pulseIn(pin, HIGH) Distance = (duration x Speed of sound in air)/2 more in next slide
  • 20. Ultrasonic Distance Sensor code syntax: THEORY #define echoPin 2 #define trigPin 3 long duration; int distance; void setup() { pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); } void loop() { digitalWrite(trigPin, LOW); delayMicroseconds(2); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); duration = pulseIn(echoPin, HIGH); distance = duration * 0.034 / 2; }
  • 21. Servo motor THEORY Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino board. The ground wire is typically black or brown and should be connected to a ground pin on the board. The signal pin is typically yellow or orange connected to A/D pin on the board
  • 22. Basic Code syntax of Servo motor THEORY #include <Servo.h> Servo myservo; int pos = 0; void setup() { myservo.attach(9); } void loop() { for (pos = 0; pos <= 90; pos += 1) { myservo.write(pos); delay(15); } for (pos = 90; pos >= 0; pos -= 1) { myservo.write(pos); delay(15); } }
  • 23. 1. Arduino UNO R3 x1 2. UltraSonic Distance Sensor [HC - SR04] x1 3. Servo Motor x1 4. BreadBoard x1 5. Jumper wire REQUIRED APPARATUS
  • 24. Figure: Circuit diagram automated door system METHODOLOGY
  • 25. METHODOLOGY Figure: BreadBoard connection of Arduino, Servo motor and U. Sensor
  • 26. METHODOLOGY Figure: BreadBoard connection of Arduino, Servo motor and U. Sensor
  • 28. #include<Servo.h> Servo myServo; int trig = 2; int echo = 3; void setup() { Serial.begin(9600); pinMode(trig, OUTPUT); pinMode(echo, INPUT); myServo.attach(5); } void loop() { digitalWrite(trig, LOW); delayMicroseconds(2); digitalWrite(trig, HIGH); delayMicroseconds(10); digitalWrite(trig, LOW); long d = pulseIn(echo,HIGH); float a = d*0.034/2; Serial.print(a); Serial.println(" CM distance"); if(a>100 && a< 200) { myServo.write(90); delay(1000); } else { delay(1000); myServo.write(0); } } Final Code Demo of software simulation [Simulate Now]
  • 29. In this project we are able to design Door automation system using Arduino UNO , UltraSonic Distance Sensor, Servo motor. And we are able to find the proper output what we want. And finally it can be conclude that our project is successfully complete. RESULTS & DISCUSSION
  • 30. The advantage door automation system - ADVANTAGES 1. Since automatic doors can be opened without the use of hands, they offer convenience to everyone even with baggage in both hands or carrying a cart. Automatic doors are widely used at high traffic places like commercial buildings, hotels and public facilities to show care and good customer service. 2. Automatic doors provide excellent customer service by allowing everyone enters easily, regardless of their ages or physical capabilities. In Japan, automatic doors for multi- purpose toilets are highly recommended at public facilities such like stations and city offices. 3. The hands-free operation of automatic doors offer a optimal solution to hospitals and food factories where sanitation is essential. Automatic door with airtight function can also prevent the entry of dust and dirt by increasing the air pressure of the room, which is suitable for operating rooms and other controlled environments.
  • 31. CONCLUSION In this lab project we are able to design ‘Door automation System’ . And the theoretical knowledge programming code is successfully run in practical and there have no any error. And we are success in project.