自动存包柜的设计_流影_新浪博客

摘 

    本课题由8051单片机构成核心控制系统,整个系统由主控部分、键盘显示控制部分、执行部分三部分组成,通过密码的核对完成自动存包取包过程。
{dy}部分:CPU核心控制部分,由单片机8051、复位电路、时钟电路等构成,是整个系统的核心。
第二部分:键盘显示控制部分。用HD7279A对8个数码管和14个按键进行管理,8个数码管用于显示两位柜号和8位密码,14个按键分别为10个数字键和4个功能键。通过这些键盘,用户就可以完成所有的操作。
第三部分:执行机构部分。它是通过8051的并行口扩展一片8255A芯片,并通过8255A控制20个灯的状态(亮灭)来模拟柜子的存包取包的过程。
软件部分主要采用我们自己设定的一种与柜号相关联的算法来产生一组8位的随机密码,而密码的产生、核对过程就对应存包、取包的过程。
本系统具有如下特色:
经济实用、操作简单且便于安装。
能产生一组8位随机密码,密码使用一次有效;有三次容错功能和解锁功能,因而系统安全可靠。
利用软件产生随机密码而不是硬件,使得硬件更为简洁、可靠、稳定。
关键词:自动存包柜、算法、随机密码、容错、解锁

 Abstract:

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  设计技术要求..................................................3
1.2  课题分析......................................................3
1.3  设计模型分析..................................................3
1.4  硬件设计总体思路..............................................4
1.5  方案论证与选择................................................5
各部分电路及其功能阐述.............................................10
2.1    CPU控制部分.................................................10
2.1.1  复位电路....................................................10
2.1.2  时钟电路....................................................11
2.1.3  程序存储器扩展电路..........................................11
2.2    键盘/显示控制部分...........................................13
2.3    执行机构部分................................................14
软件设计...........................................................15
3.1  软件设计总体思路..............................................15
3.2  内存单元及各类地址分配........................................15
3.3  随机密码的产生................................................16
3.4  程序流程图及其说明............................................19
系统调试...........................................................20
4.1    硬件调试....................................................29
4.1.1  最小系统板的调试............................................29   
4.1.2  键盘/显示电路的调试.........................................29
4.1.3  8255A电路的调试.............................................30
4.2    软件调试....................................................30
4.2.1  查键值子程序的调试..........................................30
4.2.2  HD7279A键显程序的调试.......................................31
4.2.3  随机密码产生及核对子程序的调试..............................31
4.2.4  解锁子程序的调试............................................31
4.3    整机调试及系统使用说明......................................31
4.4    系统功能扩展分析............................................32
总结...............................................................33
致谢...............................................................34
参考文献...........................................................35
附录(程序清单、电路原理图、PCB板图)...............................36

也可直接通过QQ:136775125联系.更多相关论文请点击进入查看.

已投稿到:
郑重声明:资讯 【自动存包柜的设计_流影_新浪博客】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——