SlideShare a Scribd company logo
Traffic Light
Controller
Ryan Berns, Oliver Chang, Quyen Vu
Cal Poly Pomona
Electronic Systems
Engineering Technology
Objective
● Develop a traffic light controller with congestion
monitoring for more efficient traffic flow
● Build a physical demo to test our HDL
Approach
● FPGA board: Nexys A7
● Pushbuttons will be used to simulate the traffic
flow
● 7-segment display rows (top, middle, bottom) will
be used for traffic lights (red, yellow, green)
Block Diagram
Ring Approach
● The approach we used to design our
state machine.
● Each number represents a lane on a
street.
○ Opposite pairs will be grouped
into one state.
Bubble Chart Diagram
S0
NL-SL
S1
NS-SS
S3
WS-ES
S2
WL-EL
C<=
20s
DS1
C<=
20s
C=
20s
State Machine
State North Left - South Left North Straight - South Straight West Left - East Left West Straight - East Straight
DEFAUL
T
RED RED RED RED
S0 GREEN/YELLOW RED RED RED
S1 RED GREEN/YELLOW RED RED
S2 RED RED GREEN/YELLOW RED
S3 RED RED RED GREEN/YELLOW
TOP Module
Instantiation of submodules
Counter Submodule
● State Counter
● Button will lower the
duration of state
Button Counter Submodule
- Increments the count when the button is
pressed and released (low to high)
- Count resets when done = 1
- Occurs when the next state begins
- Prevents carryover from one state to
the next
Queue Module
State Machine Submodule
● The state machine for the traffic light does not
move on until it receives a done count signal from
the counter module.
● When the it receives the done signal, it resets the
counter and moves on to the next state.
LED Module
● This module drives the output for the 7 segment
display as well as assigns lights for each traffic light.
● Depending on the state of the traffic light, it assigns
the lights to the correct 7 segment displays.
TOP Test Bench

More Related Content

Similar to Traffic light controller

ZIG ZAG FEEDER
ZIG ZAG FEEDERZIG ZAG FEEDER
ZIG ZAG FEEDER
Kudamm_Corporation
 
DOUBLE HEAD LABEL PRINTING MACHINE
DOUBLE HEAD LABEL PRINTING MACHINEDOUBLE HEAD LABEL PRINTING MACHINE
DOUBLE HEAD LABEL PRINTING MACHINE
Kudamm_Corporation
 
EC8791 UML-model train controller
EC8791 UML-model train controllerEC8791 UML-model train controller
EC8791 UML-model train controller
RajalakshmiSermadurai
 
HOT STAMPING
HOT STAMPING HOT STAMPING
HOT STAMPING
Kudamm_Corporation
 
Torque controlled servo stationary screwdriver
Torque controlled servo stationary screwdriverTorque controlled servo stationary screwdriver
Torque controlled servo stationary screwdriver
Kudamm_Corporation
 
ANILOX ROLLER ( using servo only )
ANILOX ROLLER ( using servo only )ANILOX ROLLER ( using servo only )
ANILOX ROLLER ( using servo only )
Kudamm_Corporation
 
The efficiency modules
The efficiency modulesThe efficiency modules
The efficiency modules
nextsrl
 
LABEL PRINTING WEB FLEXO
LABEL PRINTING WEB FLEXOLABEL PRINTING WEB FLEXO
LABEL PRINTING WEB FLEXO
Kudamm_Corporation
 
Presentationteamtwoforlinkedin
PresentationteamtwoforlinkedinPresentationteamtwoforlinkedin
Presentationteamtwoforlinkedin
merrison
 
INDEXING OR POSITIONING
INDEXING OR POSITIONINGINDEXING OR POSITIONING
INDEXING OR POSITIONING
Kudamm_Corporation
 
Calculator design with lcd using fpga
Calculator design with lcd using fpgaCalculator design with lcd using fpga
Calculator design with lcd using fpga
Hossam Hassan
 
Introduction to automation
Introduction to automationIntroduction to automation
Introduction to automation
Valai Ganesh
 
Design System Design-ASM and Asynchronous Sequential Circuits
Design System Design-ASM and Asynchronous Sequential CircuitsDesign System Design-ASM and Asynchronous Sequential Circuits
Design System Design-ASM and Asynchronous Sequential Circuits
Indira Priyadarshini
 
Uenr5223sist. electrico excavadora 336 f
Uenr5223sist. electrico excavadora 336 fUenr5223sist. electrico excavadora 336 f
Uenr5223sist. electrico excavadora 336 f
raul plasencia
 
8051.pdf
8051.pdf8051.pdf
12817584.ppt
12817584.ppt12817584.ppt
12817584.ppt
HusamAljabli
 
Autonomous RC car using gps
Autonomous RC car using gpsAutonomous RC car using gps
Autonomous RC car using gps
ma_np
 
plc automation thapar university
plc automation thapar universityplc automation thapar university
plc automation thapar university
Pallavi7776
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
Abhishek Patil
 
pandu-vivek (1)
pandu-vivek (1)pandu-vivek (1)
pandu-vivek (1)
Vivek Shukla
 

Similar to Traffic light controller (20)

ZIG ZAG FEEDER
ZIG ZAG FEEDERZIG ZAG FEEDER
ZIG ZAG FEEDER
 
DOUBLE HEAD LABEL PRINTING MACHINE
DOUBLE HEAD LABEL PRINTING MACHINEDOUBLE HEAD LABEL PRINTING MACHINE
DOUBLE HEAD LABEL PRINTING MACHINE
 
EC8791 UML-model train controller
EC8791 UML-model train controllerEC8791 UML-model train controller
EC8791 UML-model train controller
 
HOT STAMPING
HOT STAMPING HOT STAMPING
HOT STAMPING
 
Torque controlled servo stationary screwdriver
Torque controlled servo stationary screwdriverTorque controlled servo stationary screwdriver
Torque controlled servo stationary screwdriver
 
ANILOX ROLLER ( using servo only )
ANILOX ROLLER ( using servo only )ANILOX ROLLER ( using servo only )
ANILOX ROLLER ( using servo only )
 
The efficiency modules
The efficiency modulesThe efficiency modules
The efficiency modules
 
LABEL PRINTING WEB FLEXO
LABEL PRINTING WEB FLEXOLABEL PRINTING WEB FLEXO
LABEL PRINTING WEB FLEXO
 
Presentationteamtwoforlinkedin
PresentationteamtwoforlinkedinPresentationteamtwoforlinkedin
Presentationteamtwoforlinkedin
 
INDEXING OR POSITIONING
INDEXING OR POSITIONINGINDEXING OR POSITIONING
INDEXING OR POSITIONING
 
Calculator design with lcd using fpga
Calculator design with lcd using fpgaCalculator design with lcd using fpga
Calculator design with lcd using fpga
 
Introduction to automation
Introduction to automationIntroduction to automation
Introduction to automation
 
Design System Design-ASM and Asynchronous Sequential Circuits
Design System Design-ASM and Asynchronous Sequential CircuitsDesign System Design-ASM and Asynchronous Sequential Circuits
Design System Design-ASM and Asynchronous Sequential Circuits
 
Uenr5223sist. electrico excavadora 336 f
Uenr5223sist. electrico excavadora 336 fUenr5223sist. electrico excavadora 336 f
Uenr5223sist. electrico excavadora 336 f
 
8051.pdf
8051.pdf8051.pdf
8051.pdf
 
12817584.ppt
12817584.ppt12817584.ppt
12817584.ppt
 
Autonomous RC car using gps
Autonomous RC car using gpsAutonomous RC car using gps
Autonomous RC car using gps
 
plc automation thapar university
plc automation thapar universityplc automation thapar university
plc automation thapar university
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
pandu-vivek (1)
pandu-vivek (1)pandu-vivek (1)
pandu-vivek (1)
 

Recently uploaded

Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 

Traffic light controller

Editor's Notes

  1. Ryan
  2. Ryan
  3. Oliver
  4. Oliver
  5. Quyen
  6. Quyen 20sec each Button will cut the time in half
  7. Quyen
  8. Quyen
  9. Quyen
  10. Ryan
  11. Ryan
  12. Oliver
  13. Oliver
  14. Oliver