+234 8146561114 (MTN) or
+2347015391124 (AIRTEL)

DESIGN AND CONSTRUCTION OF A MICROCONTROLLER BASED  AUTOMATIC GATE

 

ABSTRACT

Microcontroller based automate controller is a project design of a system that is used in operating a gate automatically. The system opens the gate automatically when a human being or car is about to enter a compound or exit a compound.  The system works by sensing the light rays  from the head lamp of the vehicle. The light ray is sensed and signal is used in operating the gate. Different blocks of circuit are put together to ensure that the system works perfectly as desired. The blocks include; the power supply unit, the control unit, the sensor unit, and drive unit. The power supply unit powers on the entire system, it supplies appropriate dc signal to where it is needed. The supply unit is made up of a 12volts step down transformer, a bridge rectifier circuit, a filter capacitor and a voltage regulator IC. The control unit receives signal from the sensor section to control the remaining part of the system. The control section is the logical part of the system and decides the state of the entire system depending on the signal from the sensor unit. The control section carries its operation with use of a microcontroller ATMEL89S52. The sensor unit receives signals from the headlamp of the vehicle or the human being and sends signals to indicate that a human being or car is present. This is achieved with the use a light dependent resistors. The drive unit is a DC motor which carries the gate to a specific direction as indicated by the microcontroller. 
                

TABLE OF CONTENTS

Title page  -         -        -        -        -        -        -        -        -        -         - i
Approval page  -          -        -        -        -        -        -        -        -        -ii
Dedication  -       -        -        -        -        -        -        -        -        -        -iii Acknowledgement       -        -        -        -                  -        -        -        -iv
Abstract - -          -        -        -        -        -        -        -        -        -        -v
Table of contents         -        -        -        -        -        -        -        -        -vi
List of figures -    -        -        -        -        -        -        -        -        -        -x
List of tables -     -        -        -        -        -        -        -        -        -        -xii

CHAPTER ONE                                                   

1.0 INTRODUCTION -          -        -        -        -        -        -        -        -1 
1.1 BACKGROUND OF THE PROJECT        -        -        -        -        -1
1.2 AIMS AND OBJECTIVE OF THE PROJECT     -        -        -        -2
1.3 PURPOSE OF THE PROJECT------------------------------------------------2
1.4 SCOPE OF THE PROJECT   -        -        -        -        -        -        -2
1.5  APPLICATION OF THE PROJECT------------------------------------------3
1.6 DEFINITION OF TERMS         -        -        -        -        -        -        - 4      
1.7 PROJECT REPORT ORGANIZATION     -        -        -        -        -4       

CHAPTER TWO


2.0 LITERATURE REVIEW  -        -        -        -        -        -        -

-6

2.1 INTRODUCTION  -         -        -        -        -        --       -        -

-6

2.2 REVIEW OF SENSORS  --     -        -        -        -        -        -

-8

2.3 REVIEW OF THE ATMEL AT89S52 MICROCONTROLLER -

-10     

2.4 REVIEW OF DOOR CONTROL       -        -        -

CHAPTER THREE

-

-

-12      

3.0 SYSTEM ANALYSIS      -        -        -        -        -

-

-

- 14 

3.1: INTRODUCTION -         -        -        -        -        -

-

-

- 14

3.2: THE POWER SUPPLY UNIT: - -     -        -           -

-

-

- 15 

3.3: THE CONTROL SECTION:   -        --        -           -

-

-

- 16

3.4: THE SENSOR UNIT: -     -    -     -     -    -    -   -  -

-

-

- -17 

3.5: THE GATE DRIVE UNIT -  -            -        -         - -

-

-

- 17

3.6: DESCRIPTION OF COMPONENTS USED IN THE DESIGN

-  19 

3.6.1: Voltage Regulators    -        -        -        -        -        -        -

-   19


3.6.2: Transistors         -        -        -        -

-        -        -                     -  21

3.6.2.1: Types of Transistor  -       -        -

-        -        -                    -  22

3.6.2.2: Transistor currents -         -        -

-        -        -        -           -  23

  3.6.3: Light Dependent Resistor (LDR)  

-        -        --       -           -  26

3.6.4: Electromechanical Relay --          -

-        -        -        -           -  26

3.6.5: Diodes  -            --       -        -        -

-        -        -        -           -  27

  3.6.6: Microcontroller unit:  -        -        -

-        -        -        -           -  30

3.6.6.1: Features of AT89S52       -        -

-        -        -        -           -  31

 3.6.6.2: Pin description        -        -        -

-        -        -        -           -  34

3.7: SYSTEM SPECIFICATION    -        -

-        -        -        -           -  38 

CHAPTER FOUR

4.0 CONSTRUCTION APPROACH, CONSTRUCTION STEPS AND         
EVALUATION    -        -        -        -        -        -        -        -        -         - 40  
4.1 CONSTRUCTION APPROACH       -        -        -        -        -        -  40
4.2   CONSTRUCTION         -        -        -        --       -        -        -        -  41


4.2.1   COMPONENT TESTING  -         -

-        -

-                     -  42

 4.2.2   COMPONENT PLACING  -        -

-        -

-        -           -  42

4.2.3   SOLDERING  -          -        -        -

-        -

-        -           -  42

4.2.4   SYSTEM TESTING  -         -        -

-        -

-        -           -  43

4.2.5   CONSTRUCTION MATERIALS  

-        --

-        -           -  43

4.3   TESTING EQUIPMENT -      -        -

-        -

-        -           -  44

4.4   TESTING METHOD     -        --       -

-        -

-        -           -  44

4.4.1 RESISTORS:     -        -        -        -

-        -

-        -           -  44

4.4.2 CAPACITORS:  -         -        -        -

-        --

-        -           -  44

4.4.3 TRANSISTORS:  -       -        -        -

-        --

-        -           -  44

4.5 SYSTEM FLOWCHART -       -        -

-        -

-        -           -  46 

4.6 CIRCUIT DIAGRAM:      -        -        -

-        -

-        -           -  47 

4.6.1 CIRCUIT DIAGRAM EXPLANATION

-

          -           -  48

4.7      EVALUATION -          -        -        -

-        -

-        -           -  48

CHAPTER FIVE  

5.0 TEST RESULT, RECOMMENDATION AND CONCLUSION       -52  
5.1 SYSTEM TESTING        -        -        -        -        -        -        -         - 52
5.2 SUMMARY  -         -        -        -        -        -        -        -        -         - 52
5.3 RECOMMENDATION    -        -        -        --       -        -        -         - 54
5.4 CONCLUSION      -        --       -        -        -        -        -        -         - 54
REFERENCES  -         -        --       -        -        -        -        -        -         - 56
APPENDIX         -        -        -        -        -        -        -        -        -         - 58


LIST OF FIGURES

Figures 

1.1   The block diagram of microcontroller based automatic gate  
Control -     -        -        -        -        -        -        -        -        -        -3
2.1   A typical light dependent resistor. - -       -        -        -        -        -8
3.0   The block diagram of microcontroller based automatic 
gate control  -      -        -        -        -        -        -        -        -        -14
3.1   Block diagram of power supply unit  -     -        -        -        -        -16
3.2  Input Sensor Design  - -          -        -        -        -        -        -        -17
3.3   Diagram of gate drive unit  -- -        -        -        -        -        -        -18
3.4   LM7805 Integrated Circuit Internal Schematic   -      -        -        -20
3.5    Diagram of 7805  -       -        -        -        -        -        -        -        -21
3.6     Transistor circuit symbols - -         -        -        -        -        -        -22
3.7   Current path of a Transistor - -       -        -        -        -        -        -23
3.8  Model of NPN Transistor  - -            -        -        -        -        -        -24
3.9   Light Dependent Resistor Symbol  -       -        -        -        -        -26
3.10 Electromechanical relay  -     -        -        -        -        -        -        -27
3.11 Schematic symbols for diodes   - -          -        -        -        -        -28
3.12 Pin configuration of AT89S52   -    -        -        -        -        -        -31
3.13 Block diagram of AT898S52 internal circuitry  -        -        -        -33 
4.1   Circuit Diagram Of Microcontroller Based Automatic 
Gate Control-      -        -        -        -        -        -        -        -        -47

 


CHAPTER ONE                                              

1.0                                           INTRODUCTION

1.1 BACKGROUND OF THE PROJECT

In the past, many systems that are designed by man are normally operated manually. This mode of operation is accompanied with many defects or disadvantages. Some of the disadvantages involve stress undergone by the operator; the operator is also exposed to health hazards when carrying out his or her duties. These health hazards might be in terms of electrocution, skin burn or bruises.
To overcome the above mentioned disadvantages that are associated with manual operation of systems, the recent systems are designed with mechanisms that enable them to carry out the required operations automatically. To this effect, the system carries out the required operation by them. The mechanism of the system can only be altered during servicing of the machine. With automatic operation of systems, the stress involved with handling the systems are reduced drastically.
The automatic gate control system is one of the systems that operate automatically. The system simply detects the presence of object at the front of the gate and then, opens the doors of the gate automatically. It incorporates sensors that are mounted at strategic positions and which has the capability of detecting objects. These systems are used in public offices where people often make use of the doors.

1.2                        AIMS AND OBJECTIVE OF THE PROJECT

The main aim of the design is to practically obtain a system that opens and closes a given gate automatically, when there is presence of cars or persons. The system is designed in such a way that it has sensors that senses the presence of people.

1.3                              PURPOSE OF THE PROJECT
Automatic gates are used to control access into a secured area. Most commonly, automatic gates are used at the entrance to the facility, and are used to control vehicular access on and off of the site. For example, a manufacturing plant may use an automatic gate at its main entrance. All vehicles entering and exiting the plant must do so through the automatic gate. Automatic gates are also used at interior areas within a facility. For example, automatic gates are commonly used within the inside of a parking garage to separate employee parking areas from public areas of the garage.

1.4                                 SCOPE OF THE PROJECT

The design and implementation of microcontroller based automatic gate controller utilizes the characteristic operation of both passive and active electronic components such as resistors, capacitors and integrated circuits. The circuit is designed in a prototype forms and it is only meant for indoor demonstration of how the system works. The system also uses a
programmable integrated circuit in its control unit. Meanwhile, this project, microcontroller based automatic gate control has sub units such as:

  • Power supply unit
  • The control section
  • The gate drive section
  • The sensor unit

 
12
 
Fig: 1.1. The block diagram of microcontroller based automatic gate control

1.5                           APPLICATION OF THE PROJECT
This device is used in the following places:

  • Schools
  • Hospitals
  • Police Stations
  • Data Centres
  • Industrial properties
  • Distribution centres
  • Warehouses
  • Prisons and Young Offender Institutions
  • Power Stations
  • Waste disposal and recycling plants (in particular those processing sensitive materials such as that from hospitals)
  • Print works (in particular those producing high value product such as currency and stamps, or sensitive / time critical material such as daily press)
  • Military bases
  • Gasworks
  • Water processing plants
  • Sewage works etc.

1.6                                    DEFINITION OF TERMS

  • Voltage regulation: this is simply, the control of voltage as needed by the design. Voltage regulation ensures that a specific and steady voltage supply is provided for the system operation.
  • Electromagnetic switch: this is the contact making that exists between terminal of electronic components. These switches are carried through a process known as electromagnetic induction. Examples of devices that can perform this action is the relay.
  • Erasable programmable read only memory (EPROM): this is a type of memory device which can be programmed. The device also has program erasing ability if it is to be reprogrammed.
1.7                                 PROJECT REPORT ORGANIZATION 

 Five chapters were covered in the course of design and development of this project. The chapters and their contents are as follows:
Chapter one is the introductory chapter that gives the background of the project, aim and objective, the scope and organization of the project.
Chapter Two handles the literature review; information on previous work relevant to the topic. 
In chapter three, I discussed the practical system analysis of the project. Also discussed is the requirement analysis, which is all the information, gathered from a wide research on microcontroller over/under voltage protective system.
Chapter four deals with the design procedure, construction steps, packaging and cost of components.
Chapter five contains the test result, summary, conclusion and recommendations for further work. 

CLICK HERE FOR MORE RELATED TOPICS/MATERIAL

This material is a complete and well researched project material strictly for academic purposes, which has been approved by different Lecturers from different higher institutions. We make abstract and chapter one visible for everyone.

All Project Topics on this site have complete 5(five) Chapters . Each Project Material include: Abstract + Introduction + etc + Literature Review + methodology + etc + Conclusion + Recommendation + References/Bibliography.

To "DOWNLOAD" the complete material on this particular topic above click "HERE"

Do you want our Bank Accounts? please click HERE

To view other related topics click HERE

To "SUMMIT" new topic(s), develop a new topic OR you did not see your topic on our site but want to confirm the availiability of your topic click HERE

Do you want us to research for your new topic? if yes, click "HERE"

Do you have any question concerning our post/services? click HERE for answers to your questions

You can also visit our facebook Page at fb.me/hyclas to view more our related construction (or design) pics


For more information contact us through Any of the following means:

Mobile No :+2348146561114 or +2347015391124 [Mr. Innocent]

Email address :engr4project@gmail.com

Watsapp No :+2348146561114

To View Our Design Pix: You can also visit our facebook Page at fb.me/hyclas for our design photos/pics.



IF YOU ARE SATISFIED WITH OUR SERVICES, PLEASE DO NOT FORGET TO INVITE YOUR FRIENDS AND COURSEMATES TO OUR PAGE.