The Security Keypad Lock Project is a basic access control system based on ATtiny2313. It can be modified to protect just about anything. The “Code Lock” ability will allow the rightful user to deploy the platform to any property that requires simple password-protection.
The “AVR” RISC microcontroller used ensures low costs. Possible applications may include: vehicle protection, electronic safes, powered door locks. The following short treatise will explain how the early version was engineered and how to use the controller to accept valid passwords. With a little external hardware, the featured systems may easily be used to disengage an electric door strike or similar system.
For more detail: AVR Security Keypad Lock using ATtiny2313 microcontroller