implement a circuit that allows counting the number of persons entering exposure. The exhibition hall can accommodate 7 people. Has a unique
input and a single output.
At the entrance is placed a sensor such that when a person enters the room sensor sends a positive pulse and the output has placed a similar sensor.
You will be asked to design the logic circuit such that a 7-segment display can be know the number of people who are in the room.
Note: never going to be the case that a person joins the room at the same time another person leaves.
Is asked to:
a) Truth table of the circuit.
b) Draw a diagram of logic design implemented with JK-FF.
c) Draw the state diagram.
d) Explain in detail the operation of the circuit.