Question: Traffic density between 2 different points on a highway is interpreted with the data obtained from 2 sensors . One of these sensors is placed

Traffic density between 2 different points on a highway is interpreted with the data obtained from 2 sensors. One of these sensors is placed at one point and the other at the other point and they give true output when they detect the vehicle passing in front of them. With these sensors, up to 10 vehicles can be counted with counters. After passing 10 vehicles, the counters for each of sensors is reset. For visualization purposes, it is desired to create a square wave by using the value that counters created with these sensors have counted so far. Counter result connected to first sensor indicates how long the falling edge will last, counter result connected to second sensor how long the rising edge will last. Write program in CFC (handwritten).

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 Electrical Engineering Questions!