You are on page 1of 10

SPEED CHECKER TO DETECT RASH DRIVING ON

HIGHWAYS

A Thesis
Submitted in partial fulfillment of the
Requirements for the award of the Degree in

BACHELOR OF TECHNOLOGY
IN
ELECTRICAL AND ELECTRONICS ENGINEERING

by

M.SHIVA KUMAR -13P61A0254


CH. SAHITH KUMAR -13P61A0246
K.SRIKAR REDDY -13P61A0264
G.VAMSHI -14P65A0225

Under the esteemed guidance of


Mr.N.SRINIVASA RAO
Asst.professor

(Department of EEE)

DEPARTMENT OF ELECTRICAL & ELCTRONICS ENGINEERING

VIGNANA BHARATHI INSTITUTE OFTECHNOLOGY


(Accredited by NBA and NAAC, New Delhi)
(Affiliated to JNTU Hyderabad, Approved by AICTE)
Aushapur (v), Ghatkesar (m), R.R Dist, Hyderabad-501301
2013-17

1
VIGNANA BHARATHI INSTITUTE OF TECHNOLOGY
(Accredited by NBA and NAAC, New Delhi)
(Affiliated to JNTU Hyderabad, Approved by AICTE)
Aushapur (v), Ghatkesar (m), R.R Dist, Hyderabad-501301
2013-17

ELECTRICAL AND ELECTRONICS ENGINEERING

CERTIFICATE

Certified that this is a bonafide record of the dissertation work entitled, SPEED CHECKER
TO DETECT RASH DRIVING ON HIGHWAYS, done by M.SHIVA KUMAR
(13P61A0254), CH.SAHITH KUMAR (13P61A0246), K.SRIKAR REDDY (13P61A0264)
& G.VAMSHI (14P65A0225) submitted to the faculty of Electrical Engineering, in partial
fulfillment of the requirements for the Degree of BACHELOR OF TECHNOLOGY with
specialization in ELECTRICAL AND ELECTRONICS ENGINEERING from VBIT,
Aushapur, Hyderabad.

Project Guide Head Of The Department


MR.N.SRINIVASA RAO M.Tech MRS.K.NEELIMA Phd
Asst.Professor HOD
(Dept. of EEE) (Dept. Of EEE)

EXTERNAL EXAMINER

2
ACKNOWLEDGEMENT

On the submission of my thesis entitled Speed checker to detect rash driving on


highways, We would like to extend my gratitude and sincere thanks to our guide Mr. N.
Srinivasa Rao, Assistant Professor, Department of Electrical and Electronics
Engineering for his valuable guidance and suggestions in analyzing and testing throughout
the period, till end of project work successfully.
My special thanks to Mrs.K.Neelima, Head of Department of Electrical and
Electronics Engineering, during the process of project works for his timely suggestions and
help in spite of his busy schedule. We express my sincere thanks to,Dr.G.Amarender Rao
VBIT for their help and encouragement to complete the project work.
We are very thankful to my teachers for providing required background during the
project work. I would also like to extend my gratitude to my friends and those who are
directly or indirectly helped me in completing my project work.

By:
M.SHIVA KUMAR -13P61A0254

CH. SAHITH KUMAR -13P61A0246

K.SRIKAR REDDY -13P61A0264

G.VAMSHI -14P65A0225

3
ABSTRACT

The aim of this project is to develop a device to detect rash driving on highways and to
alert the traffic authorities in case of any speed violation. In the present system, to detect rash
driving the police has to use a hand held radar gun and aim at the vehicle to record its speed.
If the speed of the vehicle exceeds the speed limit, nearest police station is informed to stop
the speeding vehicle. This is an ineffective process as after detecting one has to inform the
same and a lot of time is wasted.

The proposed system will check on rash driving by calculating the speed of a vehicle
using the time taken to travel between the two set points at a fixed distance. A set point
consists of a pair of sensors comprising of an IR transmitter and an IR receiver, each of which
are installed on either side of the road. The time taken by the vehicle to travel from one set
point to the other is calculated by control circuit. Based on that time it calculates the speed
and displays that on LCD display. In this project we are using RFID to know the details of
particular vehicle which crosses the rated speed and that particular data is send to GSM
modem and the traffic authorities will take particular action over that vehicle depending upon
the speed.

4
CONTENTS

Page No.
Certificate ii
Acknowledgement iii
Abstract iv
Contents v
List of figures vii
List of tables viii
Notation ix-X

Chapter 1 Introduction 01

Chapter 2 Speed checker to detect rash driving on highways 02-04


2.1 Introduction 02
2.2 Block diagram 02
2.3 Main circuit diagram 03

Chapter 3 Hardware requirement 05-42


3.1 Hardware Components used in this project are 06
3.2 Brief data of components 06
3.2.1 AT89s52 Microcontroller 06
3.2.2 FEATURES OF AT89s52 08
3.2.3 Description 08
3.2.4 Block diagram 09
3.2.5 Pin description 10
3.3 Radio frequency identify (RFID) 18
3.3.1 Features of RFID 18
3.4 Global System for Mobile Communication (GSM) 19
3.5 IR Sensors 26
3.5.1 Infrared transmitter 26
3.5.2 IR Receiver 34
3.6 Liquid crystal diode 35

5
3.6.1 Features 35
3.7 Power supply 38

Chapter 4: Software requirement 43-57


4.1 KEIL vision 44
4.2 Programing code for this project 54
Chapter 5:Conclusion 58
References 59

6
LIST OF FIGURES

Figure No. Description PageNo.


Figure 2.1: Block Diagram Of Speed Checker To Detect Rash Driving
On Highways 02
Figure 2.2: Circuit Diagram Of Speed Checker To Detect Rash Driving On
Highways 03
Figure 3.1: Pin Diagram Of Microcontroller 07
Figure 3.2: Block Diagram Of Microcontroller 09
Figure 3.3: Circuit Diagram Of Oscillator Connections 13
Figure 3.4: Clock circuit 13
Figure 3.5: Radio Frequency Identification 18
Figure 3.6: IR Transmitter 27
Figure 3.7: Circuit Diagram Of Emitter And Photo Diode 28
Figure 3.8: Circuit Diagram Of A Infrared Reflectance Sensor 28
Figure 3.9: Infrared Emitter Detector Circuit 29
Figure 3.10: Schematic Diagram for a Single Pair of Infrared
Transmitter and Receiver 29
Figure 3.11: Internal Diagram For A Single Pair Of Infrared
Transmitter And Receiver 29
Figure 3.12: Schematic Diagram Of A Single Sensor 30
Figure 3.13: Circuit Of Pnp And Npn Diodes 34
Figure 3.14: Circuit Connections Of LCD Display 37
Figure 3.15: Power Supply Circuit 38
Figure 3.16: Voltage Regulator 40
Figure 3.17: Power Supply Circuit Diagram 41
Figure 3.18: Current In Bridge Rectifier For +Ve Half Cycle 42
Figure 3.19: Current In Bridge Rectifier For -Ve Half Cycle 43
Figure 4.1: Functional Diagram Of KEIL Software 44

LIST OF TABLES
7
Table No. Description Page No.
Table 3.1: 8051 Microcontroller Port 1 Specifications 10

Table 3.2: 8051 Microcontroller Port 3 Specifications 11


Table 3.3:AT89S52 SFR Map And Reset Values 15
Table 3.4: T2CON Timer/Counter 2 Control Register 16
Table 3.5:Auxiliary Register 16
Table 3.6:Auxiliary Register I 17

NOTATIONS
8
RFID Radio Frequency Identification
GSM Global System for Mobile communication
IR Infrared
LCD Liquid Crystal Diode
IDE Integrated Development Environment

IC Integrated Circuit

GDI Graphics Device Interface

DPTR Data Pointer Register

MPL Macro Processing Language

RAM Random Access Memory

ROM Read Only Memory

CMOS Complementary MetalOxideSemiconductor

TTL Transistor Transistor Logic

SIM Subscriber Identity Module

LED Light Emitting Diode

ALE Address Latch Enable

PSEN Program Store Enable

ISDN Integrated Services Digital Network

TDMA Time Division Multiple Access

FDMA Frequency Division Multiple Access

ETSI European Telecommunications Standards Institute

GPRS General Packet Radio Service

PCS Personal Communication Services

GMSK Gaussian Minimum Shift Keying


9
LPC Linear Predictive Coding

FDD Frequency Division Duplexing

WCDMA Wideband Code Division Multiple Access

DCS Data Coding Scheme

MCU Multipoint Contro Unit

10

You might also like