13
Name of Institution 1 Amity School of Engineering & Technology PRACTICAL TRAINING PRESENTATION ON AUTOMATIC DOOR WITH VISITOR COUNTERINDIRA KUNDU B.TECH(ECE)- V SEM SEC-B

Training ppt

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Training ppt

Name of Institution

1

Amity School of Engineering

& Technology

PRACTICAL TRAINING PRESENTATION ON“AUTOMATIC DOOR WITH VISITOR COUNTER”

INDIRA KUNDUB.TECH(ECE)- V SEMSEC-B

Page 2: Training ppt

Name of Institution

2

Contents:

Introduction Block diagram AT89C51 Infra-red sensors LM358 Seven Segment Display & IC-4511 L293D Working of the project Pros and Cons C Code

Page 3: Training ppt

Name of Institution

3

Automatic door with visitor Counter- Introduction

In this system, doors open automatically when approached by someone and then closes automatically and the counter value is incremented or decremented based upon whether the visitor has entered or exited.

Depending upon the interrupt from the sensors, the system identifies the entry and exit of the visitor.

On the successful implementation of the system, it displays the number of visitor present in the room.

Page 4: Training ppt

Name of InstitutionBlock Diagram

IR Sensor

IR Sensor

Sevensegment display

motor driverL293D

DC motor

Op-AmpCompara-

ator (LM358)

Page 5: Training ppt

Name of InstitutionMicro-Controller AT89C51

5

Page 6: Training ppt

Name of Institution Infra Red Sensors

• When an object is close to the sensor, the light from the LED bounces off the object and into the light sensor. This results in a large jump in the intensity, which we already know can be detected using a threshold. 6

Page 7: Training ppt

Name of InstitutionLM358

7

This device consist of two independent,operationalAmplifiers.

Page 8: Training ppt

Name of Institution

8

Seven Segment Display & IC-4511

• With the 4511 we can drive the display with just 4 lines.

• It takes a BCD number as an input, then outputs the necessary lines to display that number on the 7 segment display.

• In normal operation, the Lamp Test(LT) and blanking(BL) inputs are connected HIGH, and the Latch Enable (LE) input is connected LOW.

4511 works only with common cathode seven segment display

Page 9: Training ppt

Name of InstitutionL293D

9

• A single L293D IC allows two DC motors to drive on either direction simultaneously.

• For driving the motor with inputs 1 and 2, we need to enable pin 1 to high. And for driving it with inputs 3 and 4, we need to make the pin 9 to high. If anyone of the either pin1 or pin9 goes low then the motor in the corresponding section will suspend working.

Page 10: Training ppt

Name of Institution

10

Working of the project• The microcontroller unit continuously checks for the

arrival of any person from outside or inside by using the Op-Amp based sensors.

• As soon as the value at the sensor port becomes “1” or high, the DC motor (here, it represents the door) rotates first clockwise (opening of the door) and and then it rotates anticlockwise (closing of the door).

• After this the value of the seven segment display is incremented by 1 if the person is entering or it is decremented by 1 if the person is exiting.

Page 11: Training ppt

Name of InstitutionPros & Cons

Pros:•This system can be economically implemented in all the places where the door automation is required and visitors have to be counted and controlled. eg. Auditorium.•Reduces human labour.

Cons:•Needs power supply to operate.•Needs maintenance and check.

11

Page 12: Training ppt

Name of Institution

12

#include<regx51.h>void motor(int,int,unsigned int); unsigned int i;int x;void delay(unsigned int d){ for(i=0;i<d;i++);}void main(){ while(1) { if(P1_0==1 && P1_1==0) { motor(1,0,50000); motor(1,1,60000); motor(0,1,50000); motor(1,1,60000); if(x<99) { x++;} P3=x; delay(60000);}

else if(P1_0==0 && P1_1==1){ motor(1,0,50000); motor(1,1,60000); motor(0,1,50000); motor(1,1,60000); if(x>0) { x--; } P3=x; delay(60000);}}}void motor(int a, int b,unsigned int c){ P2_0=a; P2_1=b; delay(c);}

C Code

Page 13: Training ppt

Name of Institution

THANK YOU

13