Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Project - Group 8

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

Thursday, 24th October, 2024

DIGITAL SYSTEM LAB

Report: Mini Project - Design a Traffic Signal Control System


Group: 8
Members:

- Nguyễn Việt Bảo-22142004

-Nguyễn Tiến Vỹ-22142062

Lecture: Nguyễn Ngô Lâm


PART 1: Datasheet Summary

Number IC’s Logic symbols Function Truth Table


Name

generating
clock
pulses that
trigger
1 NE555 actions in
other ICs
like
IC4017

Presettable
BCD
2 CD4510
up/down
counter

BCD-to-7
segment
3 CD4543
latch/de-
coder/driver
Number IC’s Logic symbols Function Truth Table
Name

Preven
4
74HC02 ts both
red and
green
lights
from
being
on at
the
same
time,
ensurin
g one
light is
on

Enable the
5 74HC08 red light
under
specific
timing.
Number IC’s Logic symbols Function Truth Table
Name

Counts from
0 to 9,
control the
sequence of
7 CD4017B the traffic
lights

Allow for
flexibility in
the control
signals. If
either input
8 is HIGH, the
74HC32 output will
be HIGH.

PART 2: Description of Tasks For Each Components


Functions:
A count down timer that can preset a starting number, when powered on, the
green light counts down from 30 seconds, while the red light counts down from 35
seconds. In the last 5 seconds, both lights will switch to yellow and it will be reverse
Consist of:
 The 555 Timer generates pulses sent to the CD4017 counter.
 The CD4017 steps through its outputs (Q0 to Q9), each representing a different state in the
red/green light sequence.
 Logic gates ( NOR, AND, OR) manage the timing and logic of which light (red or green) is
active.
 Transistors act as switches, turning the lights on and off based on signals from the logic gates.
 BCD counters (CD4510) and BCD-to-7-segment decoders (CD4543) drive a 7-segment
display to show countdown or timing information.
 Diodes (1N4001) protect the circuit by ensuring current flows only in the correct direction.

PART 3: Circuit Operation Description


The traffic light circuit begins with a 555 Timer IC in astable mode generating
clock pulses, which are fed into the CD4017 Decade Counter IC. This counter steps
through outputs Q0 to Q9, controlling the light sequence. Logic gates ensure the
correct light is active at each stage. For example, a NOR gate prevents red and green
lights from being on at the same time.

The BCD counter IC CD4510 manages the countdown. When it reaches 00


and is about to roll over to 99, the circuit captures this state to reset the counter and
trigger a pulse for the CD4017, advancing the light sequence. The CD4017’s output
determines the countdown duration: green for 30 seconds, yellow for 4 seconds, and
red for 35 seconds. When the green light finishes at 00, the red light has 5 seconds
left. The system uses the Q9 state (binary 1001) to send a pulse, ensuring proper
alternation of the lights.

Transistors act as switches to control the lights, and the BCD-to-7-segment


decoder ICs drive the display showing the countdown. Diodes like the 1N4001
protect the circuit by directing current flow correctly. This setup ensures
synchronized timing and smooth transitions for the traffic lights.
PART 4: Results

The circuit simulation on Proteus

The circuit built on testboard


Comments:
The circuit can still be improved using:
- A more accurate timer circuit (a crystal oscillator).
- Wider range of time with minutes and hours display.
- Using buttons to increase/decrease the numbers instead of switches.
- Provide with battery to power the circuit instead of using micro-USB
connection.
Conclusion:
This circuit has help us better understand the operation of each ICs, how it works
and what it is used for, help us learn how to come up and design a circuit, with the
use of all the ICs, that has the application to a real world problem.

You might also like