Skip to content

nizarbadriali/Traffic-Light-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Timed-Traffic-Light-System

3-LED traffic light that cycles Red → Green → Yellow on a timed loop.

Description

A timed traffic light system using three LEDs to simulate a real intersection. Demonstrates control of multiple output pins in sequence and real-world system logic.

Components

  • Arduino Uno
  • 1x Red LED
  • 1x Yellow LED
  • 1x Green LED
  • 3x 220Ω resistors
  • Breadboard + jumper wires

Wiring

Component Arduino Pin
Red LED (+) Pin 13
Yellow LED (+) Pin 11
Green LED (+) Pin 9
All LED (-) GND via 220Ω resistors

Timing

Light Duration
Red 5 seconds
Green 5 seconds
Yellow 1 second

Skills Demonstrated

  • Controlling multiple output pins simultaneously
  • Sequential state logic
  • Real-world system simulation

About

Timed 3-LED traffic light sequence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages