RMIT University School of Engineering
OENG1206 –Digital Fundamentals
Group Project Progress Report
Student Name: Chamath Samarakoon
Student Number: s3808217
Group Members: -
1. Chamath Samarakoon – s3808217
2. Pet
...
RMIT University School of Engineering
OENG1206 –Digital Fundamentals
Group Project Progress Report
Student Name: Chamath Samarakoon
Student Number: s3808217
Group Members: -
1. Chamath Samarakoon – s3808217
2. Petikiri Arachchige Don Gunatilake - S3816029
3. Luca Ryder - S37798192 | P a g e
Table of Contents
1. Abstract................................................................................................................................ 3
2. Introduction ......................................................................................................................... 4
3. Design Methodology ............................................................................................................ 5
I. Algorithm and how the system work. .............................................................................. 6
II. Pseudo code ..................................................................................................................... 7
4. Results and Testing .............................................................................................................. 9
5. Conclusion.......................................................................................................................... 133 | P a g e
1. Abstract
Aim of this project is to create a traffic light system that activates the pedestrian crossing
lights when the pedestrians push a button. Pedestrians have two colour lights ‘Red’ and
‘Green’ and the vehicle traffic light has 3 colour lights, ‘Red’, ‘yellow’ and ‘Green’. After
pedestrian pressed the push button the system recognizes that the button is pressed and
turns off the traffic green light and turns on the yellow and then red simultaneously turning
of pedestrian green light so that the pedestrians could cross the road. The system was made
using MATLAB Simulink. State flow diagram was used to manage each states of the colour
light system. A sliding button is used to input the pedestrian response and a constant block
is used to read the value (0/1) from the sliding button. Then this information is fed to the
state flow diagram which goes through different states according to the input given by the
constant block. Then the output block are used to read the output values from the state
flow diagram and feed those values to the lamps.
[Show More]