Search this site
Embedded Files
Skip to main content
Skip to navigation
Embedded Careers
Home
ARM Course
RTOS
RTOS Slides
RTOS Exam
Embedded C
Embedded C Slides
Embedded C Exam
Interview Questions
C Programming
C Quizzes
C Quiz 1
C Quiz 2
C Exams
C Exam #1
C Exam #2
C Exam #1 Solutions
C Exam #2 Solutions
C Assignments
C Assignment #1
C Assignment #2
C Assignment #3
C Assignment #4
C Assignment #5
C Assignment #1 Solutions
C Assignment #2 Solutions
C Assignment #3 Solutions
C Assignment #4 Solutions
C Assignment #5 Solutions
C Programming Slides
C Session Exercises
ES Concepts
Intro to Embedded Systems
Computer Architecture
Intro to ES Quiz
AVR
AVR Material
Interface Codes
AVR Projects
Smart Traffic Lights
Projects Solutions
Embedded Careers
Home
ARM Course
RTOS
RTOS Slides
RTOS Exam
Embedded C
Embedded C Slides
Embedded C Exam
Interview Questions
C Programming
C Quizzes
C Quiz 1
C Quiz 2
C Exams
C Exam #1
C Exam #2
C Exam #1 Solutions
C Exam #2 Solutions
C Assignments
C Assignment #1
C Assignment #2
C Assignment #3
C Assignment #4
C Assignment #5
C Assignment #1 Solutions
C Assignment #2 Solutions
C Assignment #3 Solutions
C Assignment #4 Solutions
C Assignment #5 Solutions
C Programming Slides
C Session Exercises
ES Concepts
Intro to Embedded Systems
Computer Architecture
Intro to ES Quiz
AVR
AVR Material
Interface Codes
AVR Projects
Smart Traffic Lights
Projects Solutions
More
Home
ARM Course
RTOS
RTOS Slides
RTOS Exam
Embedded C
Embedded C Slides
Embedded C Exam
Interview Questions
C Programming
C Quizzes
C Quiz 1
C Quiz 2
C Exams
C Exam #1
C Exam #2
C Exam #1 Solutions
C Exam #2 Solutions
C Assignments
C Assignment #1
C Assignment #2
C Assignment #3
C Assignment #4
C Assignment #5
C Assignment #1 Solutions
C Assignment #2 Solutions
C Assignment #3 Solutions
C Assignment #4 Solutions
C Assignment #5 Solutions
C Programming Slides
C Session Exercises
ES Concepts
Intro to Embedded Systems
Computer Architecture
Intro to ES Quiz
AVR
AVR Material
Interface Codes
AVR Projects
Smart Traffic Lights
Projects Solutions
Smart Traffic Lights
Project Description:
Two cross roads, you need to detect density of waiting cars in each streets then open the lights for some time based on the density of waiting cars
Hardware:
>> ATmega32A
>> proximity sensor
>> 6 LEDS (RED, YELLOW, GREEN)
>> 6 330 ohm resistance
>> Mat to demonstrate your project
NOTE: You can use TWO PUSH BUTTONS to indicate the number of waiting cars based on the number of pushes.
Deliverable:
>> You should divide your software to different modules and layers.
>> You should create two files: Traffic_lights.h, and Traffic_lights.c to implement your logic.
>> You should use the device drivers: DIO, LED, PushButton, Ex_Interrupts that we already developed.
>> You should include only Traffic_lights.h into your main file.
Schematic:
Google Sites
Report abuse
Google Sites
Report abuse