Traffic Light Synchronization

Post on 21-Feb-2016

47 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Traffic Light Synchronization. by: Avneesh Kohli, Eric Harmatz, and Govil Gupta. Cluster 1: Adventures in Embedded Computer Systems. Instructors: Dr. Rajesh Gupta, Dr. Choon Kim, Shirley Miranda, Arash Arafee, Bridget Benson. The Problem. Over 6 million accidents per year - PowerPoint PPT Presentation

Transcript

Traffic Light Synchronization

by: Avneesh Kohli, Eric Harmatz, and Govil Gupta

Cluster 1: Adventures in Embedded Computer

SystemsInstructors: Dr. Rajesh Gupta, Dr. Choon Kim, Shirley Miranda, Arash Arafee, Bridget Benson

The Problem

• Over 6 million accidents per year• Nearly 50,000 deaths per year• 60% of accidents by human error• $230 billion spent annually

Purpose

• In need of a better safety traffic system

• Traffic lights controlled by timers rather than present cars

• Synchronization of lights can save time and lives

Background Information

• C Programming Language• PSoC Devices• CapSense / Touch-Based Input• Hardware / Wiring• Multi-chip Communication

Hypothesis• Use CapSense to represent car• Light turns green when car

approaches intersection• Perpendicular lights change

automatically• Two sets of lights are synchronized

82 3 4 5 6 7 9

Materials• 2 Cypress PSoC CY3214 Chips• 3 LED’s (Red, Yellow, Green)• CapSense module• PSoC Designer 5.0• PSoC Programmer• USB Mini-Programmer• Wires

Procedure1.Open PSoC Designer2.Select Chip Level Project3.Add CSD User Module4.Configure CSD5.Add 3 LED User Modules6.Configure LED’s

7.Open main.c8.Program main.c9.Build project using Imagecraft

compiler10.Transfer program to chip11.Connect wires to breadboard and

ports

Sample Pictures

Video Demonstration

Results and Data

• Successful, working device• Realistic light cycle delays• Very responsive to all finger motions

Conclusions

• Successful culmination of our knowledge of C and hardware

• Can be improved with a more efficient code

• Can be expanded to use 2 CapSense modules

Applications/Future

• Incorporate into suburban streets to reduce intersection accidents

• Applicable to any areas with controlled traffic

• Less traffic, save people, save time

top related