Emergency Door Release as the security system.. the component that I use is DMC, Alarm, and power supply. .. know I tell you about how the circuit operate. Make sure the door is always close. If not the alarm will produce sound. it use the door magnetic contact(DMC) to detect door status either the door is close or not. and if emergency the door will release by break the glass beside the door . in another situation if not emergency situation, to open the door I use keypad to enter password using microcontroller .