文档详情

基于单片机的电子门禁系统设计毕业论文40C语言程序41精品.doc

发布:2018-03-24约3.42万字共49页下载文档
文本预览下载声明
(此文档为word格式,下载后您可任意编辑修改!) 基于单片机的门禁系统的设计 摘 要 门禁系统设计上采用单片机作为控制核心,它相当于计算机的,它负责整个系统输入、输出信息的处理和储存控制等等常见的门禁系统有密码门禁系统,非接触禁系统,虹膜掌型门禁系统门禁系统近几年发展很快,被广泛应用于管理控制系统中密码非接触 Access Control System Design ABSTRACT Entrance guard system uses 89C52 single chip microcomputer as control core and periphery add a buzzer control circuit, open the door indicator light circuit, control circuit and control lock LCD display circuit, etc. Entrance guard system mainly by the CPU and reset circuit, the power indicative circuit, work instructions circuit, oscillating circuit, a buzzer circuit, door control circuit, go out and lock button reading card module, display module. The entrance guard system uses rf card complete charge take the door, according to credit to go out, and other functions. Its working principle is: when credit, a buzzer rang, such as card to be allowed to access, display module display card number, and at the same time relay action will open the door lock, indicator light, delay after period of time relay action will again only door lock, lights go out. When the press out button, the relay action will open the door lock, indicator light, delay after period of time relay action will again only door lock, lights go out. When the input password, if you input the correct, relay action will open the door lock, indicator light, delay after period of time relay action will lock door lock again. In addition, the program will also increase the rf card authority judgment function, when facing legal card showed the card number, door open, delay 10 s automatically shut off, when meeting the illegal CARDS dont show the card number locks dont open. The system is simple in design, good performance, and )和PLCC(44pin)两种封装形式。 89C52引脚图如图2-2示: 图2-2 89C52的引脚图 89C52 单片机外部有32个端口可供用户使用,其功能如表2-3示: 表2-3 89C52外部端口功能表 端口 引脚位置 第一功能区 第二功能区 符号 功能 符号 功能 P0 39~32 P0.0~P0.7 通用IO口 AD0AD7 地址数据总线(低位) P1 1~8 P1.0P1.7 通用IO口 P2 21~28 P2.0P2.7 通用IO口 A8A15 地址总线(高位) P3 10 P3.0 通用IO口 RXD 串行通信发送口 11 P3.1 TX0
显示全部
相似文档