Question: Make a C file using the microcontroller C 1 6 7 ( using header reg 1 6 7 . h ) file name main.c ,

Make a C file using the microcontroller C167(using header reg167.h) file name main.c, traffic.c, traffic.h, signals.c and signals.h
A Ramp Meter is a device that regulates the flow of traffic entering freeways according to the current traffic conditions and
they have been shown to decrease traffic congestion and improve safety.
A Ramp Meter is to be designed based upon a 20 MHz C 167 microcontroller and this is to be developed using the Keil IDE.
Operation
The total freeway capacity is 3400 vehicles per hour
,2 induction loop vehicle detectors indicate passing vehicles on the 2 lanes of the freeway
The vehicle detectors have a digital output that pulses high for 1 s
At peak times, red and green signals should prevent or allow vehicles to enter the freeway respectively
A green signal should allow 1 vehicle to enter the freeway
During off-peak times the yellow signal should flash at 1 Hz
Off-peak times are when less than 10 vehicles pass the freeway induction loop vehicle detectors in a 20 s period
The red, yellow and green signals are turned on by a high logic level
An induction loop vehicle detector indicates a vehicle entering the freeway from the on-ramp
The red stop time should increase from a minimum of 3 s to a maximum of 20 s to reduce the rate of vehicles entering the
freeway in response to increased traffic already on the freeway
A Ramp Meter is a device that regulates the flow of traffic entering freeways according to the current traffic conditions and
they have been shown to decrease traffic congestion and improve safety.
A Ramp Meter is to be designed based upon a 20 MHz C 167 microcontroller and this is to be developed using the Keil IDE.
Operation
The total freeway capacity is 3400 vehicles per hour
,2 induction loop vehicle detectors indicate passing vehicles on the 2 lanes of the freeway
The vehicle detectors have a digital output that pulses high for 1 s
At peak times, red and green signals should prevent or allow vehicles to enter the freeway respectively
A green signal should allow 1 vehicle to enter the freeway
During off-peak times the yellow signal should flash at 1 Hz
Off-peak times are when less than 10 vehicles pass the freeway induction loop vehicle detectors in a 20 s period
The red, yellow and green signals are turned on by a high logic level
An induction loop vehicle detector indicates a vehicle entering the freeway from the on-ramp
The red stop time should increase from a minimum of 3 s to a maximum of 20 s to reduce the rate of vehicles entering the
freeway in response to increased traffic already on the freeway

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Civil Engineering Questions!