Design of entrance guard system based on campus card system

An entrance guard system based on the campus card system is introduced to exclude the outsiders,and for the workers to get in and out the door more conveniently.This system uses STC89C52RC as the core,designs related peripheral circuits,and through the card reader gets the campus card number,then decides whether unlock the door by identifying the card information.The communication between the card reader and MCU is realized by Wiegand 26,and it drives a relay by using a triode to control the electronic lock.The card reader also has the password input function,people can open the door by inputting the password or swiping the card.The system can run normally and stably through the actual test,achieve the design requirements successfully,and it has high application value.