Documente Academic
Documente Profesional
Documente Cultură
1. ABSTRACT:
Traffic control is a very difficult task for traffic control department,
especially in metro cities. This project is designed to control a camera,
whenever a vehicle breaks the traffic rules. Using IR sensor, the vehicles are
monitored with reference to the traffic light indicators. Whenever a RED light
is ON, the IR LED transmitter and receiver pair also will be ON. If a vehicle
exceeds the control line on the road, after RED light is on, the microcontroller
switches on a camera, and the images are stored in Windows Media Video
file (wmv) format.
The authority can monitor the video images on any computer for issuing eChelan. A buzzer is provided for audio acknowledgment of camera record ON.
Whenever a vehicle exceeds the control line on RED signal, the system
acknowledges it by a short beep sound. This buzzer is driven by a PNP
transistor.
This project is designed with AT89S52 MCU. A 16 X 2 LCD is provided to
display the camera condition. In this project only one camera is interfaced, for
one route out of four routs of a signal point.
This project uses regulated 5V, 500mA power supply. 7805 three terminal
voltage regulator is used for voltage regulation. Bridge type full wave rectifier
is used to rectify the ac out put of secondary of 230/12V step down
transformer.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
2: INTRODUCTION
consist
of pedestrians,
ridden
or
involve queuing
theory, stochastic
processes and
equations
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Rules of the road are the general practices and procedures that road users
are required to follow. These rules usually apply to all road users, though they
are of special importance to motorists and cyclists. These rules govern
interactions between vehicles and with pedestrians. The basic traffic rules are
defined by an international treaty under the authority of the United Nations,
the 1968 Vienna Convention on Road Traffic. Not all countries are signatory to
the convention and, even among signatories, local variations in practice may
be found. There are also unwritten local rules of the road, which are generally
understood by local drivers.
In addition to the rules applicable by default, traffic signs and traffic lights must
be obeyed, and instructions may be given by a police officer, either routinely
(on a busy crossing instead of traffic lights) or as road traffic control around a
construction zone, accident, or other road disruption.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
3. Block Diagram
Automatic Traffic Camera Control for Vehicles Breaking Traffic Rules
Traffic
Light
Control
panel
Transistor
Driver
Circuit
40 KHz
IR TX
Buzzer
IR
RX
8051
Micro controller
ULN Driver
Circuit
IR Rays
Crystal
16X2
LCD
Reset
circuit
Camera
Contrast
Control
RFID
BLOCK
Step
down
T/F
Bridge
Rectifier
Filter
Circuit
Regulator
Power supply to all sections
Fig 3.1
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
capacitors. This electrolytic capacitor has polarities, take care while
connecting the circuit.
KIA 78xx
Series
1 2
VOLTAGE REGULATOR
IC. THIS
REGULATOR
THESE
7805
GIVES
REGULATOR
+5V
ICS
79XX
IC
78XX
OUTPUT AND
7905
GIVES
-5V
FOR
FOR
STABILIZED OUTPUT.
IC NEEDS
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Circuit Description:
A d.c. power supply which maintains the output voltage constant irrespective
of a.c. mains fluctuations or load variations is known as regulated d.c. power
supply. It is also referred as full-wave regulated power supply as it uses four
diodes in bridge fashion with the transformer. This laboratory power supply
offers excellent line and load regulation and output voltages of +5V & +12 V at
output currents up to one amp.
3.1.1 Step-down Transformer: The transformer rating is 230V AC at Primary
and 12-0-12V, 1Ampers across secondary winding. This transformer has a
capability to deliver a current of 1Ampere, which is more than enough to drive
any electronic circuit or varying load. The 12VAC appearing across the
secondary is the RMS value of the waveform and the peak value would be 12
x 1.414 = 16.8 volts. This value limits our choice of rectifier diode as 1N4007,
which is having PIV rating more than 16Volts.
3.1.2 Rectifier Stage: The two diodes D1 & D2 are connected across the
secondary winding of the transformer as a full-wave rectifier. During the
positive half-cycle of secondary voltage, the end A of the secondary winding
becomes positive and end B negative. This makes the diode D1 forward
biased and diode D2 reverse biased. Therefore diode D1 conducts while
diode D2 does not. During the negative half-cycle, end A of the secondary
winding becomes negative and end B positive. Therefore diode D2 conducts
while diode D1 does not. Note that current across the centre tap terminal is in
the same direction for both half-cycles of input a.c. voltage. Therefore,
pulsating d.c. is obtained at point C with respect to Ground.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
D
1
1
230
AC
C
1
C
2
IC
1
78
059
V
C
3
+12V
+5
V
C
4
D
2
1
SUPPLY
X
1
Parts List:
SEMICONDUCTO
RS
IC1
7812 REGULATOR IC
IC2
7805 REGULATOR IC
D1& D2
C1
C2 TO C4
CAPACITORS
MISCELLANEOUS
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
X1
TRANSFORMER
3.1.3 Filter Stage: Here Capacitor C1 is used for filtering purpose and
connected across the rectifier output. It filters the a.c. components present in
the rectified d.c. and gives steady d.c. voltage. As the rectifier voltage
increases, it charges the capacitor and also supplies current to the load.
When capacitor is charged to the peak value of the rectifier voltage, rectifier
voltage starts to decrease. As the next voltage peak immediately recharges
the capacitor, the discharge period is of very small duration. Due to this
continuous charge-discharge-recharge cycle very little ripple is observed in
the filtered output. Moreover, output voltage is higher as it remains
substantially near the peak value of rectifier output voltage. This phenomenon
is also explained in other form as: the shunt capacitor offers a low reactance
path to the a.c. components of current and open circuit to d.c. component.
During positive half cycle the capacitor stores energy in the form of
electrostatic field. During negative half cycle, the filter capacitor releases
stored energy to the load.
3.1.4 Voltage Regulation Stage: Across the point D and Ground there is
rectified and filtered d.c. In the present circuit KIA 7812 three terminal voltage
regulator IC is used to get +12V and KIA 7805 voltage regulator IC is used to
get +5V regulated d.c. output. In the three terminals, pin 1 is input i.e.,
rectified & filtered d.c. is connected to this pin. Pin 2 is common pin and is
grounded. The pin 3 gives the stabilized d.c. output to the load. The circuit
shows two more decoupling capacitors C2 & C3, which provides ground path
to the high frequency noise signals. Across the point E and F with respect to
ground +5V & +12V stabilized or regulated d.c output is measured, which can
be connected to the required circuit.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Voltage Regulators:-
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
10
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Circuit Diagram
COMPLETE CIRCUIT DIAGRAM [MOTHER BOARD]
30 pF 19
12
MHz
XTAL1
4
0
P0.7
AD7
32
AD6
P0.6
AD5
33
AD4
+V
cc 230
AC
P0.5
AD2
34
AD1
+VCC
89S52
30
10
MFD/63V
ALE
17
9
P3.7
RST
T1
16
T0
P3.6
P1.3
P0.1
P2.7
4
38
28
IN
T1
IN 3
PORT
T0
TX
D
RX
D
15
P3.5
14
P3.4
13
P3.3
12
P3.2
11
P0.4
P1.7
35
8
6
P0.2
P1.4
37
5
EA
RD
SWITCH
W
+VC
C
R1
C1
C2
C3
PORT 08 x 2.2
K
P1.6
P0.3
7
36
P1.5
31
20K
RESET
IC1
AD0
29
XTAL2
PSEN
D1 &
D2
D
3
AD3
30 pF 18
X1
VSS
20
Fig 3.2
P2.6
P1.2
P0.0
27
3
39
P2.5
P1.1
26
2
P2.4
P1.0
25
1
P2.3
1
24
PORT 1
A15
A14
A13
A12
A11
A10
A9
A8
PORT 2
P2.2
23
P2.1
22Department
Of
Electronics &P2.0
Communication Engineering,
XYX College
Of Engineering, ABC
21
1
11
P3.1
10
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
P3.0
3.2.1 Features:
8 Bit microcontroller
Watchdog Timer
Power-off Flag
3.2.2 Description:
The AT89S52 is a low-power, high-performance CMOS
8-bit
12
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
reprogrammed
in-system
or
by
conventional
nonvolatile
memory
programmer.
By combining a versatile 8-bit CPU with in-system programmable Flash
on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller which
provides a highly-flexible and cost-effective solution to many embedded
control applications. The AT89S52 provides the following standard features:
8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data
pointers, three 16-bit timer/counters, a six-vector two-level interrupt
architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In
addition, the AT89S52 is designed with static logic for operation down to zero
frequency and supports two software selectable power saving modes.
The Idle Mode stops the CPU while allowing the RAM, timer/counters,
serial port, and interrupt system to continue functioning. The Power-down
mode saves the RAM contents but freezes the oscillator, disabling all other
chip functions until the next interrupt or hardware reset.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
13
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
receives the code bytes during Flash programming and outputs the code
bytes during program verification. External pull-ups are required during
program verification.
Port 1
Port 1 is an 8-bit bidirectional I/O port with internal pull ups. The Port 1
output buffers can sink/source four TTL inputs. When 1s are written to Port 1
pins, they are pulled high by the internal pull ups and can be used as inputs.
As inputs, Port 1 pins that are externally being pulled low will source current
(IIL) because of the internal pull ups. In addition, P1.0 and P1.1 can be
configured to be the timer/counter 2 external count input (P1.0/T2) and the
timer/counter 2 trigger input (P1.1/T2EX), respectively, as shown in the
following table. Port 1 also receives the low-order address bytes during Flash
programming and verification.
Port 2
Port 2 is an 8-bit bidirectional I/O port with internal pull ups. The Port 2
output buffers can sink/source four TTL inputs. When 1s are written to Port 2
pins, they are pulled high by the internal pull ups and can be used as inputs.
As inputs, Port 2 pins that are externally being pulled low will source current
(IIL) because of the internal pull ups. Port 2 emits the high-order address byte
during fetches from external program memory and during accesses to
external data memory that use 16-bit addresses (MOVX @ DPTR). In this
application, Port 2 uses strong internal pull-ups when emitting 1s. During
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
15
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
accesses to external data memories that use 8-bit addresses (MOVX @ RI),
Port 2 emits the contents of the P2 Special Function Register. Port 2 also
receives the high-order address bits and some control signals during Flash
programming and verification.
Port 3
Port 3 is an 8-bit bidirectional I/O port with internal pull ups. The Port 3
output buffers can sink/source four TTL inputs. When 1s are written to Port 3
pins, hey are pulled high by the internal pull ups and can be used as inputs.
As inputs, Port 3 pins that are externally being pulled low will source current
(IIL) because of the pull ups. Port 3 also serves the functions of various
special features of the AT89S52, as shown in the following table. Port 3 also
receives some control signals for Flash programming and verification.
RST
Reset input. A high on this pin for two machine cycles while the
oscillator is running resets the device. This pin drives High for 96 oscillator
periods after the Watchdog times out. The DISRTO bit in SFR AUXR (address
8EH) can be used to disable this feature. In the default state of bit DISRTO,
the RESET HIGH out feature is enabled.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
16
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
ALE/PROG
Address Latch Enable (ALE) is an output pulse for latching the low byte
of the address during accesses to external memory. This pin is also the
program pulse input (PROG) during Flash programming. In normal operation,
ALE is emitted at a constant rate of 1/6 the oscillator frequency and may be
used for external programming or clocking purposes. Note, however, that one
ALE pulse is skipped during each access to external data memory. If desired,
ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the
bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the
pin is weakly pulled high. Setting the ALE-disable bit has no effect if the
microcontroller is in external execution mode.
PSEN
Program Store Enable (PSEN) is the read strobe to external program
memory. When the AT89S52 is executing code from external program
memory, PSEN is activated twice each machine cycle, except that two PSEN
activations are kipped during each access to external data memory.
EA/VPP
External Access Enable. EA must be strapped to GND in order to
enable the device to fetch code from external program memory locations
starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is
programmed, EA will be Internally latched on reset. EA should be strapped to
VCC for internal program executions. This pin also receives the 12-volt
programming enable voltage (VPP) during Flash programming.
XTAL1
Input to the inverting oscillator amplifier and input to the internal clock
operating circuit.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
17
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
XTAL2
Output from the inverting oscillator amplifier.
Oscillator Characteristics
XTAL1 and XTAL2 are the input and output, respectively, of an
inverting amplifier that can be configured for use as an on-chip oscillator, as
shown in Figure 11. Either a quartz crystal or ceramic resonator may be used.
To drive the device from an external clock source, XTAL2 should be left
unconnected while XTAL1 is driven, as shown in Figure 12. There are no
requirements on the duty cycle of the external clock signal, since the input to
the internal clocking circuitry is through a divide-by-two flip-flop, but minimum
and maximum voltage high and low time specifications must be observed.
OSCILLATOR CONNECTIONS
Oscillator Connections
NOTE: C1, C2 = 30 PF 10 PF FOR CRYSTALS
40 PF 10 PF FOR CERAMIC RESONATORS
C2, XTAL2, GND, XTAL1, C1
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
18
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
SIMILARLY
A RELAY MAY BE
OFTEN THESE
AS A SOUND BOARD.The
Annunciate panels
Electronic metronomes
Game shows
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
19
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
3.3 LCD
LCD interfacing with MICROCONTROLLER (89c51)
3.3.1Basics of LCD
DDRAM
Display
Data
RAM
20
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
area in display data RAM (DDRAM) that is not used for display can be used
as general data RAM. So whatever you send on the DDRAM is actually
displayed on the LCD. For LCDs like 1x16, only 16 characters are visible, so
whatever you write after 16 chars is written in DDRAM but is not visible to the
user.
Figures below will show you the DDRAM addresses of 1 Line, 2 Line and 4
Line
LCDs.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
21
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
22
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
23
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
24
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
in to the data register and data is then moved automatically to the DDRAM
and hence is displayed on the LCD.
Data Register is not only used for sending data to DDRAM but also for
CGRAM, the address where you want to send the data, is decided by the
instruction you send to LCD. We will discuss more on LCD instruction set
further in this tutorial.
3.3.2 Pin Discription
The most commonly used LCDs found in the market today are 1 Line, 2 Line
or 4 Line LCDs which have only 1 controller and support at most of 80
characters, whereas LCDs supporting more than 80 characters make use of 2
HD44780 controllers.
Most LCDs with 1 controller has 14 Pins and LCDs with 2 controller has 16
Pins (two pins are extra in both for back-light LED connections). Pin
description is shown in the table below.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
25
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Pin No.
Pin no. 1
Pin no. 2
Pin no. 3
Name
VSS
VCC
VEE
Pin no. 4
RS
Pin no. 5
R/W
EN
D0
D1
D2
D3
D4
D5
D6
D7
module
Enable signal
Data bus line 0 (LSB)
Data bus line 1
Data bus line 2
Data bus line 3
Data bus line 4
Data bus line 5
Data bus line 6
Data bus line 7 (MSB)
Pin no. 6
Pin no. 7
Pin no. 8
Pin no. 9
Pin no. 10
Pin no. 11
Pin no. 12
Pin no. 13
Pin no. 14
Description
Power supply (GND)
Power supply (+5V)
Contrast adjust
0 = Instruction input
1 = Data input
0 = Write to LCD module
26
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
one by one.
Initialization by internal Reset Circuit
An internal reset circuit automatically initializes the HD44780U when the
power is turned on. The following instructions are executed during the
initialization. The busy flag (BF) is kept in the busy state until the initialization
ends (BF = 1). The busy state lasts for 10 ms after VCC rises to 4.5 V.
Display clear
Function set:
DL = 1; 8-bit interface data
N = 0; 1-line display
F = 0; 5 x 8 dot character font
FOR
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
INDUSTRIAL
27
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
APPLICATIONS.
SINCE
0.5NA. THIS
OTHER
FEATURES
INCLUDE SINGLE SUPPLY, LOW VOLTAGE OPERATION WITH AN INPUT COMMON MODE
RANGE FROM GROUND UP TO APPROXIMATELY ONE VOLT BELOW VCC.
THE
OUTPUT
36V
CURRENTS UP TO
15
(APPROX. 100
MV), SINKING
TO GROUND, LEAVING THE SWITCHED NODE UNAFFECTED WHILE IN THE OFF STATE.
FIG 3.4
COMPARATOR
CIRCUITS
FIGURE 1
THE
OUTPUT PULL-UP
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
28
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
LOAD CIRCUITRY IS USED ON THE COMPARATOR OUTPUT .
RESISTORS R1
(VREF)
AND R2
AT ANY VALUE
COMPARATORS
THE
WITH HYSTERICS
SIGNAL,
THE
COMPARATOR MAY BE FORCED TO STAY WITHIN ITS LINEAR REGION BETWEEN THE
OUTPUTS HIGH AND LOW STATES FOR AN UNDESIRABLE LENGTH OF TIME. IF THIS
HAPPENS, IT RUNS THE RISK OF OSCILLATING SINCE IT IS BASICALLY AN
UNCOMPENSATED, HIGH GAIN OP AMP.
TO
FIGURE
BE CHOSEN AS FOLLOWS:
AND
+VCC
THE
IF
FEEDBACK
5 V,
1%
100 R2. TO
OR
50
MV, THEN R1
ASSUME THAT THE INVERTING INPUT GOES ABOVE THE REFERENCE INPUT (VIN
VREF).
THIS
>
SINCE
INPUT TO THE COMPARATOR, IT TOO WILL DRIVE THE OUTPUT TOWARDS GROUND
INSURING THE FASTEST POSSIBLE SWITCHING TIME REGARDLESS OF HOW SLOW
THE INPUT MOVES.
IF
PROCEDURE WILL OCCUR ONLY IN THE OPPOSITE DIRECTION INSURING THAT THE
OUTPUT WILL BE DRIVEN HARD TOWARDS
+VCC.
29
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
General Description
The LM124 series consists of four independent, high gain, internally
frequency
compensated
operational
amplifiers
which
were
designed
4. RFID
4.1RFID BASIC IDEA:
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
30
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
RFID (radiofrequency identification) technology offers the ability to provide
many new services and conveniences in the retail environment. Shoppers can
be guided electronically to find desired products that are tagged with RFID
chips and whose locations are tracked by RFID readers in the store (e.g.,
smart shelves or other reader systems). Smart shopping carts with electronic
displays, in communication with a retail computer system, can display a map
associated with a shopping list downloaded by a shopper to identify a route to
obtain the desired items. The smart cart, also equipped with RFID tags, can
also verify the purchase of the items as they are placed in the cart and, if
desired, communicate with a billing system to automatically bill the shopper
for the purchases.
4.2 INTRODUCTION TO RFID
Radio-frequency identification (RFID) is an automatic identification method,
relying on storing and remotely retrieving data using devices called RFID tags
or transponders. The technology requires some extent of cooperation of an
RFID reader and an RFID tag.
An RFID tag is an object that can be applied to or incorporated into a product,
animal, or person for the purpose of identification and tracking using radio
waves. Some tags can be read from several meters away and beyond the line
of sight of the reader.
An RFID tag is an object that can be applied to or incorporated into a product,
animal, or person for the purpose of identification and tracking using radio
waves. Some tags can be read from several meters away and beyond the line
of sight of the reader.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
31
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
a) An antenna or coil
b) A transceiver (with decoder)
c) A transponder (RF tag)
Electronically programmed with unique information. There are many different
types of RFID systems out in the market. They are categorized according to
there frequency ranges. Some of the most commonly used RFID kits are as
follows:
1) Low-frequency (30 KHz to 500 KHz)
2) Mid-Frequency (900KHz to 1500MHz)
3) High Frequency (2.4GHz to 2.5GHz)
These frequency ranges mostly tell the RF ranges of the tags from low
frequency tag ranging from 3m to 5m, mid-frequency ranging from 5m to 17m
and high frequency ranging from 5ft to 90ft. The cost of the system is based
according to there ranges with low-frequency system ranging from a few
hundred dollars to a high-frequency system ranging somewhere near 5000
dollars.
How RFID Is Changing the Business Environment today
Radio frequency identification (RFID) technology has been in use for several
decades to track and identify goods, assets and even living things. Recently,
however, RFID has generated widespread corporate interest as a means to
improve supply chain performance. Market activity has been exploding since
Wal-Mart's June 2003 announcement that its top 100 suppliers must be RFIDcompliant by January 2005. Mandates from Wal-Mart and the Department of
Defense (DoD) are making many companies scramble to evaluate, select and
implement solutions that will make them compliant with their customers' RFID
requirements and additional retailers and other large supply chain channel
masters are likely to follow suit.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
32
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
4.4 COMPONENTS OF RFID
An antenna or coil
works
even
in
dust/paint/vapor/mud/water/plastic/wood/glass/grease.
6. If recycled, RF tags cost less than bar-coding.
7. RF tags are semi-permanent because they are contact free and
therefore free from failure caused by a malfunctioning reader.
8. RF tags can perform intelligently (like a smart card)
9. RF tags can send or receive a large volume of data.
10. RF tags can store or read data.
11. RF tags can be used in an extremely hostile environment.
12. RF tags can be used in flexible positions of an object.
Data in RF tags cannot be forged or modified, ensuring perfect security.
Making counterfeit RF tags is difficult.
4.5.1 MAX 232
RS 232 CONVERTER (MAX 232N) Serial Port:
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
33
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
This is the device, which is used to convert TTL/RS232 vice versa.
RS-232Protocol
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
34
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
35
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Logic Diagram (Positive Logic)
Operating Characteristics
Vital role of MAX232 is to convert RS232 logic to TTL logic and vice
versa.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
36
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
37
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
ULN 2803:
IC ULN 2803
1
16
15
14
13
12
11
10
VCC
Since the digital outputs of the some circuits cannot sink much current, they
are not capable of driving relays directly. So, high-voltage high-current
Darlington arrays are designed for interfacing low-level logic circuitry and
multiple peripheral power loads. The series ULN2000A/L ICs drive seven
relays with continuous load current ratings to 600mA for each input. At an
appropriate duty cycle depending on ambient temperature and number of
drivers turned ON simultaneously, typical power loads totaling over 260W
[400mA x 7, 95V] can be controlled. Typical loads include relays, solenoids,
stepping motors, magnetic print hammers, multiplexed LED and incandescent
displays, and heaters. These Darlington arrays are furnished in 16-pin dual inDepartment Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
38
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
line plastic packages (suffix A) and 16-lead surface-mountable SOICs (suffix
L). All devices are pinned with outputs opposite inputs to facilitate ease of
circuit board layout.
The input of ULN 2004 is TTL-compatible open-collector outputs. As each of
these outputs can sink a maximum collector current of 500 mA, miniature
PCB relays can be easily driven. No additional free-wheeling clamp diode is
required to be connected across the relay since each of the outputs has inbuilt
free-wheeling diodes. The Series ULN20x4A/L features series input resistors
for operation directly from 6 to 15V CMOS or PMOS logic outputs.
1N4148 signal diode:
Signal diodes are used to process information (electrical signals) in circuits,
so they are only required to pass small currents of up to 100mA.
General purpose signal diodes such as the 1N4148 are made from
silicon and have a forward voltage drop of 0.7V.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
39
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
5. PCB LAYOUT
6.2 Disadvantages
Non-Secure:
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
40
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
7. APPLICATION:
1: Traffic management
2: Vehicle theft identification
3: Reduced human effort
4: Accident identification
5: Identifying the culprit by use of camera.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
41
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
8. CONCLUSION
Every vehicle is assigned a code which is transmitted to the
microcontroller through HT 12E 433 MHz transmitter. On receiving side this
code is decoded by HT 12 D 433 MHz receiver. If the code matches image
and license checking parameters are displayed on the screen at the check
post. This project can be implemented in real time.
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
42
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
REFERENCES
BOOKS
WEBSITES
1. www.epanaroma.com
2. www.nationalsemiconductor. com
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
43
AUTOMATIC
TRAFFIC CAMERA CONTROL FOR VEHICLES BREAKING
TRAFFIC RULES
DATA SHEETS
Department Of
Electronics & Communication Engineering,
XYX College Of Engineering, ABC
44