Top Banner
Traffic Light Synchronization by: Avneesh Kohli, Eric Harmatz, and Govil Gupta
14

Traffic Light Synchronization

Feb 21, 2016

Download

Documents

mostyn

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
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Traffic Light Synchronization

Traffic Light Synchronization

by: Avneesh Kohli, Eric Harmatz, and Govil Gupta

Page 2: Traffic Light Synchronization

Cluster 1: Adventures in Embedded Computer

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

Page 3: Traffic Light Synchronization

The Problem

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

Page 4: Traffic Light Synchronization

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

Page 5: Traffic Light Synchronization

Background Information

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

Page 6: Traffic Light Synchronization

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

Page 7: Traffic Light Synchronization

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

Page 8: Traffic Light Synchronization

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

Page 9: Traffic Light Synchronization

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

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

ports

Page 10: Traffic Light Synchronization

Sample Pictures

Page 11: Traffic Light Synchronization

Video Demonstration

Page 12: Traffic Light Synchronization

Results and Data

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

Page 13: Traffic Light Synchronization

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

Page 14: Traffic Light Synchronization

Applications/Future

• Incorporate into suburban streets to reduce intersection accidents

• Applicable to any areas with controlled traffic

• Less traffic, save people, save time