You are on page 1of 11

Digital Logic Design

(EE - 223)
De-38-Mechatronics-B

Project Title: “4-WAY TRAFFIC SIGNAL”

Name of Students:
1) NC M. Sohaib Arif
Reg. # 197453
2) NC Abdul Manan
Reg. # 179768

Submitted to:
LE Adnan Shujah

4-Way Traffic Control System Page 1


APPARATUS:
 JK Flip Flops
 Resistors
 The 555 timer IC
 IC’s: AND , OR , NOT
 Variable Resistor
 Capacitors: 10 µF
 LEDs : Red, Yellow, Green
 Battery 9V
 Connecting Wires
 Bread Boards

Procedure:
This project operates red, yellow and green LEDs in the correct sequence. The 555
timer provides clock pulses for the counters. Each output becomes high in turn as the clock
pulses are received. Counter counts from 0 to 15 (16 numbers), we have 4 signals, each signal
has three lights; red, yellow and green.

First signal: Green led will turn on when the counter has values b/w 0 – 2 inclusively, for 3
yellow led will turn on, and for rest of the values, red led will turn on.

Second signal: Green led will turn on when the counter has values b/w 4 – 6 inclusively, for 7
yellow led will turn on, and red led will turn on when counter has values 0 – 3 and 8 -15
inclusively.

Third signal: Green led will turn on when the counter has values b/w 8 – 10 inclusively, for 11
yellow led will turn on, and red led will turn on when counter has values 0 – 7 and 12 -15
inclusively.

Second signal: Green led will turn on when the counter has values b/w 12 – 14 inclusively, for
15 yellow led will turn on, and red led will turn on when counter has values 0 - 11 inclusively.

Truth Tables:
4-Way Traffic Control System Page 2
AND GATE:
A B X = A.B
0 0 0
0 1 0
1 0 0
1 1 1

OR GATE:
A B X=A+ B
0 0 0
0 1 1
1 0 1
1 1 1

NOT GATE:
A X = Aʹ
0 1
1 0

JK Flip Flop:
J K Q(t+1)

4-Way Traffic Control System Page 3


0 0 No change
0 1 0
1 0 1
1 1 Complement

4-bit counter:

Circuit diagram of counter:

4-Way Traffic Control System Page 4


Circuit Diagram of Pulse Generator using 555 timer:

Working of traffic signals:

4-Way Traffic Control System Page 5


K-Maps and Simplified equations of all LEDs:
I. Green 1:

II. Yellow 1:

III. Red 1:

4-Way Traffic Control System Page 6


IV. Green 2:

V. Yellow 2:

VI. Red 2:

VII. Green 3:

4-Way Traffic Control System Page 7


VIII. Yellow 3:

IX. Red 3:

X. Green 4:

XI. Yellow 4:

4-Way Traffic Control System Page 8


XII. Red 4:

Complete circuit diagram, including led’s and counter:

4-Way Traffic Control System Page 9


Implemented Circuit:

4-Way Traffic Control System Page 10


4-Way Traffic Control System Page 11

You might also like