Professional Documents
Culture Documents
ABSTRACT
This is a student report for the Lab Project assigned for Basic
Electronic Lab , named Autometic Railway Gate Controller .In this
project we are using IR sensor that generates the signal by
transmitting & recives the signal with the help of 8051
microcontroller which is an Astable Multivibratorthat generates the
continus signal.When ever the IR signal gets distributed then the
signal is given to the timer and that drives the circuit to switch on the
Gate control.
TABLE OF CONTENT :=
SUBJECTED PAGE NO
ABSTRACT 1-2
APPLICATION 29-30
LIMITATIONS 31-32
BIBILIOGRAPHY 33-38
CHAPTER 1
INTRODUCTION
CHAPTER 2
POWER SUPPLY
SUPPLY
REGULATOR OUTPUT
POWER SUPPLY
CHAPTER 4
PRINCIPLE OPEARATION
PRINCIPLE OPEARATION
CHAPTER 4
AUTOMETIC RAILWAY GATE CONTROL
CIRCUIT DIAGRAM
Page | 12
Autometic Railway Gate controller
CHAPTER 5
CIRCUIT COMPONENT
IC MICROCONTROLLER 8051
IR LED SENSOR
MOTOR DRIVE BOARD
STPPER MOTOR
CIRCUIT COMPONENT
IC AT89C51 :
The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with
4 Kbytes of Flash Programmable and Erasable Read Only Memory (PEROM). The
device is manufactured using Atmel’s high density nonvolatile memory technology
and is compatible with the industry standard MCS-51 instruction set and pinout.
PIN DIAGRAM :
PIN DESCRIPTION :
GROUND :- All voltage are measured with respect terminal.
Port 2
Together with the three ports mentioned above, Port 3 makes up the
fourth 8-bit bidirectional I/O port.
It has internal pull-up resistors like Port 1 and Port 2. On;y Port 0
doesn’t have any internal pull-ups.
It is an input port by default or can be made one by writing 1 to all
pins.
Interestingly, the pins of Port 3 have dual functions. When they are
not being used as input or output ports, they can perform several nifty
applications as shown in the table below. We will take a detailed look
into these alternate functions in succeeding articles.
RST :
This is the pin that will save you when you are confused, don’t know what
the heck is going on or just want to clear register memory to start afresh.
Send a high pulse for at least two machine cycles through this tiny metal
pin, and you will wipe the registers and set all ports to their default
configurations. Nifty.
ALE/
ALE stands for Address Latch Enable. In AT89C51, the lower 8 bits of the 16-bit
address bus are multiplexed with the data bus. To separate these 8 bits, the ALE pin is
kept high. It is an output pin that is used when we are connecting to external extra
memory chips. stands for Program Pulse Input and is used when we
are programming the flash memory of the AT89C51.
VPP
EA stands for external access enable. It is used with pin to access
external memory. When we wish to access the code stored in an external
memory chip, the pin should be connected to GND. If we wish to
access on-chip program memory, then it should be connected to Vcc.
11.0592MHZ CRYSTAL
This is a 3.579MHZ Crystal. This is a low cost crystal oscillator with oscillation
frequency of 11.0592Mhz. Crystal are normally required to provide clock pulses to your
microcontroller or other IC's which require external clock source.
An oscillator crystal has two electrically conductive plates, with a slice or tuning fork of
quartz crystal sandwiched between them. The crystal oscillator circuit sustains
oscillation by taking a voltage signal from the quartz resonator, amplifying it, and
feeding it back to the resonator. Quartz has the further advantage that its elastic
constants and its size change in such a way that the frequency dependence on
temperature can be very low.
Features:
MIT
Page | 18
Autometic Railway Gate Controller
Ceramic Capacitor
A ceramic capacitor is a fixed-valu capacitor in which ceramic
material acts as the dielectric. It is constructed of two or more
alternating layers of ceramic and a metal layer acting as
the electrodes. The composition of the ceramic material defines
the electrical behavior and therefore applications. Ceramic
capacitors are divided into two application classes:
Class 1 ceramic capacitors offer high stability and low losses
for resonant circuit applications.
Class 2 ceramic capacitors offer high volumetric efficiency for
buffer, by-pass, and coupling applications
10KΩ Resistors
IR Sensor
STPPER MOTOR
With the help of this motor driver IC, we can control two motors at a
time with both forward and reverse direction control for individual
motors.
CHAPTER 6
WORKING PRINCIPLE
TRANSMITTER
RECEIVER
WORKING
Practically, the two IR sensors are placed at left and right side of the
railway gate. The distance between the two IR sensors is dependent on
the length of the train. In general we have to consider the longest train in
that route.
Now we’ll see how this circuit actually works in real time. In this image,
we can see the real time representation of this project.
If the sensor 1 detects the arrival of the train, microcontroller starts the motor
with the help of motor driver in order to close the gate.
CHAPTER 7
APPLICATIONS
APPLICATION :-
CHAPTER 8
Limitations
LIMITATIONS
The system can be implemented more efficiently by
incorporating more efficient sensor network.
A combination manual wireless control and sensors
based control can be used for better operation.
CHAPTER 9
BIBLIOGRAPHY
BIBLIOGRAPHY:-
Bibliography (from Greek lite ally Book w iti g ),as a discipli e,
1ST Year
2nd YEAR
3rd SEM
4th SEM
3 YEAR
rd
5 SEM
th
6th SEM
LIST :-
www.google.com
https://en.wikipedia.org/wiki/Atmel_AT89_series
https://en.wikipedia.org/wiki/Crystal_oscillator
https://en.wikipedia.org/wiki/Ceramic_capacitor
https://www.robomart.com/10-microfarad-16-volt-
electrolytic-capacitor
https://learn.sparkfun.com/tutorials/resistors
http://www.keil.com/forum/14142/at89c51-programmer-
circuit/
https://www.electronicshub.org/ir-sensor/
https://www.rakeshmondal.info/L293D-Motor-Driver
https://en.wikipedia.org/wiki/Stepper_motor
https://www.electronicshub.org/automatic-railway-gate-
controller/#Circuit_Operation
CHAPTER 10
FUTURE SCOPE
FUTURE SCOPE
Early level crossings had a flagman in a nearby booth who would, on
the approach of a train, wave a red flag or lantern to stop all traffic
and clear the tracks. Manual or electrical closable gates that
barricaded the roadway were later introduced. The gates were
intended to be a complete barrier against intrusion of any road
traffic onto the railway. In the early days of the railways much road
traffic was horsedrawn or included livestock. It was thus necessary
to provide a real barrier. Thus, crossing gates, when closed to road
traffic, crossed the entire width of the road. When opened to allow
road users to cross the line, the gates were swung across the width
of the railway, preventing any pedestrians or animals getting onto
the line.
FUTURE SCOPE