摘
{dy}部分:CPU核心控制部分,由单片机8051、复位电路、时钟电路等构成,是整个系统的核心。
第二部分:键盘显示控制部分。用HD7279A对8个数码管和14个按键进行管理,8个数码管用于显示两位柜号和8位密码,14个按键分别为10个数字键和4个功能键。通过这些键盘,用户就可以完成所有的操作。
第三部分:执行机构部分。它是通过8051的并行口扩展一片8255A芯片,并通过8255A控制20个灯的状态(亮灭)来模拟柜子的存包取包的过程。
软件部分主要采用我们自己设定的一种与柜号相关联的算法来产生一组8位的随机密码,而密码的产生、核对过程就对应存包、取包的过程。
本系统具有如下特色:
经济实用、操作简单且便于安装。
能产生一组8位随机密码,密码使用一次有效;有三次容错功能和解锁功能,因而系统安全可靠。
利用软件产生随机密码而不是硬件,使得硬件更为简洁、可靠、稳定。
关键词:自动存包柜、算法、随机密码、容错、解锁
This subject is become key control systems by 8051 forms and an
organization. The whole system is shown and is controlled partly,
carried out some three parts to make up by top management part,
keyboard, Through checking that finishes storing and wrapping up
and fetch the course of the bag automatically of the
password.
The first part : CPU core control and partly, form of 8051 one-chip
computers, whole core of system.. Through these keyboards, users
can finish all operation.
Second part : The keyboard show that controls some. In charge of
with HD7279A to 8 number and 14 button go on and manage, 8 number
in charge of and use for and show two cupboard symbol and 8
password, 14 buttons are 10 numerical keys respectively and 4
function keys. Through these keyboards, users can finish all
operation.
The third part : Executive body's part. In it through the not
running side by side because there aren't mouth, and control
through 8255 A there aren't the states of light of 20 pieces( on to
kill) of 8051 and simulate Storing and wrapping up the course which
fetches the bag..
Software part adopt we one that oneself establish correlate with
number of the cupboard algorithm that unite come and produce one
password at random of 8 of group mainly, And production, check
course correspond to and deposit the bag, fetch the course of the
bag of password.
This system has the following characteristic : 1、Economical and
practical, operate simple and easy to installly. 2、Can produce one
group 8 password at random, password use one effective; There is
fault-tolerant function three times and locking the function ,
therefore the system is safe and reliable. 3、Utilize software
produce password instead of hardware, make hardware more succinct,
reliable, stability at random.
Keyword: Store a bag of cupboards, algorithm, the password,
fault-tolerant, unblock at random automatically
前言...............................................................2
自动存包柜的硬件设计...............................................3
1.1
1.2
1.3
1.4
1.5
各部分电路及其功能阐述.............................................10
2.1
2.1.1
2.1.2
2.1.3
2.2
2.3
软件设计...........................................................15
3.1
3.2
3.3
3.4
系统调试...........................................................20
4.1
4.1.1
4.1.2
4.1.3
4.2
4.2.1
4.2.2
4.2.3
4.2.4
4.3
4.4
总结...............................................................33
致谢...............................................................34
参考文献...........................................................35
附录(程序清单、电路原理图、PCB板图)...............................36
已投稿到: |
![]() ![]() |
---|