没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的IC卡读写系统的实现.doc
0 下载量 138 浏览量
2023-07-09
12:02:25
上传
评论
收藏 1.5MB DOC 举报
温馨提示
试读
38页
基于单片机的IC卡读写系统的实现.doc
资源推荐
资源详情
资源评论
2013
届
分 类 号 : TP311
单位代码:10452
毕 业 设 计 (论 文 )
基于单片机的 IC 卡读写系统的实现
姓 名
学 号
年 级
专 业
系 (院)
指导教师
2013 年 4 月 20 日
毕业论文:基于单片机的 IC 卡读写系统的实现
摘 要
随着社会的发展和现代化程度的不断发展,人们的信息数量和种类都在加倍地增长,
每天都要处理很多和个人有关的信息,而这些信息管理非常不便。因此 IC 卡应运而生,IC
卡使用范围十分广泛,它有助于我们解决问题,使我们的生活变得方便。
首先论述课题的研究背景,课题的设计和意义,设计要求,硬件的工作原理,并给出
和介绍了基于 AT89C51 单片机的 IC 卡读写系统的内部结构和原理图,阐述了本次毕业设
计所采用的各硬件电路和各个接口模块的功能及工作过程。本系统是以 C 语言来实现软件
设计,指令的执行速度快。最后具体描述了各个功能模块的软、硬件调试与分析,撰写的
主导思想是软、硬件结合,以硬件为基础,软件为主体,来进行各功能模块的编写。基于
AT89C51 单片机的 IC 卡储容量大,安全保密性好,使用方便,具有数据处理能力,使用寿
命更长,它除了涵盖传统磁卡的全部功能外,还拓展到许多磁卡所不胜的领域。因此,基
于单片机 IC 卡读写器设计的研究是一个非常有意义的课题。
关键词:AT89C51 单片机;IC 卡;读写系统;数据交换;串口通信
毕业论文:基于单片机的 IC 卡读写系统的实现
Abstract
With the development of the society and the continuous development of the modernized
level, people's number and variety of information in the double growth, every day to deal with a
lot of personal information, and the information management is very inconvenience. So arises at
the historic moment, IC card IC card using range is very wide, it can help us solve the problem,
make our life become convenient.
First discusses the research background, design and significance of topics, design
requirements, the working principle of the hardware is based on AT89C51 single-chip
microcomputer as the core, and introduces the internal structure of IC card and the principle of
figure, elaborated this graduate design using the hardware interface technology and the function
of each interface module and working process. This system is based on C language to achieve
software design, instruction execution speed is fast. Last it describes the various functional
modules of software and hardware debugging and analysis, the dominant idea of writing is the
combination of software and hardware, on the basis of the hardware and software as the main
body, to the preparation of the each function module. IC card read-write system based on
single-chip computer storage capacity, safety and privacy is good, easy to use, with data
processing ability, long service life, in addition to cover the whole function of the traditional
magnetic card, it has extended to many fields of magnetic CARDS are by. Based on SCM IC
card read-write device design research is a very meaningful topic.
Keywords:AT89C51 single-chip microcomputer; IC card; Reading and writing systems; Data
exchange; A serial port communication
毕业论文:基于单片机的 IC 卡读写系统的实现
目 录
前 言 ......................................................................1
1、课题研究的背景 ........................................................1
2、课题设计的目的和意义 ..................................................1
3、课题的设计要求 ........................................................1
4、课题的工作原理 ........................................................2
第一章 IC 卡芯片方案选择 ....................................................3
1.1 IC 卡选取和单片机的选取 .............................................3
1.1.1 IC 卡芯片的特点 ................................................3
1.1.2 引脚配置 ......................................................3
1.1.3 芯片功能 ......................................................4
1.1.4 IC 卡传送协议 ..................................................5
1.1.5 芯片的操作命令 ................................................6
1.2 存储芯片的选择 ......................................................7
第二章 系统的工作机制 .......................................................9
2.1 通讯传输机制 ........................................................9
2.2 命令处理流程 ........................................................9
2.3 防冲突处理流程 .....................................................10
2.4 数据传输的完整性和安全性 ...........................................11
2.4.1 认证过程 .....................................................11
2.5 通信命令及响应格式 .................................................12
2.6 IC 卡读写系统涉及的关键技术 ........................................12
2.6.1. 信号发射技术 .................................................12
2.6.2 防冲突问题 ...................................................13
第三章 系统硬件电路设计 ...................................................14
3.1 硬件设计方案 .......................................................14
3.2 硬件设计注意事项 ...................................................14
3.2.1 主控器 ........................................................15
3.3 硬件组成 ...........................................................15
3.4 通信接口 ...........................................................15
3.5 AT89C51 端口功能 ...................................................16
3.6 IC 卡读写系统的工作距离 ............................................16
3.7 电路设计与读写控制 .................................................16
3.7.1 单片机与计算机的硬件接口 .....................................17
3.7.2 串口通讯电路 .................................................17
3.8 LCD 显示电路 .......................................................18
3.9 整体电路图 .........................................................18
第四章 系统软件设计的实现 .................................................20
4.1 软件设计思路 .......................................................20
4.2 软件设计原理 .......................................................20
4.3 IC 卡读写器的软件设计 ..............................................20
4.3.1 系统主程序 ...................................................21
4.3.2 中断子程序 ...................................................22
4.3.3 串口通讯子程序 ...............................................23
毕业论文:基于单片机的 IC 卡读写系统的实现
4.3.4 IC 卡的插入/退出识别与上电/下电控制技术 .......................24
第五章 系统的仿真测试.....................................................26
5.1 系统仿真 ...........................................................26
5.1.1 proteus 工作界面 .............................................26
5.1.2 源程序的录入 .................................................26
5.1.3 片内数据储存器的读写与仿真电路 ...............................27
5.1.4 片内数据储存器的仿真结果 .....................................27
结 论 .....................................................................29
附 录 .....................................................................30
附录 A 程序清单 ..........................................................30
参考文献 ...................................................................33
谢 辞 .....................................................................34
剩余37页未读,继续阅读
资源评论
matlab大师
- 粉丝: 2462
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 三层独栋别墅图纸编号D066-三层-12.00&12.00米- 施工图.dwg
- 农村小别墅图纸编号D065-三层-14.40&18.55米-施工图.dwg
- 基于YOLOv8检测高铁吊弦缺陷实现的系统的Python源码+文档说明+训练源文件+模型.zip
- 三层农村小别墅图纸编号D064-三层-13.80&22.20米-施工图.dwg
- 三层别墅图纸编号D063-三层-13.57&17.40米- 施工图.dwg
- STC IAP15F2K61S2单片机i2c 接口PCF8591-ADC实验+DAC实验 KEIL例程源码+开发板硬件原理图
- Jlink-windows-v7967
- ADC直流分量影响分析
- 二层半独栋别墅结构水电施工图结构专家电.dwg
- 二层半独栋别墅结构水电施工图结构水暖图.dwg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功