Q2. A home security system for Eng Shabiyemba has a master switch that is used to enable an alarm, lights, vedio cameras and a call to local police in the event one or more of six sets of sensors detects an intrusion. The inputs, outputs and operation of the enabling logic are specified as follows
Inputs:
\( \mathrm{Si}, \mathrm{I}=0,1,2,3,4,5 \)-signals from six sensor sets ( 0 -intrusion detected, 1 - no intrusion detected)
M - master switch ( 0 - security system on, 1 - security system off)
Outputs:
A - alarm ( 0 -alarm on 1 - alarm off)
L - lights on, 1 -lights off)
V- video camera ( 0 - video cameras off, 1 - video cameras)
C - call to police ( 0 - call off, 1 -call on)
Operation:
If one or more of the sets of sensors detects an intrusion and the security system is on, then all outputs are on. Otherwise, all output are off.
1|Page
Find a minimum gate input cout realization of the enbling logic using AND and OR gates and inverters