a garage counter with up and down counting

Thread Starter

Tech Assistance

Joined Apr 25, 2019
14
So you changed the design to a single sensor? How will you handle the case when a car comes in the input door at the same time a car leaves by the exit door? What value will the sensor have in that case?
well in the state table i wrote it as sensor but in fact they would be as two sensors . one in the input door and when the car come in give me 0 and other one in the out door and give me 1 when a car leave .
 

Thread Starter

Tech Assistance

Joined Apr 25, 2019
14
when a car is entering and a car is leaving simultaneously, this i dont take it in my counts. but when no car leave, no car out. the counter stay at the same state.
 
Top