基于单片机的简单加密系统硬件设计(附程序清单)
基于单片机的简单加密系统硬件设计(附程序清单)(任务书,开题报告,论文12000字)
摘 要
单片机是一种集成电路芯片,是一个集合了中央处理器、程序存储器、数据存储器、多种I/O口和中断系统、定时器/计数器的微型智能计算机系统。进入21世纪人们生活质量的提升使得电子密码系统越来越符合人们的需求。而51单片机以其经典性,并在众多单片机中最具有代表性,得到了广泛的应用。
因为本课题选择STC89C52单片机为核心控制元件,设计了一个日常生活中用到的硬件加密锁系统。该系统是由单片机系统及外围电路组成。使用单片机C语言进行编程,实现了硬件加密锁的功能。本论文主要介绍了硬件加密锁的软、硬件部分的设计,以及在设计、调试过程中遇到的问题及解决方案。经过实践证明,本课题设计的系统结构简单,稳定,造价低,功能齐全,具有很强的功能。
关键词:STC89C52单片机;硬件加密锁系统;C语言
Abstract
The single slice machine is the microcomputer which all integrates main calculator function parts on a piece of chip single slice machine namely single slice microcomputer, gather CPU, RAM, ROM.As the development of science and technology day by day, the key control system is more in line with the requirements of people. count to connect in the tiny controller of integral whole with variety in fixed time Among them 51 single slice machines is various single slice machine in is a typical model most and have representative 1 kind most , extensively applied in each realm.
This topic choice STC80C52 single slice machine is a core control component, designed a daily life convenient arrive of the hardware encrypt lock system that system constitutes to from single slice machine system and peripheral circuit.Using the single slice machine edits collected materials language to carry on weaving a distance, the function which carries out hardware to encrypt a lock originally the thesis mainly introduced hardware to encrypt to lock of soft, the design of hardware part, and meet in the design, adjust try the process of the problem and the solution pass by to practice a certificate, the system's structure of[with] this topic design simple, stabilize, build price cost low, function complete, have very strong function.
Key words:STC80C52 single chip microcomputer;The hardware encrypts lock system;C language
[来源:http://www.doc163.com]
目 录
第1章 绪论 1
1.1课题背景 1
1.1.1 课题的国内外现状 1
1.1.2 课题的发展趋势 1
1.1.3 设计将实现的目标 2
1.2 本章小结 2
第2章 总体方案与论证 3
2.1 方案:基于单片机的电子密码系统 3
2.2 STC89C52单片机 3
2.2.1 主控芯片STC89C52 3
2.2.2晶体振荡器 8 [资料来源:Doc163.com]
2.2.3 EEPROM AT24C02 8
2.2.4 I2C总线说明 9
2.3 本章小结 10
第3章 硬件电路设计 11
3.1 设计原理 11
3.2电路总图构成 11
3.3显示部分电路 12
3.4报警电路部分 13
3.5矩阵键盘电路部分 13
3.6 本章小结 14
第4章 软件程序设计 15
4.1 主程序流程图 15
4.2矩阵按键流程图 15
4.3开锁流程图 16
4.4 系统调试 17
4.5 本章小结 17
结 论 18
参考文献 19
附录: 程序 20
致 谢 35 [版权所有:http://DOC163.com]