Question: Experiment 1. 3-way Traffic Light Controller A three way intersection is in need of a traffic signal control system and you have been assigned the
Experiment 1. 3-way Traffic Light Controller A three way intersection is in need of a traffic signal control system and you have been assigned the task to design and implement the system using PICmicro assembly. Each direction has only one lane and one set of signal control lights (green, yellow and red). Your design should only allow one go or green light at a time. Further, all transitions from green to red should go through an intermediate 2-4 seconds yellow light. Complete the following steps for this design: Cw 1 LE Lw Ls Cs Your PICmicro accept Car presence indicators (Cw. Cs and C.) from RA, RA, RA, respectively. The output will be directed according to the following: LE and output will be stored in PORTB using the following coding to indicate light status: Output Code Green Yellow Red RBO RBI Ls RB3 RB4 Lw RB2 RBS RA7 LE RB6 RB7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
