Skip to content

mohamedkhaled6/Trafic_Light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

trafic-light

what is this project

This project is a traffic light with sensors to open the crowded road.

componants

  • Arduino nano
  • 4 digits 7 segments
  • 6 colored leds
  • buttons

how does it work

Under normal conditions, when no buttons are pressed, the 7-segment display shows a countdown from 30 to 0. Once the counter reaches 0, it resets to 30 and the states of both roads are reversed (i.e., if a road was closed, it is opened, and if it was open, it is closed). If either button is pressed at any time, the corresponding road is opened if it was previously closed. The counter continues to operate regardless of the button presses, ensuring uninterrupted countdown and road state management.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages