A security system is used to monitor doors and windows of a residence. This system uses several components, including photodiodes and contact switches to detect intruders.
Circuits associated with contact switches provide OV if a door is close and 5V if it is opened.
a) Draw a circuit for one contact switch
b) Give the configuration of the interrupt associated registers if only one door is monitored using one contact switch ?
c) Give the configuration of the interrupt associated registers if one door and one window are monitored (using two contact switches) ?
d) Give the configuration of the interrupt associated registers if 10 windows and 4 doors are monitored