Burglar alarms like this one are designed to alert the user to danger. Sensors are connected to a control…