Professional Documents
Culture Documents
Submitted
By
ABSTRACT
The system basically comprises two laser IR sensor
pairs, which are installed oppositely on the highway.
This sensed speed is fed to the Microcontroller which
displays the time taken by the vehicle in crossing the
required distance from one pair to the other from and
also the speed of the vehicle.
In case the vehicle speed crosses the limits a buzzer
gives beeps to indicate that the vehicle has crossed
the speed limit. A relay is also activated when any
vehicle crosses the speed limit.
BLOCK DIAGRAM
HARDWARE REQUIREMENTS
TRANSFORMER (230 – 12 V AC)
VOLTAGE REGULATOR (LM 7805)
RECTIFIER
FILTER
MICROCONTROLLER (AT89S52/AT89C51)
IR LEDs
PHOTODIODES
LCD
PIEZO-BUZZER
RELAY
BC547
LED
1N4007
RESISTORS
CAPACITORS
POWER SUPPLY
230 V AC 12V step down
50 Hz Bridge rectifier Filter(470µf) 5v Regulator
transformer
5V DC
DESCRIPTION OF POWER SUPPLY
The circuit uses standard power supply comprising of a
step-down transformer from 230v to 12v and 4 diodes
forming a Bridge Rectifier that delivers pulsating dc
which is then filtered by an electrolytic capacitor of about
470microf to 100microF.
The filtered dc being un regulated IC LM7805 is used to
get 5v constant at its pin no 3 irrespective of input dc
varying from 9v to 14v.
The regulated 5volts dc is further filtered by a small
electrolytic capacitor of 10 micro f for any noise so
generated by the circuit.
One LED is connected of this 5v point in series with a
resistor of 330ohms to the ground i.e. negative voltage
to indicate 5v power supply availability.
MICROCONTROLLER
It is a smaller computer
Has on-chip RAM, ROM, I/O ports...
CPU
Bus Serial
4 I/O Ports Port
OSC Control
P0 P1 P2 P3 TxD RxD
Address/Data
MICROCONTROLLER(AT89S52)
Compatible with MCS®-51 Products
8K Bytes of In-System Programmable (ISP)
Flash Memory
Endurance: 10,000 Write/Erase Cycles
4.0V to 5.5V Operating Range
Fully Static Operation: 0 Hz to 33 MHz
Three-level Program Memory Lock
256 x 8-bit Internal RAM
32 Programmable I/O Lines
Three 16-bit Timer/Counters
Eight Interrupt Sources
Full Duplex UART Serial Channel
Interrupt Recovery from Power-down Mode
Watchdog Timer
Dual Data Pointer
Fast Programming Time
PIN DIAGRAM OF AT89S52
PHOTO DIODE
A photodiode is a type of photo detector
capable of converting light into either current or
voltage, depending upon the mode of operation.
Photodiodes are similar to regular
semiconductor diodes except that they may be
either exposed (to detect vacuum UV or X-rays)
or packaged with a window or optical fibre
connection to allow light to reach the sensitive
part of the device.
IR LED
An IR LED, also known as IR transmitter, is a
special purpose LED that transmits infrared
rays in the range of 760 nm wavelength.
Such LEDs are usually made of gallium
arsenide or aluminum gallium arsenide. They,
along with IR receivers, are commonly used
as sensors.
The appearance is same as a common LED.
Since the human eye cannot see the infrared
radiations, it is not possible for a person to
identify whether the IR LED is working or not,
unlike a common LED.
To overcome this problem, the camera on a
cell phone can be used. The camera can show
us the IR rays being emanated from the IR
LED in a circuit.
LIQUID CRYSTAL DISPLAY (LCD)
Most common LCDs connected to the microcontrollers are 16x2 and
20x2 displays.
This means 16 characters per line by 2 lines and 20 characters per line
by 2 lines, respectively.
The standard is referred to as HD44780U, which refers to the controller
chip which receives data from an external source (and communicates
directly with the LCD.
LCD BACKGROUND
If an 8-bit data bus is used the LCD will require 11 data lines
(3 control lines plus the 8 lines for the data bus)
The three control lines are referred to as EN, RS, and RW
EN=Enable (used to tell the LCD that you are sending it data)
RS=Register Select (When RS is low (0), data is treated as a command)
(When RS is High(1), data being sent is text data )
R/W=Read/Write (When RW is low (0), the data written to the LCD)
(When RW is High(1), the data reading to the LCD)
LEDs are semiconductor devices are made out of
silicon.When current passes through the LED, it emits photons
as a byproduct. Normal light bulbs produce light by heating a
metal filament until its white hot.
LEDs present many advantages over traditional light sources
including lower energy consumption, longer lifetime, improved
robustness, smaller size and faster switching
RELAY
www.atmel.com
www.beyondlogic.org
www.wikipedia.org
www.howstuffworks.com
www.alldatasheets.com