Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

It is desired to implement a system that automatically counts the number of people in a room with a single entrance by means of sensors

It is desired to implement a system that automatically counts the number of people in a room with a single entrance by means of sensors placed on the door. There will be two parts (circuit) in the system to be designed. The first part is the control circuit that will detect that the person enters or leaves the room and will provide appropriate inputs to the counter. The second part is the counter circuit. First part: Room person tracking control circuit The time diagrams given in the table below show the change of A (Sensor-1) and B (Sensor-2) sensor inputs for someone entering and leaving the room. There is a separate counter circuit to increase or decrease the number of people. When the input values of this counter circuit are logical '10', it counts forward, when it is logical '01', it counts backwards. When the input values are logical '00' or logical '11', it does not count. This counter will be controlled by the circuit to be designed here. That is, the room person tracking system to be designed will have two sensor inputs and two outputs. Implement the circuit using JK Flip Flop elements and logic gates. Realize the schematic drawing of the circuit you designed in the ORCAD program and show that the circuit works with simulations (20p). Second part: Counter circuit The design of a counter circuit that counts forward and backward is desired. This counter will count between 0 and 15 in binary. This counter has two M1M2 control inputs. If M1M2=10, the counter is forward; If M1M2=01 it will count down. When M1M2=00 and M1M2=11, the counter will stop counting as long as it remains and the counter will continue from where it left off depending on M1M2 control inputs. Design this counter circuit with JK Flip-Flops and using logic gates. Realize the schematic drawing of the circuit you designed in the ORCAD program and show that the circuit works with simulations

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions