文档介绍:摘要
随着科技的进步,以单片机为核心的自动门锁控制系统已经开始进入了人们的生活。本论文着重阐述了以MCS-51系列单片机为核心,通过可编程并行接口8255直接控制LCD液晶显示器模块及键盘扫描,并与接触式IC卡读写技术相结合的系统。为保证门锁使用的安全性,系统自动比较IC卡密码和用户输入密码,若输入的密码与系统读出的IC卡密码相同,门锁自动开启;若连续输入三次错误的密码,系统自动停止此卡的使用,并及时将报警信号通过RS-485串行通信总线传往主控台。本设计的优点是硬件电路简单,软件功能完善,控制系统可靠,具有一定的实用价值。该系统拓展后,可用于其他智能家电的控制,具有好的应用前景。
关键词:单片机;接触式IC卡;LCD显示器;电子门锁
ABSTRACT
With the progress of technology, the automatic door locks control system which takes the the Single Micro puter as the core is stepping into people's lives. This paper focuses on the system which takes the series Single Micro puter MCS-51 as the core, which controls Liquid Crystal Display modules and keyboard scanning through the 8255 chip directly,and contacts the IC card read-write order to guarantee the security of the door lock's use, the system design offers parision between the IC card password and the password which the user input. If inputed password and the IC card password read out on the system read-out are same, the door lock will be opened automaticly. If you input wrong password three times continuously, the system will automatically stop the use of the card, and the alarm will be transmited to the key station promptly through the RS-485 serial munications bus st-bus. The advantage of this design is simple in the hardware circuits, software functional improvements, the control system′s reliablily, and has certain practical. After this system is developed, it can be used in other intelligent electrical appliances' control and has a good application prospect.
key words : Single Chip puter;IC cards;Liquid Crystal Display;Electronic door locks
目录
第1章系统分析 1
系统研究的可行性 1
需求分析 1
系统整体设计方案 2
系统集成 3
第2章系统硬件整体设计方案 4
所需功能模块 4
外围互连的资源分配示意图 4
第3章 MCS-51系列单片机 5
MCS-51单片机简介 5
MCS-51单片机的基本结构 5
MCS-51单片机的基本组成 5
MCS-51单片机硬件结构特点 6
MCS-51单片机的引脚及片外总线结构 7
MCS-51单片机芯片引脚描述 7
MCS-51单片机外总线结构 7
MCS-51外围功能模块互连的资源分配 7
第4章接触式IC卡模块的设计与实现 8
IC卡概述 8
I