SlideShare a Scribd company logo
Automatic main gate controller
Contents
1. ABSTRACT
2. INTRODUCTION
3. DESIGN PRINCIPLE
4. CIRCUIT DESCRIPTION
Power Supply.
Light detector
Mother board
Bi-directional Motor Driver.
5. FUTURE EXPANSION
6. CONCLUSION
Description
In this project work, we attempt to construct a small and simple model of and
Automatic Gate System, which uses a simple motor operated gate, which uses
for car power window and circuitry to move the gate. The primary aim of this
project is to learn in details about how the automatic gate system works and to
understand to concepts involved. The secondary aim is to fabricate a simple
model to show how the system works. Although we had many hiccups during
the fabrication of the gate but we were able to learned a lot from this project
such as team work, innovation, the skill of arc welding and the ability to put into
practice what we have learned to achieve our desired outcome.
Design principle
The system is designed with one entry/exit gate. The entry gate will open only
when there is a person will be in front of the gate. There are Infra red
transmitter (Tx) and Infrared receiver (Rx) before and after each gate which
detect the arrival and departure of person and operate the Gates by issuing
control signal from the microcontroller. The microcontroller output is given to
the bidirectional motor driver to gate open close. The functional block diagram
is as shown in the above figure, it comprises Two IR transmitter, Two IR
detector modules, microcontrollers, 2 input NOR gate and a bidirectional
motor driver.
Block
Circuit description
Here 230V, 50 Hz ac signal is given as input to the primary of the
transformer and the secondary of the transformer is given to the bridge
rectification diode. The o/p of the diode is given as i/p to the IC regulator
(7805 &7812) through capacitor (1000mf/35v). The o/p of the IC
regulator is given to the LED through resistors.
Circuit
1k
0-12/1A
230V50Hz
POWER SUPPLY
2.2K
LED
LED
IN 4007 * 4 1000uF/35V
+5V
7812 +12V
7805
Light detector
The LDR sensing circuit is configured as a voltage divider circuit. At normal
condition, the source light filling on the LDR its resistance increases, so the
voltage decreases which is given to the non-inverting terminal of the op-amp
which is nothing but the reference voltage and the inverting terminal is
connected to a variable resistor (10k) through a Vcc. Here the op-amp is
configured as comparator, comparator is nothing but compares the two
voltages i.e. non-inverting to the inverting terminal. If the non-inverting (-)
terminal is greater than the inverting (+) terminal, the output of the
comparator goes to the –Vsat=0. Similarly, if the inverting terminal is greater
than the non-inverting terminal, the output of the comparator goes to the
+Vsat=1.
Circuit
BC547
68k
10k
10k
LED
330e
VCC
VCC
10k
LDR
-
+
LM393
3
2
1
84
15k
Mother board
The motherboard of this project is designed with a MSC –51 core
compatible micro controller. The motherboard is designed on a
printed circuit board, compatible for the micro controller. This board
is consisting of a socket for micro controller, input /output pull-up
registers; oscillator section and auto reset circuit.
Auto reset and crystal Circuit
RST
10uF
22pF
22pF
8.2k
4 - 12Mhz
VCC=+5vdc
AT89C51
9
18
19
29
30
31
1
2
3
4
5
6
7
8
21
22
23
24
25
26
27
28
10
11
12
13
14
15
16
17
39
38
37
36
35
34
33
32
RST
XTAL2
XTAL1
PSEN
ALE/PROG
EA/VPP
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
P2.5/A13
P2.6/A14
P2.7/A15
P3.0/RXD
P3.1/TXD
P3.2/IN T0
P3.3/IN T1
P3.4/T0
P3.5/T1
P3.6/WR
P3.7/RD
P0.0/AD0
P0.1/AD1
P0.2/AD2
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
MICROCONTROLLER
The auto reset circuit is a RC network as shown in the mother board
circuit diagram. A capacitor of 1-10mfd is connected in series with a 8k2
resister the R-C junction is connected to the micro controller pin –9
which is reset pin. The reset pin is one when ever kept high (logic 1) the
programme counter (PC) content resets to 0000h so the processor starts
executing the programme. From that location. When ever the system is
switched ON the mother board gets power and the capacitor acts as short
circuit and the entire voltage appears across the resistor, so the reset pin
get a logic 1 and the system get reset, whenever it is being switched ON.
Auto reset circuit
Crystal oscillator
The 8051 family microcontroller contains an inbuilt crystal oscillator, but
the crystal has to be connected externally. This family of microcontroller
can support 0 to 24MHz crystal and two numbers of decoupling
capacitors are connected as shown in the figure. These capacitors are
decouples the charges developed on the crystal surface due to
piezoelectric effect. These decoupling capacitors are normally between
20pf to 30pf. The clock generator section is designed as above,
Pull-up resistors
The PORT0 and PORT2 of the MCS-51 architecture is of
open collector type so on writing logic 0 the pins are
providing a perfect ground potential. Where as on writing
logic 1 the port pins behaves as high impedance condition
so putting a pull-up resister enables the port to provide a
+5volt (logic 1). Port1 and Port3 are provided with
internal pull-ups. A pull-up resister is normally a 10K
resistance connected from the port pin to the Vcc (+5) volt.
Circuit
AT89C51
9
18
19
29
30
31
1
2
3
4
5
6
7
8
21
22
23
24
25
26
27
28
10
11
12
13
14
15
16
17
39
38
37
36
35
34
33
32
RST
XTAL2
XTAL1
PSEN
ALE/PROG
EA/VPP
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
P2.5/A13
P2.6/A14
P2.7/A15
P3.0/RXD
P3.1/TXD
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1
P3.6/WR
P3.7/RD
P0.0/AD0
P0.1/AD1
P0.2/AD2
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
10k
PORT-0
VCC=+5V
Bi-directional motor driver
Here we drive the PMDC motor in both the direction using transistor h-
bridge of ICs l293d . An H-bridge is an arrangement of transistors that
allows a circuit full control over a standard electric DC motor. That is, with
an H-bridge a microcontroller, logic chip, or remote control can
electronically command the motor to go forward, reverse, brake, and coast.
Circuit
5
6
16
9
L 293D
11
14
4
Bi-directional motor driver
M
12
15
Vcc
M
1
3
7 D
VCC
8
A
13
B 10
C2
Future expansion
The present project is designed for only automatic gate open close
system. Further it can be expanded for visitor counter system. And
also program using password based door open close system. This
design is a application of simple digital IC. This same design can be
computed using Microcontroller and many more facilities can be
incorporated in it.
Conclusion
The system is designed in the laboratory and tested in the
laboratory condition. It is observed that the system is
operating satisfactorily with a very minimum error which
is quit less than the experimental tolerance level. The
design is quite stable and economical.
--------------- Thank you ---------------

More Related Content

PPTX
a project on automatic traffic control using IC 555
PPTX
Digital clock workshop
PPT
Control ICs for Energy-efficient Fluorescent Ballast Applications
PPT
PCM3168A/PCM3168A-Q1 Audio Codec
PPTX
555 timer-digital-clock
PPTX
Clock Controlled Unipolar Stepping Motor Driver TB67S149FTG (Device Modeling ...
PDF
IC 555
a project on automatic traffic control using IC 555
Digital clock workshop
Control ICs for Energy-efficient Fluorescent Ballast Applications
PCM3168A/PCM3168A-Q1 Audio Codec
555 timer-digital-clock
Clock Controlled Unipolar Stepping Motor Driver TB67S149FTG (Device Modeling ...
IC 555

What's hot (20)

PPTX
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
PDF
PowerMate15 Technical Specification
PPT
tegangan pada motherboard
PDF
Digital stop watch
DOC
555 timer tutorial
PPT
Ee2 chapter15 multivibrator
PPT
Components 555 timer
PDF
Lc03 diagrama
DOC
(Main)astable square wave generator
PPTX
Embedded Systems & Robotics Projects
PPTX
Testing
PPT
TTL Driving CMOS - Digital Electronic Presentation ALA 2018
PDF
TechShanghai2016 - Reliable automotive-grade Isolators for new energy vehicles
PDF
base de datos Mode06 gm can vehicles
PPTX
SPICE PARK (4,818 Models)
DOC
555 timer
DOC
HandTalk: Assistive Technology for the DUMB (AMERICAN SIGN LANGUAGE
PDF
Electrónica: Probador de LOPT/FBT Flyback
DOCX
Ic tester of 555 and 741 ICs
PDF
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
PowerMate15 Technical Specification
tegangan pada motherboard
Digital stop watch
555 timer tutorial
Ee2 chapter15 multivibrator
Components 555 timer
Lc03 diagrama
(Main)astable square wave generator
Embedded Systems & Robotics Projects
Testing
TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TechShanghai2016 - Reliable automotive-grade Isolators for new energy vehicles
base de datos Mode06 gm can vehicles
SPICE PARK (4,818 Models)
555 timer
HandTalk: Assistive Technology for the DUMB (AMERICAN SIGN LANGUAGE
Electrónica: Probador de LOPT/FBT Flyback
Ic tester of 555 and 741 ICs
Ad

Viewers also liked (8)

PPTX
Highway civil
PDF
e-Waste Management Model with Green ICT
PPT
E waste
PPTX
Fire fighting robot
PPTX
E waste management
PPTX
Auto water supply solar
PPTX
Ac closed loop
PPTX
Bluetooth based home appliances control
Highway civil
e-Waste Management Model with Green ICT
E waste
Fire fighting robot
E waste management
Auto water supply solar
Ac closed loop
Bluetooth based home appliances control
Ad

Similar to Automatic main gate controller (20)

PPTX
Tracking and breaking system for vehicles
PPTX
Automatic gate control
PDF
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
PDF
Final Report
PDF
Microprocessor-Based Automatic Door Opener
PDF
ATmega8 based password controlled home appliance
PDF
smart street light projet
PDF
Home Automation & Security
PPTX
Infrared Remote Controlled Devices
DOCX
Auto Room Lighting and Door lock Report
PPT
Automatic mall elevator
PPTX
Street light controlling using Microcontroller
PPTX
DTMF based Home Applicance System
PPTX
Ppt on automatic street light control using ir sensors
PPTX
Pranay debnath 355 ppt on Smart street ligfht.pptx
PPTX
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
PDF
FINAL REPORT_B.tech
DOCX
Home automation
PPTX
Auto Room Lighting System
PDF
Automatic control of electrical Appliances
Tracking and breaking system for vehicles
Automatic gate control
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
Final Report
Microprocessor-Based Automatic Door Opener
ATmega8 based password controlled home appliance
smart street light projet
Home Automation & Security
Infrared Remote Controlled Devices
Auto Room Lighting and Door lock Report
Automatic mall elevator
Street light controlling using Microcontroller
DTMF based Home Applicance System
Ppt on automatic street light control using ir sensors
Pranay debnath 355 ppt on Smart street ligfht.pptx
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
FINAL REPORT_B.tech
Home automation
Auto Room Lighting System
Automatic control of electrical Appliances

Recently uploaded (20)

PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
composite construction of structures.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Construction Project Organization Group 2.pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
Digital Logic Computer Design lecture notes
PPTX
Welding lecture in detail for understanding
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
DOCX
573137875-Attendance-Management-System-original
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Geodesy 1.pptx...............................................
UNIT-1 - COAL BASED THERMAL POWER PLANTS
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Foundation to blockchain - A guide to Blockchain Tech
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
composite construction of structures.pdf
UNIT 4 Total Quality Management .pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
OOP with Java - Java Introduction (Basics)
Construction Project Organization Group 2.pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Digital Logic Computer Design lecture notes
Welding lecture in detail for understanding
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
573137875-Attendance-Management-System-original
Structs to JSON How Go Powers REST APIs.pdf
CH1 Production IntroductoryConcepts.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Geodesy 1.pptx...............................................

Automatic main gate controller

  • 1. Automatic main gate controller Contents 1. ABSTRACT 2. INTRODUCTION 3. DESIGN PRINCIPLE 4. CIRCUIT DESCRIPTION Power Supply. Light detector Mother board Bi-directional Motor Driver. 5. FUTURE EXPANSION 6. CONCLUSION
  • 2. Description In this project work, we attempt to construct a small and simple model of and Automatic Gate System, which uses a simple motor operated gate, which uses for car power window and circuitry to move the gate. The primary aim of this project is to learn in details about how the automatic gate system works and to understand to concepts involved. The secondary aim is to fabricate a simple model to show how the system works. Although we had many hiccups during the fabrication of the gate but we were able to learned a lot from this project such as team work, innovation, the skill of arc welding and the ability to put into practice what we have learned to achieve our desired outcome.
  • 3. Design principle The system is designed with one entry/exit gate. The entry gate will open only when there is a person will be in front of the gate. There are Infra red transmitter (Tx) and Infrared receiver (Rx) before and after each gate which detect the arrival and departure of person and operate the Gates by issuing control signal from the microcontroller. The microcontroller output is given to the bidirectional motor driver to gate open close. The functional block diagram is as shown in the above figure, it comprises Two IR transmitter, Two IR detector modules, microcontrollers, 2 input NOR gate and a bidirectional motor driver.
  • 5. Circuit description Here 230V, 50 Hz ac signal is given as input to the primary of the transformer and the secondary of the transformer is given to the bridge rectification diode. The o/p of the diode is given as i/p to the IC regulator (7805 &7812) through capacitor (1000mf/35v). The o/p of the IC regulator is given to the LED through resistors.
  • 7. Light detector The LDR sensing circuit is configured as a voltage divider circuit. At normal condition, the source light filling on the LDR its resistance increases, so the voltage decreases which is given to the non-inverting terminal of the op-amp which is nothing but the reference voltage and the inverting terminal is connected to a variable resistor (10k) through a Vcc. Here the op-amp is configured as comparator, comparator is nothing but compares the two voltages i.e. non-inverting to the inverting terminal. If the non-inverting (-) terminal is greater than the inverting (+) terminal, the output of the comparator goes to the –Vsat=0. Similarly, if the inverting terminal is greater than the non-inverting terminal, the output of the comparator goes to the +Vsat=1.
  • 9. Mother board The motherboard of this project is designed with a MSC –51 core compatible micro controller. The motherboard is designed on a printed circuit board, compatible for the micro controller. This board is consisting of a socket for micro controller, input /output pull-up registers; oscillator section and auto reset circuit.
  • 10. Auto reset and crystal Circuit RST 10uF 22pF 22pF 8.2k 4 - 12Mhz VCC=+5vdc AT89C51 9 18 19 29 30 31 1 2 3 4 5 6 7 8 21 22 23 24 25 26 27 28 10 11 12 13 14 15 16 17 39 38 37 36 35 34 33 32 RST XTAL2 XTAL1 PSEN ALE/PROG EA/VPP P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 P2.0/A8 P2.1/A9 P2.2/A10 P2.3/A11 P2.4/A12 P2.5/A13 P2.6/A14 P2.7/A15 P3.0/RXD P3.1/TXD P3.2/IN T0 P3.3/IN T1 P3.4/T0 P3.5/T1 P3.6/WR P3.7/RD P0.0/AD0 P0.1/AD1 P0.2/AD2 P0.3/AD3 P0.4/AD4 P0.5/AD5 P0.6/AD6 P0.7/AD7 MICROCONTROLLER
  • 11. The auto reset circuit is a RC network as shown in the mother board circuit diagram. A capacitor of 1-10mfd is connected in series with a 8k2 resister the R-C junction is connected to the micro controller pin –9 which is reset pin. The reset pin is one when ever kept high (logic 1) the programme counter (PC) content resets to 0000h so the processor starts executing the programme. From that location. When ever the system is switched ON the mother board gets power and the capacitor acts as short circuit and the entire voltage appears across the resistor, so the reset pin get a logic 1 and the system get reset, whenever it is being switched ON. Auto reset circuit
  • 12. Crystal oscillator The 8051 family microcontroller contains an inbuilt crystal oscillator, but the crystal has to be connected externally. This family of microcontroller can support 0 to 24MHz crystal and two numbers of decoupling capacitors are connected as shown in the figure. These capacitors are decouples the charges developed on the crystal surface due to piezoelectric effect. These decoupling capacitors are normally between 20pf to 30pf. The clock generator section is designed as above,
  • 13. Pull-up resistors The PORT0 and PORT2 of the MCS-51 architecture is of open collector type so on writing logic 0 the pins are providing a perfect ground potential. Where as on writing logic 1 the port pins behaves as high impedance condition so putting a pull-up resister enables the port to provide a +5volt (logic 1). Port1 and Port3 are provided with internal pull-ups. A pull-up resister is normally a 10K resistance connected from the port pin to the Vcc (+5) volt.
  • 15. Bi-directional motor driver Here we drive the PMDC motor in both the direction using transistor h- bridge of ICs l293d . An H-bridge is an arrangement of transistors that allows a circuit full control over a standard electric DC motor. That is, with an H-bridge a microcontroller, logic chip, or remote control can electronically command the motor to go forward, reverse, brake, and coast.
  • 16. Circuit 5 6 16 9 L 293D 11 14 4 Bi-directional motor driver M 12 15 Vcc M 1 3 7 D VCC 8 A 13 B 10 C2
  • 17. Future expansion The present project is designed for only automatic gate open close system. Further it can be expanded for visitor counter system. And also program using password based door open close system. This design is a application of simple digital IC. This same design can be computed using Microcontroller and many more facilities can be incorporated in it.
  • 18. Conclusion The system is designed in the laboratory and tested in the laboratory condition. It is observed that the system is operating satisfactorily with a very minimum error which is quit less than the experimental tolerance level. The design is quite stable and economical.
  • 19. --------------- Thank you ---------------