main control circuit is around the microcontroller PIC 16F877A. In home or office this implementation will be applicable for security.