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

What's hot

Bluetooth based Home Automation
Bluetooth based Home AutomationBluetooth based Home Automation
Bluetooth based Home Automation
Jagannath Kartik
 
Home automation- An Iot application
Home automation- An Iot applicationHome automation- An Iot application
Home automation- An Iot application
Archana Golhar
 
Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Rappy Saha
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
Farhan Ahmed Rahee
 
Bluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOBluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNO
parameshwar koneti
 
automation of railway gate using verilog, Documentation
automation of railway gate using verilog, Documentation  automation of railway gate using verilog, Documentation
automation of railway gate using verilog, Documentation
chendrashekar pabbaraju
 
I twin technology
I twin technologyI twin technology
I twin technology
Chandra Mohan AD
 
Smart digital door locking system
Smart digital door locking systemSmart digital door locking system
Smart digital door locking system
VISHAL NAGAR
 
Smart Door locking system using arduino
Smart Door locking system using arduinoSmart Door locking system using arduino
Smart Door locking system using arduino
BhawnaSingh351973
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by Bluetooth
Aakashkumar276
 
Fire detection system using arduino
Fire detection system using arduino Fire detection system using arduino
Fire detection system using arduino
UT-028
 
Automatic vehicle accident detection and messaging system using gsm and gps m...
Automatic vehicle accident detection and messaging system using gsm and gps m...Automatic vehicle accident detection and messaging system using gsm and gps m...
Automatic vehicle accident detection and messaging system using gsm and gps m...mahesh_rman
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
Eklavya Sharma
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
geetha chandrathi
 
IRJET- IoT based Smart Cradle System for Baby Monitoring
IRJET- IoT based Smart Cradle System for Baby MonitoringIRJET- IoT based Smart Cradle System for Baby Monitoring
IRJET- IoT based Smart Cradle System for Baby Monitoring
IRJET Journal
 
inter vehicle communication
inter vehicle communicationinter vehicle communication
inter vehicle communicationNitish Tanwar
 
Vehicle Over Speed Detection on Highways
Vehicle Over Speed Detection on HighwaysVehicle Over Speed Detection on Highways
Vehicle Over Speed Detection on Highways
Edgefxkits & Solutions
 
Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASED
Ashish Kumar Thakur
 
Project report on Iot Based Garbage Monitoring System
Project report on Iot Based Garbage Monitoring System  Project report on Iot Based Garbage Monitoring System
Project report on Iot Based Garbage Monitoring System
alok pal
 

What's hot (20)

Bluetooth based Home Automation
Bluetooth based Home AutomationBluetooth based Home Automation
Bluetooth based Home Automation
 
Home automation- An Iot application
Home automation- An Iot applicationHome automation- An Iot application
Home automation- An Iot application
 
Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
 
Bluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOBluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNO
 
automation of railway gate using verilog, Documentation
automation of railway gate using verilog, Documentation  automation of railway gate using verilog, Documentation
automation of railway gate using verilog, Documentation
 
I twin technology
I twin technologyI twin technology
I twin technology
 
Smart digital door locking system
Smart digital door locking systemSmart digital door locking system
Smart digital door locking system
 
Smart Door locking system using arduino
Smart Door locking system using arduinoSmart Door locking system using arduino
Smart Door locking system using arduino
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by Bluetooth
 
Fire detection system using arduino
Fire detection system using arduino Fire detection system using arduino
Fire detection system using arduino
 
Automatic vehicle accident detection and messaging system using gsm and gps m...
Automatic vehicle accident detection and messaging system using gsm and gps m...Automatic vehicle accident detection and messaging system using gsm and gps m...
Automatic vehicle accident detection and messaging system using gsm and gps m...
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
IRJET- IoT based Smart Cradle System for Baby Monitoring
IRJET- IoT based Smart Cradle System for Baby MonitoringIRJET- IoT based Smart Cradle System for Baby Monitoring
IRJET- IoT based Smart Cradle System for Baby Monitoring
 
inter vehicle communication
inter vehicle communicationinter vehicle communication
inter vehicle communication
 
Vehicle Over Speed Detection on Highways
Vehicle Over Speed Detection on HighwaysVehicle Over Speed Detection on Highways
Vehicle Over Speed Detection on Highways
 
Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASED
 
Project report on Iot Based Garbage Monitoring System
Project report on Iot Based Garbage Monitoring System  Project report on Iot Based Garbage Monitoring System
Project report on Iot Based Garbage Monitoring System
 
Atumatic toll tax system
Atumatic toll tax systemAtumatic toll tax system
Atumatic toll tax system
 

Similar to Arduino Base Door Automation System.ppt

Automatic Collision Control System
Automatic Collision  Control SystemAutomatic Collision  Control System
Automatic Collision Control SystemSankhadeep Rakshit
 
Smart door project report shivnaresh likhar
Smart door project report shivnaresh likharSmart door project report shivnaresh likhar
Smart door project report shivnaresh likhar
Shivnaresh Likhar
 
Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3
Meifani Sumadijaya
 
Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3
Ziddan Kundrat
 
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Faqih Fadhila Ardiansyah
 
Arduino radar system
Arduino radar systemArduino radar system
Arduino radar system
delhi technological university
 
Reverse car-parking
Reverse car-parkingReverse car-parking
Reverse car-parking
Salehin Rahman Khan
 
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOROBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
LeTsKnOw1
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino uno
selvalakshmi24
 
UEE PPT.pptx
UEE PPT.pptxUEE PPT.pptx
UEE PPT.pptx
MansiKumari26
 
Project Instrumentation (Smart Trashbin)
Project Instrumentation (Smart Trashbin)Project Instrumentation (Smart Trashbin)
Project Instrumentation (Smart Trashbin)
handymg
 
Porte à puce
Porte à pucePorte à puce
Porte à puce
Porte à pucePorte à puce
Porte à puce
Ziddan Kundrat
 
Porte à puce - Automatic Door based on Arduino UNO R3
Porte à puce - Automatic Door based on Arduino UNO R3Porte à puce - Automatic Door based on Arduino UNO R3
Porte à puce - Automatic Door based on Arduino UNO R3
Meifani Sumadijaya
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
IRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually ChallengedIRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually Challenged
IRJET Journal
 
Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...
PRASENJITMORE2
 
Y3.pptx
Y3.pptxY3.pptx

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

Automatic Collision Control System
Automatic Collision  Control SystemAutomatic Collision  Control System
Automatic Collision Control System
 
Home Automation
Home AutomationHome Automation
Home Automation
 
Smart door project report shivnaresh likhar
Smart door project report shivnaresh likharSmart door project report shivnaresh likhar
Smart door project report shivnaresh likhar
 
Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3
 
Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3
 
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
 
Arduino radar system
Arduino radar systemArduino radar system
Arduino radar system
 
4th-Yr-PROJECT-REPORT
4th-Yr-PROJECT-REPORT4th-Yr-PROJECT-REPORT
4th-Yr-PROJECT-REPORT
 
Reverse car-parking
Reverse car-parkingReverse car-parking
Reverse car-parking
 
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOROBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino uno
 
UEE PPT.pptx
UEE PPT.pptxUEE PPT.pptx
UEE PPT.pptx
 
Project Instrumentation (Smart Trashbin)
Project Instrumentation (Smart Trashbin)Project Instrumentation (Smart Trashbin)
Project Instrumentation (Smart Trashbin)
 
Porte à puce
Porte à pucePorte à puce
Porte à puce
 
Porte à puce
Porte à pucePorte à puce
Porte à puce
 
Porte à puce - Automatic Door based on Arduino UNO R3
Porte à puce - Automatic Door based on Arduino UNO R3Porte à puce - Automatic Door based on Arduino UNO R3
Porte à puce - Automatic Door based on Arduino UNO R3
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
IRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually ChallengedIRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually Challenged
 
Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...
 
Y3.pptx
Y3.pptxY3.pptx
Y3.pptx
 

Recently uploaded

The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 

Recently uploaded (20)

The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 

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.