基于单片机的排队叫号系统设计 下载本文

内容发布更新时间 : 2024/10/19 14:36:51星期一 下面是文章的全部内容请认真阅读。

摘 要

排队叫号系统是针对银行、工商、税务、通讯、政府机构等部门的大厅工作流程设计的,是利用电脑的科学管理客户排队的系统,可以解决不同的客户在业务过程中所遇到的拥挤的现象,为客户办理业务带来很大的便利。

本次毕业设计要求的排队系统主要由单片机,完整的键盘,显示电路,蜂鸣器电路组成。系统采用仿真软件protues对排队叫号系统进行模拟仿真,客户使用按键输入信息,单片机接收到输入的信息后,会在排队的人数上面加1,并将最终的号码通知客户,客户拿到号码到等候室等候呼叫自己的号码。在此期间取票机会将客户刚刚接收的信息发送到主机,工作人员接收数据后并作出应答,通过按键通知客户到所在窗口办理业务,此时取票机准备下一次的取号,整个过程非常迅速。为了更加人性化的服务于客户,企业还可以设置座椅,并且提供报纸、书刊,放置公司的相关业务介绍。增加客户等候时的趣味性的同时,还可以让客户更加深入的了解本公司的业务办理,可谓一举两得。此过程有效地避免了因拥挤带来的一系列问题,提高了工作效率。

论文主要研究了排队叫号系统的实现方法,研究结果对现实具有重要的指导意义。研究结果肯定了单片机完成排队叫号系统的可能性。本文的特色是采用通俗易懂的语言,向大家介绍了排队叫号系统的原理以及设计思路,对日常的生产生活具有一定的影响。

关键字:protues 排队叫号单片机人性化

I

Abstract

Queuing system is working in the lobby for banks, industry and commerce, taxation, telecommunications, government agencies and other departments of design , can solve all kinds of queues , crowded and chaotic phenomena for business customers in the encounter for customers bring great convenience for business .

The design requirements for graduation to complete queuing system consists of master and slave system , keyboard, display part of the circuit , buzzer circuit, etc. . Protues system using simulation software to achieve the number queuing system's simulation, customers using the key input information , the microcontroller receives input information will be added to the above, a number of queued and will notify the customer the ultimate number, customers get numbers to the waiting room to wait for their call numbers. Opportunity tickets will be sent during this period the customer has just received information to the host , and the staff made the response data , inform customers to transact business through the key to where the window , then the next time the ticket dispensing machines ready to take a number , the whole process is very fast . For a more personalized service to customers, companies can also set the seat , and provide relevant business presentation newspapers, books , placing the company. Increase customer waiting time fun at the same time , it can also allow customers to more in-depth understanding of the company 's business process sense. This process effectively avoid a series of problems caused by congestion , improve work efficiency .

Thesis, the implementation method queuing system , the results have important guiding significance for reality. The results confirmed the possibility of complete single-chip queuing system. Feature of this paper is the use of plain language , to introduce a queuing system principles and design ideas, has some impact on daily production and life .

Key words: protues queuing microcontroller huma

II

目录

第1章绪论 ..................................................................................................................................... 1

2.1 系统的基本功能和工作原理 ........................................................................................... 2

2.1.1 基本功能 ................................................................................................................. 2 2.1.2 工作原理 ........................................................................................................................ 2 2.2 排队系统工作流程 ........................................................................................................... 2 2.3 系统整体设计 ................................................................................................................... 2

2.3.1 硬件概要设计 ......................................................................................................... 2 2.3.2 软件概要设计 ......................................................................................................... 3

第3章主要硬件参数 ..................................................................................................................... 4

3.1 STC89C52RC单片机........................................................................................................ 4

3.1.1单片机的CPU结构 ................................................................................................ 4 3.1.2 STC89C52RC引脚功能说明.................................................................................. 4 3.1.3单片机的存储器 ...................................................................................................... 6 3.1.4单片机最小系统设计 .............................................................................................. 7 3.2 液晶显示器 ....................................................................................................................... 8

3.2.1液晶显示器的原理及分类 ...................................................................................... 8 3.2.2 LCD1602液晶 ......................................................................................................... 9 3.2.31602液晶模块的读写操作 .................................................................................... 10

第4章系统流程图 ....................................................................................................................... 11 第5章系统电路及仿真结果 ....................................................................................................... 12

5.1晶振电路 .......................................................................................................................... 12 5.2开关电路 .......................................................................................................................... 12 5.3 LCD1602电路 ................................................................................................................. 13 5.4 蜂鸣器电路 ..................................................................................................................... 14 第6章仿真结果 ........................................................................................................................... 16 第7章系统程序 ........................................................................................................................... 18 第8章总结 ................................................................................................................................... 26 参考文献 ....................................................................................................................................... 27 附录A 系统电路图 ..................................................................................................................... 28 致谢 ............................................................................................................................................... 29