《基于STC89C52单片机的超市存包柜控制模块设计论文》-公开DOC·毕业论文

上传人:zhuma****mei1 文档编号:136394149 上传时间:2020-06-28 格式:DOC 页数:39 大小:383KB
返回 下载 相关 举报
《基于STC89C52单片机的超市存包柜控制模块设计论文》-公开DOC·毕业论文_第1页
第1页 / 共39页
《基于STC89C52单片机的超市存包柜控制模块设计论文》-公开DOC·毕业论文_第2页
第2页 / 共39页
《基于STC89C52单片机的超市存包柜控制模块设计论文》-公开DOC·毕业论文_第3页
第3页 / 共39页
《基于STC89C52单片机的超市存包柜控制模块设计论文》-公开DOC·毕业论文_第4页
第4页 / 共39页
《基于STC89C52单片机的超市存包柜控制模块设计论文》-公开DOC·毕业论文_第5页
第5页 / 共39页
点击查看更多>>
资源描述

《《基于STC89C52单片机的超市存包柜控制模块设计论文》-公开DOC·毕业论文》由会员分享,可在线阅读,更多相关《《基于STC89C52单片机的超市存包柜控制模块设计论文》-公开DOC·毕业论文(39页珍藏版)》请在金锄头文库上搜索。

1、摘摘 要要 本课题由 STC89C52 单片机构成核心控制系统,整个系统由主控部分、键盘显示 控制部分、执行部分三部分组成,通过密码的核对完成自动存包取包过程。 第一部分:CPU 核心控制部分,由单片机 STC89C52、复位电路、时钟电路等构 成,是整个系统的核心。 第二部分:键盘显示控制部分。用 1 个 LCD1602 和 12 个按键进行管理, LCD1602 用于显示柜的号码和 4 位密码,12 个按键分别为 10 个数字键和 2 个功能键。 通过这些键盘,用户就可以完成所有的操作。 第三部分:执行机构部分。它是通过 89C52 的并行口控制 8 个发光二极管的状 态(亮灭)来模拟柜子

2、的存包取包的过程。 软件部分主要采用我们自己设定的一种与柜的号码相关联的算法来产生一组 4 位的随机密码,而密码的产生、核对过程就对应存包、取包的过程。 本系统具有如下特色: (1)经济实用、操作简单且便于安装。 (2)能产生一组 4 位随机密码,密码使用一次有效;有三次容错功能和解锁功 能,因而系统安全可靠。 (3)利用软件产生随机密码而不是硬件,使得硬件更为简洁、可靠、稳定。 关键词:关键词: STC89C52 单片机;自动存包柜;随机密码;解锁 I ABSTRACT This subject is become key control systems by STC89C52 forms

3、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 an

4、d partly, Form of 89C52 one-chip computers, whole core of system. Through these keyboards, users can finish all operation. The second part: The keyboard show that controls some. In charge of with LCD1602 to 4 numbers and 12 button go on and manage, 4 number in charge of and use for and show two cupb

5、oard symbol and 4password, 12 buttons are 10 numerical keys respectively and 2 function keys. Through these keyboards, users can finish all operation. The third part: Executive bodys part. In it through the not running side by side because there arent mouth, and control the states of light of 8 piec

6、es( on to kill) of 89C52 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 4 of group mainly, And production, check course corr

7、espond 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 instally .2、Can produce one group 4 password at random, password use one effective; There is fault-tolerant function three tim

8、es 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. Key Words:STC89C52; Store a bag of cupboards; the password; unblock at random automatically II 目 录_Toc262555234

9、 1 引言1 2 系统概述2 21 系统总体设计目标功能及要求系统总体设计目标功能及要求2 22 系统总体设计方案系统总体设计方案2 221 系统原理简介系统原理简介2 222 系统设计方案系统设计方案2 3 系统硬件电路设计4 31 系统硬件电路系统硬件电路4 32 STC89C52 单片机简介单片机简介4 321 单片机概述单片机概述4 322 STC89C52 主要性能主要性能8 323 STC89C52 芯片引脚功能芯片引脚功能9 33 单片机基本工作电路单片机基本工作电路11 331 单片机的最小系统电路单片机的最小系统电路11 332 显示电路显示电路13 333 键盘电路键盘电路14 334 稳压电源稳压电源15 4 系统的软件设计16 41 C 语言程序设计语言程序设计16 411 C 语言简介语言简介16 412 C 语言的特点语言的特点16 413 C 源程序的结构特点源程序的结构特点17 42 软件设计软件设计

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号