180 likes | 366 Views
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
E N D
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 • 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
2 3 4 5 6 7 8 9 Hypothesis • Use CapSense to represent car • Light turns green when car approaches intersection • Perpendicular lights change automatically • Two sets of lights are synchronized
Materials • 2 Cypress PSoC CY3214 Chips • 3 LED’s (Red, Yellow, Green) • CapSense module • PSoC Designer 5.0 • PSoC Programmer • USB Mini-Programmer • Wires
Procedure • Open PSoC Designer • Select Chip Level Project • Add CSD User Module • Configure CSD • Add 3 LED User Modules • Configure LED’s
Open main.c • Program main.c • Build project using Imagecraft compiler • Transfer program to chip • Connect wires to breadboard and ports
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