speed checker
TRANSCRIPT
-
7/31/2019 Speed Checker
1/16
-
7/31/2019 Speed Checker
2/16
INTRODUCTION Road accident scenario in the country is a gr
concern.
In the last 6 months 2132 were killed and 12872injured in road accidents.
-
7/31/2019 Speed Checker
3/16
Reasons:- Speed violations
Increase in number of vehicles.
Narrow and congested roads.
Rash and negligent driving.
-
7/31/2019 Speed Checker
4/16
Speed checker come handy for traffic police.
Compact & user friendly
Displays speed also sounds alarm on overspe
-
7/31/2019 Speed Checker
5/16
IR sensors detect presence of vehicle 2 IR sensors are placed at a fixed distance
When Vehicle passes 1st sensor count up timer
When Vehicle passes 2nd
sensor count up timestopped
Distance is already fixed.
-
7/31/2019 Speed Checker
6/16
BLOCK DIAGRAM
IR TRANSMIT2
IR TRANSMI
1IR RECEIVER 1
IR RECEIVER 2
BUZZERPOWER
SUPPLY PIC16F877A
LCD
Vehicle
-
7/31/2019 Speed Checker
7/16
Block diagram consists of:-
Power Supply
Microcontroller
IR transmitter
IR receiverLCD module
Buzzer
-
7/31/2019 Speed Checker
8/16
Power Supply
Includes step down transformer, bridge rectifiregulator and load.
Converts 230V,50 Hz ac to 5V regulated power
-
7/31/2019 Speed Checker
9/16
MicrocontrollerPIC 16f877
Ports used:-PORT B, PORT C, PORT D
Timers:-Timer 1, Timer 2
EEPROM
-
7/31/2019 Speed Checker
10/16
IR Transmitter IR LED is the transmitter Transmits 38KHz IR rays.
IR Receiver TSOP 1738 Receives 38 KHz IR rays. Output is low when IR rays are received and is high wh
an iterruption.
-
7/31/2019 Speed Checker
11/16
LCD Moduleo Displays speed
o HD44780
o 16 x 2 line display
o PORT D is used for controlling LCD
o DB4-DB7 data lines
-
7/31/2019 Speed Checker
12/16
Buzzer Indicates over speed
Piezoelectric buzzer
Made from two conductors separated by piezcrystals.
-
7/31/2019 Speed Checker
13/16
Circuit Diagram
-
7/31/2019 Speed Checker
14/16
Flow ChartSTART
Initialize PIC and LCD
SET overflow=0
Display SPEED CHECKER
Ifsensor 1=1
-
7/31/2019 Speed Checker
15/16
CALL interruptsubroutine
If
sensor2=1
count1=TMR1HTime=Overflow*0.262;
Time=Time+(count1*0.001);
Speed=(1/Time) * 3.6;
Ifspeed>
75
-
7/31/2019 Speed Checker
16/16