Electronic locks basic principles
Electronic locks it is also 51 series microcontroller as the core, together with the appropriate hardware circuits, complete the password set, storage, identification and display, drive the electromagnetic actuator and detect the drive current value, the sensor receives the alarm signal to send data And other functions.
The microcontroller receives the typed code and compares with the password stored in the EEPROM. If the password is correct, the actuator is unlocked. If the password is incorrect, the operator is allowed to re-enter the password up to three times. If three times Incorrect, then the one-chip computer reports to the intelligent monitor through the communication line. The MCU will unlock the operation and the current value of the electromagnetic actuator as status information to the intelligent monitor each time, and also send the alarm information from the sensor interface to the intelligent monitor as the basis for intelligent analysis.