You are on page 1of 41

Speed Checker for Highway

Project Report

Submitted to
Faculty of Rawal Institute of Engineering & Technology

For the award of degree of


Bachelors of Technology

Supervised by: Submitted by:


Ms. Pooja Sharma Ruchika
Deepika

Department of Electronics & Communication Engineering


Rawal Institute of Engineering & Technology
Faridabad
India
(2020)
SPEED CHECKER FOR HIGHWAYS 2020

Phone(O): 0129-24002400
(M): 07281952625
Email: info@rawalinstitutions.com

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING


FACULTY OF RAWAL INSTITUTE OF ENGINEERING & TECHNOLOGY
JC BOSE UNIVERSITY
FARIDABAD-121005, INDIA

CERTIFICATE

The work included in the project entitled, Speed Checker for


Highway submitted to the Faculty of Rawal Institute of Engineering
&Technology, JC Bose University, Faridabad for the degree of
Bachelors of Technology (Electronics & Communication
Engineering), was carried out by Ruchika & Deepika at the
department of Rawal Institute of Engineering & Technology, JC
Bose University , Faridabad , under my supervision. This is an original
work and has not been submitted in parts or full for any other
degree/diploma at this or any other university/institute. This thesis is
fit to be considered for the award of degree of B.Tech.

............................................... .....................................................
Ms. Shashi Lata Rajput Ms. Pooja Sharma
Head of the Department (ECE) Professor, Department of ECE
Rawal Institute of Engineering & Technology Rawal Institute of Engineering & Technology

Dated: 2nd December, 2020

Department of ECE, RIET, Faridabad Page 2


SPEED CHECKER FOR HIGHWAYS 2020

DECLARATION

The work embodied in the thesis entitled, Speed Checker for


Highway, has been done by us & not submitted elsewhere for the
award of any other degree. All the ideas & references have been duly
acknowledged.

................................................. ..............................................

RUCHIKA DEEPIKA
University roll no.18019008504 University roll no.18019008502
College roll no.18-ECE-4004L College roll no.18-ECE-4002L

Dated: 2nd December, 2020

Department of ECE, RIET, Faridabad Page 3


SPEED CHECKER FOR HIGHWAYS 2020

ACKNOWLEDGEMENTS

First & foremost, We express gratitude to our supervisor, Ms. Pooja


Sharma, Assistant Professor, Department of Electronics &
Communication Engineering, JC Bose University, who has been the
guiding force behind this dissertation. She was instrumental in laying
a technical roadmap that facilitates the entire work. Her wise inputs,
patience & counsel made this work possible.

We would also like to express our gratitude to Head, Ms. Shashi Lata
Rajput, Department ECE, for her support & for providing access to
journals, magazines & internet for collecting information for this
dissertation.

Last but not the least, We would like to express our gratitude to our
family members, for their moral support,

Ruchika(18019008504)

Deepika(18019008502)

Department of ECE, RIET, Faridabad Page 4


SPEED CHECKER FOR HIGHWAYS 2020

TABLE OF CONTENTS

Introduction..………………………………………………………………….…..….6

Abstract....................................................................................7-8

Proposed Model.......................................................................9-10

Construction ………………………………….…………………....……………….11-12

Flow Chart………….……….…………………………………………….............13-14

Circuit Diagram........................................................................15

Circuit Description....................................................................16

Component Required...............................................................17-18

Component Description...........................................................19-37

PCB Layout..............................................................................38-39

Applications,Advantages & Disadvantages............................40

Future Development & Conclusion..........................................41

Department of ECE, RIET, Faridabad Page 5


SPEED CHECKER FOR HIGHWAYS 2020

INTRODUCTION
While driving on highways, motorists should not exceed the
maximum speed limit permitted for their vehicle. However, accidents
keep occurring due to speed violations since the drivers tend to
ignore their speedometers. This speed checker will come handy for
the highway traffic police as it will not only provide a digital display in
accordance with a vehicle’s speed but also sound an alarm if the
vehicle exceeds the permissible speed for the highway.

The system basically comprises two laser transmitter-LDR sensor


pairs, which are installed on the highway 100 meters apart, with the
transmitter and the LDR sensor of each pair on the opposite sides of
the road. The installation of lasers and LDRs is shown in Fig. 1. The
system displays the time taken by the vehicle in crossing this 100m
distance from one pair to the other with a resolution of 0.01 second,
from which the speed of the vehicle can be calculated as follows:

Speed(kmph)=

.
=
( ∗ . )/

OR,

Reading (on display) =

As per the above equation, for a speed of 40 kmph the display will
read 900 (or 9 seconds), and for a speed of 60 kmph the display will
read 600 (or 6 seconds). Note that the LSB of the display equals 0.01
second and each succeeding digit is ten times the preceding digit.
Similarly the other readings (or time) can be calculated.

Department of ECE, RIET, Faridabad Page 6


SPEED CHECKER FOR HIGHWAYS 2020

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.

Accidents due to rash driving on highways are on the rise and people
are losing their lives because of others mistakes.

While driving on highways, drivers should not exceed the maximum


speed limit permitted for their vehicle.

However, accidents keep on occurring due to speed violations as


drivers follow their speedometers and control their speed according
to them, and reduce the speed if they find it to be exceeding and
beyond their control.

A highway speed checker comes handy for the traffic police ,


especially against the speed limit violators because it provides the
digital display as well as buzzing sound or alarm to detect any vehicle
speed if the vehicle exceeds the permitted speed limit.

To overcome this problem, we have implemented a circuit called as a


speed checker for highways. This kit is inexpensive and it is used for
considering the average and high speed of vehicles that move on the
highways or roads.

By taking all these considerations in mind, we have designed a


highway- speed checker circuit to detect the rash driving by using
different electronic components such as timer, counter, logic gates,
microcontroller, seven segment display and all other components.
There is one death in every 4 minutes due to road accident in India.

Department of ECE, RIET, Faridabad Page 7


SPEED CHECKER FOR HIGHWAYS 2020

As we know, each and every life is important so to stop this rush


driving control is needed.

In previous years, many people has worked on it or still working to


stop this life taking accident.

This speed checker will come handy for the highway traffic police as
it will not only provide a digital display in accordance with a vehicle’s
speed but also sound an alarm if the vehicle exceeds the permissible
speed for the highway.

The system displays the time taken by the vehicle in crossing this
100m distance from one fixed point to the other in 6 second, from
which the speed of the vehicle can be calculated.

Thus we can also get a idea of the speed of each and every vehicle
that is crossing over that road.

Department of ECE, RIET, Faridabad Page 8


SPEED CHECKER FOR HIGHWAYS 2020

PROPOSED MODEL
In this section, we have designed a highway speed checker circuit to
detect the rash driving using different electronic components such as
timer, counter, logic gates, seven segment display and all other
components. Figure in below shows the typical block diagram of
speed checker to detect rash driving on highways using a Timer
which consists of sensor module, logical module, power supply,
sound detector and display module. Further logical module
comprises timers, NAND gates and decade counters.

BLOCK DIAGRAM

Direction of vehicle moving


st
1 LDR & LASER 2nd LDR & LASER
SET SET

DETECTOR
(TIMER)

7 SEGMENT DISPLAY PIEZOBUZZER

Here we used two Pair of Pointed Laser Light and Light Detecting
Resister (LDR). Which is placed a certain distance in highway. From
pointed Laser light laser continuously fall on LDR . Resistance of the
LDR is inversely proportional to intensity of light. Whenever any
vehicle cross the first pair of LDR and laser light there is an
interruption between LDR and laser light, then resistance will be high
and time count will start at seven segment display.

Department of ECE, RIET, Faridabad Page 9


SPEED CHECKER FOR HIGHWAYS 2020

The 555 has three operating modes:


Monostable mode

In this mode, the 555 functions as a "one - shot" applications include


timers, missing pulse detection, bounce free switches, touch
switches, frequency divider, capacitance measurement, pulse-width
modulation (PWM) etc. Astable - free running mode: the 555 can
operate as an oscillator. Uses include LED and lamp flashers, pulse
generation, logic clocks, tone generation, security alarms, pulse
position modulation, etc. Bistable mode or Schmitt trigger: the 555
can operate as a flip-flop, if the DIS pin is not connected and no
capacitor is used. Uses include bounce free latched switches, etc. The
circuit uses standard power supply comprising of a step-down
transformer from 230v to 12v and four diodes forming a bridge
rectifier that delivers pulsating dc which is then filtered by an
electrolytic capacitor of 1000µf. The filtered dc being unregulated IC
LM7812 is used to get 12v constant output at its pin no 3 irrespective
of input dc varying from 9v to 14v. The input dc shall be varying in
the event of input ac at 230volts section varies in the ratio of
v1/v2=n1/n2. The regulated 12volts dc is further filtered by a small
electrolytic capacitor of 0.1 µf for any noise so generated by the
circuit. P a g e | 10 This is used as the supply for different ICs in the
circuit. A buzzer or beeper is an audio signaling device, which may be
driven by an oscillating electronic circuit or other audio signal source,
driven with a piezoelectric audio amplifier. Sounds commonly used
to indicate that a button has been pressed are a click, a ring or a
beep. Here, piezo-buzzer sounds an alarm if the vehicle crosses the
distance between the IR Diode set-ups at more than the selected
speed. Fig. 3 shows the theory of buzzer so as to emit the sound.
Simultaneously, the time taken by the vehicle to cross both the IR
Diode beams is displayed on the 7-segment display.

Department of ECE, RIET, Faridabad Page 10


SPEED CHECKER FOR HIGHWAYS 2020

Construction

Fig: Installation of lasers and LDRs on highway

The system basically comprises two laser transmitter-LDR sensor


pairs, which are installed on the highway 100 metres apart, with the
transmitter and the LDR sensor of each pair on the opposite sides of
the road. The installation of lasers and LDRs is shown in Figure
above. P a g e | 11 The system displays the time taken by the vehicle
in crossing this 100m distance from one pair to the other with a
resolution of 0.01 second, from which the speed of the vehicle can
be calculated as follows. The main purpose of this system is to
develop a speed checker for highways to alert the traffic authorities
in case of any speed violation. Many passengers and drivers,
including commuters have lost their lives due to rash and rude
driving on highways. In olden days, for detecting rash driving,
highway police used to target vehicles by using radar guns at the
vehicle and would record their speeds. If a vehicle would exceed its
speed, automatically the information would reach to the nearest
police station for controlling the speed of the vehicle. Due to this
system a lot of time would get wasted. Now everything changed by
Speed Checker While driving on highways, motorists should not
exceed the maximum speed limit permitted for their vehicle.

Department of ECE, RIET, Faridabad Page 11


SPEED CHECKER FOR HIGHWAYS 2020

However, accidents keep occurring due to speed violations since the


drivers tend to ignore their speedometers. This speed checker will
come handy for the highway traffic police as it will not only provide a
digital display in accordance with a vehicle’s speed but also sound an
alarm if the vehicle exceeds the permissible speed for the highway.

Department of ECE, RIET, Faridabad Page 12


SPEED CHECKER FOR HIGHWAYS 2020

FLOW CHART
Start

Vehicle cross the


first LDR

Counter 1
starts

Vehicle cross
the second LDR

Counter 1 stops

Calculation of time
between 1st & 2nd
LDR

Measurement
of Speed

If speed is
>60km/hr

Buzzer Rings

Stop

Department of ECE, RIET, Faridabad Page 13


SPEED CHECKER FOR HIGHWAYS 2020

This whole process goes under following steps:

Step 1- Apply the power supply by flipping the switch to ON.

Step 2- Reset the circuit so that display shows ‘0000’.

Step 3- Select the speed limit to 60 kmph.

Step 4- When any vehicle crosses the first IR Diode light, PHOTO
DIODE1 will trigger IC1 hence LED 1 glow during for period.

Step 5- When the vehicle crosses the second IR Diode light, the
output of IC2 goes high and LED2 glows for this period.

Step 6- If the vehicle crosses the distance between the IR Diode


setups at more than 60 kmph, the piezo-buzzer sounds an alarm.

Step 7- The counter starts counting when the first IR Diode beam is
intercepted and stops when the second IR Diode beam is
intercepted.

Step 8- The time taken by the vehicle to cross both the IR Diode
beams is displayed on the 7-segment display.

Department of ECE, RIET, Faridabad Page 14


SPEED CHECKER FOR HIGHWAYS 2020

CIRCUIT DIAGRAM

Fig: Circuit of speed checker for highway

Figure above shows the circuit of the speed checker. It has been
designed assuming that the maximum permissible speed for
highways is either 40kmph or 60kmph as per the traffic rule.

The circuit is built around five NE555 timer ICs (IC1 through IC5), four
CD4026 counter ICs (IC6 through IC9) and four 7-segment displays
(DIS1 through DIS4). IC1 through IC3 function as monostables , with
IC1 serving as count-start mono, IC2 as count-stop mono and IC3 as
speed-limit detector mono, controlled by IC1 and IC2 outputs.
Bistable set-reset IC4 is also controlled by the outputs of IC1 and IC2
and it (IC4), in turn, controls switching on/off of the 100Hz (period =
0.01 second) astable timer IC5.

Department of ECE, RIET, Faridabad Page 15


SPEED CHECKER FOR HIGHWAYS 2020

CIRCUIT DESCRIPTION
The circuit is built around five NE555 timer ICs (IC1 through IC5), four
CD4026 counter ICs (IC6 through IC9) and four 7-segment displays
(DIS1 through DIS4). IC1 through IC3 function as monostables, with
IC1 serving as count-start mono, IC2 as count-stop mono and IC3 as
speed-limit detector mono, controlled by IC1 and IC2 outputs.
Bistable set-reset IC4 is also controlled by the outputs of IC1 and IC2
and it (IC4), in turn, controls switching on/off of the 100Hz (period =
0.01 second) astable timer IC5.

The system mainly consists of two laser transmitter – LDR sensor


pairs which are installed on the highway 100m apart such that the
transmitter and LDR sensor of each pair on the opposite sides of the
road. This kind of arrangement is shown in the figure above. When
any vehicle crosses the first laser beam LDR1 goes high for the time
to set cross 100m with the selected speed (60kmph) & LED1 glows
during this period. When the vehicle crosses the second laser light
beam, the output of IC2 goes high & LED2 glows for this period.
Piezobuzzer sounds an alarm if the vehicle crosses the distance
between the laser setups at more than selected speed (lesser period
than preset period). The counter starts counting when the first laser
beam is intercepted & stops when the second laser beam is
intercepted. The time taken by the vehicle to cross both the laser
beams is displayed on the 7-segment display.

Department of ECE, RIET, Faridabad Page 16


SPEED CHECKER FOR HIGHWAYS 2020

COMPONENTS REQUIRED
SEMICONDUCTORS
IC1 – IC5 - NE555 Timer

IC6 –IC9 - CD4026 Decade Counter/ 7-Segment Display

IC10 - CD4011 NAND Gate

D1, D2 - 1N4148 Switching Diode

LED1 - Green LED

LED2, LED3 - Red LED

DIS1 – DIS4 - LTS543 common-cathode, 7-Segment Display

RESISTORS (all ¼ watt, ± 5% carbon)


R1, R4 - 100KΩ

R2, R5, R6

R8, R10

R3, R7, R13 - 10K

R11, R14

R 16, R17 - 470Ω

R9 - 470KΩ

R12, R15 - 1KΩ

VR1 - 100KΩ

VR2 - 20KΩ

Department of ECE, RIET, Faridabad Page 17


SPEED CHECKER FOR HIGHWAYS 2020

CAPACITORS
C1 - 100µF, 25V electrolytic

C2, C4, C6,

C8, C11 - 0.01µF ceramic disk

C3, C13, C15 - 0.1µF, ceramic disk

C5 - 10µF, 25V electrolytic

C7 - 0.47µF, 25V electrolytic

C9 - 0.2µF ceramic disk

C10 - 1µF, 25V electrolytic

C12 - 47µF, 25V electrolytic

MISCELLANEOUS
X1 - 230V AC primary to 0 – 15V, 500mA Secondary

transformer

PZ1 - Piezo-buzzer

LDR1, LDR2 - LDR

S1 , S2 - Push - to - On Switch

S3 - On/Off switch

Department of ECE, RIET, Faridabad Page 18


SPEED CHECKER FOR HIGHWAYS 2020

COMPONENT DESCRIPTION
NE 555 TIMER

Fig: NE555 Timer

 Introduction :
The 555 timer IC was introduced in the year 1970 by Signetic
Corporation and gave the name SE/NE 555 timer. It is basically a
monolithic timing circuit that produces accurate and highly stable
time delays or oscillation. When compared to the applications of
an op-amp in the same areas, the 555IC is also equally reliable and
is cheap in cost. Apart from its applications as a monostable
multivibrator and astable multivibrator, a 555 timer can also be
used in dc-dc converters, digital logic probes, waveform
generators, analog frequency meters and tachometers,
temperature measurement and control devices, voltage regulators
etc. The timer IC is setup to work in either of the two modes –
one-shot or monostable or as a free running or astable
Department of ECE, RIET, Faridabad Page 19
SPEED CHECKER FOR HIGHWAYS 2020

multivibrator. The SE 555 can be used for temperature ranges


between 55°C to 125°. The NE 555 can be used for a temperature
range between 0° to 70°C.

 Features of the 555 timer :


 It operates from a wide range of power supplies ranging from + 5
Volts to + 18 Volts supply voltage.
 Sinking or sourcing 200 mA of load current.
 The external components should be selected properly so that the
timing intervals can be made into several minutes along with the
frequencies exceeding several hundred kilo hertz.
 The output of a 555 timer can drive a transistor-transistor logic
(TTL) due to its high current output.
 It has a temperature stability of 50 parts per million (ppm) per
degree Celsius change in temperature, or equivalently 0.005 %/
°C.
 The duty cycle of the timer is adjustable.
 The maximum power dissipation per package is 600 mW and its
trigger and reset inputs have logic compatibility. More features
are listed in the datasheet.

 IC PIN Configuration :

Fig: IC 555 PIN Configuration

The 555 Timer IC is available as an 8-pin metal can, an 8-pin mini DIP (dual-in-
package) or a 14-pin DIP. The pin configuration is shown in the figures. This IC
consists of 23 transistors, 2 diodes and 16 resistors. The use of each pin in the

Department of ECE, RIET, Faridabad Page 20


SPEED CHECKER FOR HIGHWAYS 2020

IC is explained below. The pin numbers used below refers to the 8-pin DIP and
8-pin metal can packages.

Pin 1: Grounded Terminal: All the voltages are measured with respect to the
Ground terminal.

Pin 2: Trigger Terminal: The trigger pin is used to feed the trigger input hen the
555 IC is set up as a monostable multivibrator. This pin is an inverting input of a
comparator and is responsible for the transition of flip-flop from set to reset.
The output of the timer depends on the amplitude of the external trigger pulse
applied to this pin. A negative pulse with a dc level greater than Vcc/3 is
applied to this terminal. In the negative edge, as the trigger passes through
Vcc/3, the output of the lower comparator becomes high and the
complimentary of Q becomes zero. Thus the 555 IC output gets a high voltage,
and thus a quasi stable state.

Pin 3: Output Terminal: Output of the timer is available at this pin. There are
two ways in which a load can be connected to the output terminal. One way is
to connect between output pin (pin 3) and ground pin (pin 1) or between pin 3
and supply pin (pin 8). The load connected between output and ground supply
pin is called the normally on load and that connected between output and
ground pin is called the normally off load.

Pin 4: Reset Terminal: Whenever the timer IC is to be reset or disabled, a


negative pulse is applied to pin 4, and thus is named as reset terminal. The
output is reset irrespective of the input condition. When this pin is not to be
used for reset purpose, it should be connected to + VCC to avoid any possibility
of false triggering.

Pin 5: Control Voltage Terminal: The threshold and trigger levels are
controlled using this pin. The pulse width of the output waveform is
determined by connecting a POT or bringing in an external voltage to this pin.
The external voltage applied to this pin can also be used to modulate the
output waveform. Thus, the amount of voltage applied in this terminal will
decide when the comparator is to be switched, and thus changes the pulse
width of the output. When this pin is not used, it should be bypassed to ground
through a 0.01 micro Farad to avoid any noise problem.

Department of ECE, RIET, Faridabad Page 21


SPEED CHECKER FOR HIGHWAYS 2020

Pin 6: Threshold Terminal: This is the non-inverting input terminal of


comparator 1, which compares the voltage applied to the terminal with a
reference voltage of 2/3 VCC. The amplitude of voltage applied to this terminal
is responsible for the set state of flip-flop. When the voltage applied in this
terminal is greater than 2/3Vcc, the upper comparator switches to +Vsat and
the output gets reset.

Pin 7: Discharge Terminal: This pin is connected internally to the collector of


transistor and mostly a capacitor is connected between this terminal and
ground. It is called discharge terminal because when transistor saturates,
capacitor discharges through the transistor. When the transistor is cut-off, the
capacitor charges at a rate determined by the external resistor and capacitor.

Pin 8: Supply Terminal: A supply voltage of + 5 V to + 18 V is applied to this


terminal with respect to ground (pin 1).

The Mono-stable 555 Timer:

Monostable Multivibrator is also known as One Short Multivibrator. As its


name indicates it has one stable state and it switches to unstable state for a
predetermined time period T when it is triggered. The time period T is
determined by the RC time constant in the circuit. Monostable mode of 555
Timer is commonly used for generating Pulse Width Modulated (PWM) waves.
The 8th pin and 1st pin of the 555 timer are used to given power Vcc and
Ground respectively. 4th pin is the Reset pin of 555 Timer, which is active low
so it is connected to Vcc to avoid accidental resets. 5th pin is the Control
Voltage pin used to provide external reference voltage to internal
comparators. Since it is not used here, it is grounded via a capacitor C’
(0.01µF) to avoid high frequency noises. When a negative trigger is applied on
the Trigger input of 555, output goes high and capacitor starts charging
through resistor R. When the capacitor voltage becomes greater than 2/3 Vcc,
output goes low and capacitor starts discharging through the Discharge pin of
555 Timer.

Department of ECE, RIET, Faridabad Page 22


SPEED CHECKER FOR HIGHWAYS 2020

The Bi-stable
stable 555 Timer :

When an astable multivibrator has no stable states and a monostable


multivibrator has a single stable state, a device with two absolute stable states
is possible. A Bistable multivibrator is a type of circuit which has two stable
states (high and low). It stays in the same state until and unless an external
externa
trigger input is applied. Generally, a bistable multivibrator stays low until a
trigger signal is applied and it stays high until a reset signal is applied. Bistable
multi vibrators are also called as flip
flip-flops or latches. The term flip-flop
flop is used
because
ause it ‘flips’ to one state and stays there until a trigger is applied and once
the trigger is applied it ‘flops’ back to the original state.

 Working principle of 555 Timer :

Fig: 555 Timer

The internal resistors act as a voltage divider network, providing


providing (2/3) Vcc at
the non-inverting
inverting terminal of the upper comparator and (1/3)Vcc at the
inverting terminal of the lower comparator. In most applications, the control
input is not used, so that the control voltage equals +(2/3) VCC. Upper
comparator has a threshold input (pin 6) and a control input (pin 5). Output of
the upper comparator is applied to set (S) input of the flip
flip-flop.
flop. Whenever the
threshold voltage exceeds the control voltage, the upper comparator will set
the flip-flop
flop and its output is high.
h A high output from the flip-flop
flop when given

Department of ECE, RIET, Faridabad Page 23


SPEED CHECKER FOR HIGHWAYS 2020

to the base of the discharge transistor saturates it and thus discharges the
transistor that is connected externally to the discharge pin 7. The
complementary signal out of the flip-flop goes to pin 3, the output .

The output available at pin 3 is low. These conditions will prevail until lower
comparator triggers the flip-flop. Even if the voltage at the threshold input falls
below (2/3) VCC, that is upper comparator cannot cause the flip-flop to change
again. It means that the upper comparator can only force the flip-flop’s output
high.

To change the output of flip-flop to low, the voltage at the trigger input must
fall below + (1/3) Vcc. When this occurs, lower comparator triggers the flip-
flop, forcing its output low. The low output from the flip-flop turns the
discharge transistor off and forces the power amplifier to output a high. These
conditions will continue independent of the voltage on the trigger input. Lower
comparator can only cause the flip-flop to output low.

From the above discussion it is concluded that for the having low output from
the timer 555, the voltage on the threshold input must exceed the control
voltage or + (2/3) VCC. This also turns the discharge transistor on. To force the
output from the timer high, the voltage on the trigger input must drop below
+(1/3) VCC. This turns the discharge transistor off.

A voltage may be applied to the control input to change the levels at which the
switching occurs. When not in use, a 0.01 nano Farad capacitor should be
connected between pin 5 and ground to prevent noise coupled onto this pin
from causing false triggering.

Connecting the reset (pin 4) to a logic low will place a high on the output of
flip-flop. The discharge transistor will go on and the power amplifier will output
a low. This condition will continue until reset is taken high. This allows
synchronization or resetting of the circuit’s operation. When not in use, reset
should be tied to +VCC.

Department of ECE, RIET, Faridabad Page 24


SPEED CHECKER FOR HIGHWAYS 2020

IC - CD4026

Fig: IC-CD4026

 Introduction :
CD4026 is a Johnson counter IC commonly used in digital display. It has a 5
stage Johnson decade counter with a decoder which converts the Johnson
code to a 7 segment decoded output. To put it simply, it will convert the
input into numeric display and can be seen on 7 segment display or with
LED. It can be used for displaying analogue value such as temperature with
pic microcontroller or for counting objects. There are various other
applications like in 7- segment decimal display circuit, in clocks, timer etc.

 Features of IC CD4026 :
 Counter for 7-Segment display
 Can drive a common cathode 7-Segment display directly
 Easy to interface with timer or micron rollers (TTL compatible)
 Can be easily cascaded with more IC to display higher range of
number
 Maximum Clock Frequency: 6Mhz
 Available in 16-pin PDIP, GDIP, PDSO packages
Department of ECE, RIET, Faridabad Page 25
SPEED CHECKER FOR HIGHWAYS 2020

 IC PIN Configuration :

Fig: IC CD4026 PIN CONFIGURATION

Pin Number Pin Name Description

1 Clock (CLK) The counting happens when this clock


pulse goes high , this pin is normally
connected to 555 timer or other uC to
produce a pulse

2 Clock Inhibit Connected to the Ground (low) of the


(INH) circuit, to enable clock pin

3 Enable Input This pin is connect to +5V (high) to


(DEI) enable the output pins (Out A to Out G)

4 Enable Output This is an output which always stays


(DEO) high, this pin will be only if more than
one CD4026 IC is used (cascaded)

5 Divide by 10 This is the carry over output pin; it


(CO) produces a pulse after counting till 9.

Department of ECE, RIET, Faridabad Page 26


SPEED CHECKER FOR HIGHWAYS 2020

This pin will be only if more than one


CD4026 IC is used (cascaded)

6,7,9,10,11,12,13 Out A,B,C,D,E, These are the decoded output pins


F,G which should connected to 7-Segment
display.

8 Ground The ground pin should be connected to


ground of circuit

14 Not 2 out (UCS) This is Ungated C segment pin. This is an


output pin which will be rarely used
when division is required.

15 Reset This input pin when made high (+5V) will


reset the count to 0.

16 Vcc This pin powers the IC, typically +5V is


used.

 Working Principle of IC CD4026 :

Fig: IC CD4026

The IC can work from 3V to 15V, but normally powered with +5V to the
Vdd/Vcc pin and the Ground/Vss pin is connected to ground. We have 7 output
pins naming from Out A to Out G which is directly connected to the 7-segment
display. The clock inhibit pin (pin 2) has to be held low (ground/0V) so that the
clock signals can be sent to the IC also the Enable Input pin (pin 3) should be
made high (+5V) so that the output pins (Out A to G) can be made active.
The 7-segment pins will increment the count by one number each time when
the clock pin (pin 1) is made high. This clock source can either be obtained

Department of ECE, RIET, Faridabad Page 27


SPEED CHECKER FOR HIGHWAYS 2020

from a 555 IC or any other digital IC which is TTL compatible. They simply have
to generate a pulse of low voltage 0V and high voltage 5V. In the circuit below I
have used a clock source of 1Hz to increment the count. So the number will get
incremented for every (T=1/F) 1 second.
The Reset pin (pin 15) is used to reset the count back to zero when made high.
There are three other output pins (pin 5, 4, 14) which will be used only when
the IC needs to be cascaded. The pin Carry over (CO – pin 5) will stay high by
default, but when the count reaches “9” it will give a small pulse and count will
continue from “0” again. This small pulse can be used to drive the clock pin of
a cascaded IC to display more than one digit. The Direct Enable output (DEO)
pin will always stay high, to enable any cascaded IC, if available. The Ungated C
segment pin (pin 14) is used for any division operation; this pin will stay high by
default and will go low when the count reaches “2”.

IC CD4011

Fig: IC CD4011

 Introduction :
CD4011 is the most commonly used complementary metal oxide
Semiconductor (CMOS) chip. The IC comprises of 14 pins with four
independent NAND gates (N1,N2,N3,N3) in a single chip. Each NAND gate
has two inputs and one output. The working of cd4011 IC requires 5V to
16V to operate. Each output can deliver output current of about 10mA at
12V but this range can reduce as the power supply voltage reduces. The
Department of ECE, RIET, Faridabad Page 28
SPEED CHECKER FOR HIGHWAYS 2020

positive terminal of the battery was connected to the pin 14 and negative
terminal of the battery was connected to the pin7 .The output pins of the IC
are 3,4,10,11 and input pins are 1,2,5,6,9,8,12,13.Now let us see how this
Integrated circuit works and how can we use it for our operations.

 Features of IC CD4011 :

 Dual Input NAND Gate – Quad Package


 Typical Operating Voltage: 5V
 High-Level Output Current:- 1.5 mA
 Low-Level Output Current: 1.5mA
 Propagation Delay Time:60 ns
 Operating Temperature Range:- 55 C to + 125 C
 Available in 14-pin PDIP, GDIP, PDSO packages

 IC PIN Configuration :

Fig: IC CD4011

Department of ECE, RIET, Faridabad Page 29


SPEED CHECKER FOR HIGHWAYS 2020

Pin Number Pin Name Description

1,2,5,6,8,9,12,13 NAND Gate Input First Input pin for the NAND gate
pins

3,4,10,11 NAND Gate Output Output pin for the NAND gate
pins

7 Ground Connect to the ground of the circuit.

14 Vcc (Vdd) Used to power the IC. Typically +5V is


used

 Working principle of IC CD4011 :

Fig: IC CD4011

The operation of this IC was very simple to understand if we understand the


operations of NAND gates. As you can see in the above diagram the NAND
gates N1….N4 was wired independently and there is no dependency on other
gates. So the operation of the IC was completely based on the NAND gate
property. We can see the state of the output pins with the assigned inputs in
the truth table given above. There we can see that the NAND gate gives a high
output to all the input states except the input states 1,1.The combined action

Department of ECE, RIET, Faridabad Page 30


SPEED CHECKER FOR HIGHWAYS 2020

of the these four gates form the working of this IC CD4011. You may have a
question that why cant we use single NAND gates instead of this IC since it has
the same function as NAND gate. Let me tell you why, usage of large range of
the NAND gates occupies more space and also it withdraws more power arising
problems in power management to a circuit. This IC was used since it
withdraws only small power and also reduces the complexity of the circuit.

7 – SEGMENT DISPLAY

Fig: 7- Segment Display

 Introduction :
A seven-segment display (SSD), or seven-segment indicator, is a form of
electronic display device for displaying decimal numerals that is an alternative
to the more complex dot-matrix displays. Seven-segment displays are widely
used in digital clocks, electronic meters, and other electronic devices for
displaying numerical information. A seven segment display, as its name
indicates, is composed of seven elements. Individually on or off, they can be
combined to produce simplified representations of the Arabic numerals. The
seven segments are arranged as a rectangle of two vertical segments on each
side with one horizontal segment on the top, middle, and bottom. Additionally,
the seventh segment bisects the rectangle horizontally. There are also

Department of ECE, RIET, Faridabad Page 31


SPEED CHECKER FOR HIGHWAYS 2020

fourteen-segment displays and sixteen-segment displays (for full


alphanumeric).

 Features of 7 Segment Display :

 Available in two modes Common Cathode (CC) and Common Anode


(CA)
 Available in many different sizes like
9.14mm,14.20mm,20.40mm,38.10mm,57.0mm and 100mm
(Commonly used/available size is 14.20mm)
 Available colours : White, Blue, Red, Yellow and Green (Res is
commonly used)
 Low current operation
 Better, brighter and larger display than conventional LCD displays.
 Current consumption : 30mA / segment
 Peak current : 70mA

 7 Segment Display Pin Configuration :

Fig: 7 Segment Display

Department of ECE, RIET, Faridabad Page 32


SPEED CHECKER FOR HIGHWAYS 2020

Pin Number Pin Name Description

1 e Controls the left bottom LED of the 7-segment


display

2 d Controls the bottom most LED of the 7-segment


display

3 Com Connected to Ground/Vcc based on type of


display

4 c Controls the right bottom LED of the 7-segment


display

5 DP Controls the decimal point LED of the 7-


segment display

6 b Controls the top right LED of the 7-segment


display

7 a Controls the top most LED of the 7-segment


display

8 Com Connected to Ground/Vcc based on type of


display

9 f Controls the top left LED of the 7-segment


display

10 g Controls the middle LED of the 7-segment


display

Department of ECE, RIET, Faridabad Page 33


SPEED CHECKER FOR HIGHWAYS 2020

 Working Principle of 7 Segment Display :

Fig: 7 Segment Display

The circuit is pretty straight forward connect the common cathode's to gnd
with a 330 ohm current limiting resistor. Connect the seven segment displays
pin number 7(A) to arduino pin2 , 6(B) to arduino pin3 , 4 (C) to arduino pin 4 ,
2 (D) to arduino pin5 , 1 (E) to arduino pin6 , 9 (F) to arduino pin7 , 10 (G) to
arduino pin8 , 5 (DP) to arduino pin9.For the 2nd project first make the
multiplexing circuit below and then follow these connections pattern. Segment
A to pin 7, Segment B to pin 8, Segment C to pin 4, Segment D to pin 3,
Segment E to pin 2, Segment F to pin 6, Segment G to pin 5, Gnd1 via resistor
to pin 11, Gnd2 via resistor to pin 9.

One important advantage of a 7-segment display is that, it is very easy to use.


Unlike other display modules a 7-segment display can be made to work even
without a Microcontroller or a Microprocessor.
This is possible because of the readily available 7-segment counter IC’s like IC
CD4026. This IC can be used in combination with the display for projects which
have very simple circuits. The IC can drive one 7-segment display module and
the number that is being displayed can also be incremented or decremented.
But, most commonly a seven segment display is used along with a MCU/MPU
in that case, the eight segment pins will be connected to the I/O pins of the
Microcontroller and the com pin will be connected to the ground of Vcc
depending upon its type (CC/CA). Then these IO pins can be toggled in a
particular sequence to display the desired numbers. This particular sequence is

Department of ECE, RIET, Faridabad Page 34


SPEED CHECKER FOR HIGHWAYS 2020

explained through the table below. For displaying each number in the seven
segment display its respective sequence is given in the table. If we want to
display the number “0”, then we need to glow all the LEDs except LED which
belongs to line “g” (see 7 segment pin diagram above, so we need a bit pattern
11000000. Similarly to display “1”we need to glow LEDs associated with b and
c, so the bit pattern for this would be 11111001.

Digit to hgfedcba Hex code


Display

0 11000000 C0

1 11111001 F9

2 10100100 A4

3 10110000 B0

4 10011001 99

5 10010010 92

6 10000010 82

7 11111000 F8

8 10000000 80

9 10010000 90

Note: The table is applicable only for Common Anode type display, if it is a
common Cathode type then simply replace the ‘1’s with ‘0’s and ‘0’s with ‘1’s.

Department of ECE, RIET, Faridabad Page 35


SPEED CHECKER FOR HIGHWAYS 2020

BUZZER

Fig: Piezo-electric Buzzer

 Introduction :

The piezo buzzer produces sound based on reverse of the piezoelectric effect.
The generation of pressure variation or strain by the application of electric
potential across a piezoelectric material is the underlying principle. These
buzzers can be used alert a user of an event corresponding to a switching
action, counter signal or sensor input. They are also used in alarm circuits.

The buzzer produces a same noisy sound irrespective of the voltage variation
applied to it. It consists of piezo crystals between two conductors. When a
potential is applied across these crystals, they push on one conductor and pull
on the other. This, push and pull action, results in a sound wave. Most buzzers
produce sound in the range of 2 to 4 kHz.
The Red lead is connected to the Input and the Black lead is connected to
Ground.

Department of ECE, RIET, Faridabad Page 36


SPEED CHECKER FOR HIGHWAYS 2020

 Features of Piezo-electric Buzzer :


 Wide operating voltage: 3~250 V
 Lower current consumption: less than 30 mA higher rated
frequency
 Larger footprint
 Higher sound pressure level

 Working principle of Piezo-electric Buzzer :

A piezo buzzer is a sound producing device.

The main working principle is based on the theory that, whenever an electric
potential is applied across a piezoelectric material, a pressure variation is
generated. A piezo buzzer consists of piezo crystals in between two
conductors.

When a potential difference is applied across these crystals, they push one
conductor and pull the other conductor by their internal property. The
continuous pull and push action generates a sharp sound wave.

Piezo buzzers generates a loud & sharp sound. So,they are typically used as a
alarm circuits. Also they are used to make an alert of an event, signal or sensor
input. A special characteristics of piezo buzzer is,the sound pitch or level is not
depended on the voltage level that is, it works only in a specific voltage range.

The piezo buzzer produces sound based on reverse of the piezoelectric effect.
The generation of pressure variation or strain by the application of electric
potential across a piezoelectric material is the underlying principle. These
buzzers can be used alert a user of an event corresponding to a switching
action, counter signal or sensor input. They are also used in alarm circuits.

The buzzer produces a same noisy sound irrespective of the voltage variation
applied to it. It consists of piezo crystals between two conductors. When a
potential is applied across these crystals, they push on one conductor and pull
on the other. This, push and pull action, results in a sound wave. Most buzzers
produce sound in the range of 2 to 4 kHz.

Department of ECE, RIET, Faridabad Page 37


SPEED CHECKER FOR HIGHWAYS 2020

PCB Layout of Speed Checker for Highways


An actual-size, single-side PCB layout for the speed checker and its component
layout is shown below.

Fig: Actual-size, single-side PCB layout for the speed checker

Fig: Component layout for the PCB

Before operation , using a multimeter check whether the power supply output
is correct. If yes, apply power supply to the circuit by flipping switch S3 to ‘on.’
In the circuit, use long wires for connecting the two LDRs, so that you can take
them out of the PCB and install on one side of the highway, 100 metres apart.
Install the two laser transmitters (such as laser torches) on the other side of
the highway exactly opposite to the LDRs such that laser light falls directly on
the LDRs. Reset the circuit by pressing switch S2, so the display shows ‘0000.’
Using switch S1, select the speed limit (say, 60 kmph) for the highway. When

Department of ECE, RIET, Faridabad Page 38


SPEED CHECKER FOR HIGHWAYS 2020

any vehicle crosses the first laser light, LDR1 will trigger IC1. The output of IC1
goes high for the time set to cross 100 metres with the selected speed (60
kmph) and LED1 glows during for period. When the vehicle crosses the second
laser light, the output of IC2 goes high and LED2 glows for this period.

Piezobuzzer PZ1 sounds an alarm if the vehicle crosses the distance between
the laser set-ups at more than the selected speed (lesser period than preset
period). The counter starts counting when the first laser beam is intercepted
and stops when the second laser beam is intercepted. The time taken by the
vehicle to cross both the laser beams is displayed on the 7-segment display.
For 60kmph speed setting, with timer frequency set at 100 Hz, if the display
count is less than ‘600,’ it means that the vehicle has crossed the speed limit
(and simultaneously the buzzer sounds). Reset the circuit for monitoring the
speed of the next vehicle.

Department of ECE, RIET, Faridabad Page 39


SPEED CHECKER FOR HIGHWAYS 2020

ADVANTAGES
 It will maintain the safety of human life on the road.

 It will reduce the risk of accidents

 It is easy to implement

 The circuit is also running on +5V which is easier to generate

 It will reduce the effort of many men

DISADVANTAGES
 Sometimes the circuit got failure & causes various
problems

APPLICATIONS
 Bridge construction

 Highways

 Two lane road construction

 Emergency response

 Event traffic control

Department of ECE, RIET, Faridabad Page 40


SPEED CHECKER FOR HIGHWAYS 2020

FUTURE DEVELOPMENT
 A CCTV Camera can be placed on the highway. If any vehicle
has crossed the maximum speed limit then this camera will be
triggered to take a picture of the vehicle.
 We can add voice announcement system. It will intimate the
driver that he/she has crossed the over speed condition.
 We can implement the GSM technology. So that the nearest
highway security authorities will be informed about the vehicle
which has over speed.

CONCLUSION
Here we implemented the “speed checker on highway “ from point
of view of safety on the Mega Highway. We feel that if mega highway
is supported with such faithful system then will not only help to
maintain the traffic rules but also reduces accidents. As system is
compact & user friendly one man can handle the system efficiently.

Since number of accidents on highways are increasing day by day so


it is necessary to check speed of the vehicles on the highways so as
to remove accident cases & to provide a safe journey by controlling
high speed of the vehicle. It also minimizes the difficulties of traffic
police department & make ease to control the rash driving on
highways. The police can perform their duties while sitting in control
room & can provide their service with more ease & accuracy. The
concept can be extended in future by integrating a camera with the
system which could capture the image of the number plate of the
vehicle & send that to the traffic authorities.

Department of ECE, RIET, Faridabad Page 41

You might also like