Skip to content

HESHAM47GAMAL/ON-Demand-Traffic-Light-Control-AVR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

ON-Demand-Traffic-Light-Control-AVR🚦🚗🚶

Description

This is Traffic light system to control and organize Traffic between cars and human as traffic light normal flow happen (green then yellow then red then yellow then green and repeat this flow) until there are pedestrian want to cross road then will press button and interrupt car traffic light (depend on case 1 and case 2) and pedestrian traffic light will flow until end then return to car traffic light flow until any pedestrian press button.

System Layer architecture

System Flowchart

IDE

Micrchip studio, Notepad++ and simulide

I use Microchip studio & Notpad++ for writting code

I use simulide to make simulation for project(easy to use and anyone can download without crack)

You can open project as If you have Microchip studio click on on_demand_traffic_light_control.atsln

Schematic Capture

Main Component

  • atmega32
  • green, red and yellow leds
  • resistor
  • button
  • LCD 16*2

Demo

Normal traffic light Mode

Normal mode for car traffic light and this mode work until button pedestrian not pressed

Case 1

This case happen when red led car traffic light is on and at same time pedestrian button pressed and at the end of this case return to noraml mode again

case 2

During green led

This case happen when green led car traffic light is on at same time pedestrian button pressed and at the end of this case return to normal mode again

During yellow led

This case happen when yellow led car traffic light is on at same time pedestrian button pressed and at the end of this case return to normal mode again

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published