电子密码锁的设计
电子密码锁的设计
【Abstract】The electronic password lock is the collection computer technology,the electronic technology, the numerical ciphers technology is a bodyintegration of machinery high tech product, has the security to behigh, merit and so on easy to operate. The present paper locks thesystem from the electronic password the function, the hardware circuitdesign, the software design and the hardware debugs four partsseparately to elaborate this system.
This system considered the electronic password locks the cost and thebulk factor, locks the part when the design electron password, takethe AT89S51 monolithic integrated circuit as the core, the LM386 audiopower amplifier, LED and so on constitutes the periphery electriccircuit.
The electronic password locks the procedure is compiles with the Clanguage. When design procedure duplicate uses the subroutine to usethe technology, locks the secure aspect has used the encryptiontechnology, the main function by the pressed key input and therecognition, LED demonstrated, I2C read-write operation and so on. Hasalso adopted the encryption process in the secure aspect. Whenprogramming uses the C51 language, and carries on the translation withKeil software.
This system electron password locks the hardware partial structuressimple, the cost is low, the software partial uses electron encryptionenhancement locks the security, has the quite good market prospect.
【Key words】MCUAT89S51, LM386, electronic passwordlock.
单片机电子密码锁设计
【摘要】电子密码锁是集计算机技术、电子技术、数字密码技术为一体的机电一体化高科技产品,具有安全性高,使用方便等优点。本论文从电子密码锁系统的功能,硬件电路设计,软件设计和硬件调试四部分分别论述这一系统。本系统考虑到电子密码锁成本及体积因素,在设计电子密码锁部分时,以AT89S51单片机为核心,LM386音频功率放大器、LED等构成外围电路。
电子密码锁程序是用C51语言编写。设计程序时使用子程序复用技术,锁的安全性方面采用了加密技术,主要的功能由按键输入及识别,LED显示, I2C读写操作等。在安全性方面也采取了加密过程。在程序设计时使用C51语言,并用Keil软件进行编译。
本系统电子密码锁硬件部分结构简单、成本低,软件部分使用电子加密提高锁的安全性,具有比较好的市场前景。 【关键词】单片机AT89S51、LM386、电子密码锁。
摘要3
第一章 单片机电子密码锁系统概述..........................5
1.1 电子密码锁特点..................................5
1.2市场前景.....................................5
1.3新型安全密码锁的设计目标........................6
1.4工作原理...................................6
第二章 单片机(AT89S51)功能介绍.............................7
2.1特性.......................................7明................................9
2.3振荡器特性...................................10
第三章 密码锁硬件电路说明................................10
3.1硬件电路组成...................................10
3.2硬件连线.....................................11
3.3电路图.....................................11
第四章 程序设计.....................................12
4.1程序设计内容..................................12
4.2 C语言源程序......................................12
第五章 调试......................................20
5.1硬件调试.....................................20
5.2软件调试............................20
结束语......................................22
致谢.......................................23
参考文献...............................713
[1] [2] [3] [4] [5] [6] [7] 下一页