基于单片机的无线电子点菜系统硬件方案设计
随着人民生活水平的提高和生活方式的转变,餐饮业具有巨大的投资市场,被称为中国的黄金产业。无线电子点菜系统是无线通信技术的典型应用,把无线技术用于餐饮业将会极大提高餐馆的工作效率和服务质量。
论文给出了无线电子点菜系统的完整的硬件平台的设计和实现方案。整个系统有主机端和移动端两部分组成,无线通信的双方依托一定的硬件平台,按照约定好的协议来实现数据交换。设计的硬件平台时,首先详细介绍了平台将要用到的一些芯片,然后使用Protel 99 SE设计出了系统的原理图和PCB(Print Circuit Broad,印刷电路板)图;在设计的硬件平台的基础上,依据所用芯片的编程原则,在Windows环境下,以C51语言为编程语言,开发出了无线通信系统的驱动程序来实现双方约定的通信协议。文中还附带简要介绍了用到的软件开发工具,以及系统的局限性,并提出了进一步改进的方案。
为了使整个系统更加完善,用Visual C++ 6.0开发了串口调试工具,实现了将远端数据发送到计算机并以窗口形式显示和通过窗口形式将计算机上的数据发送到远端,基本达到了论文的设计目的。
关键词 无线通信,ZigBee,单片机,nRF2401
目 录
摘 要 IV
ABSTRACT V
第一章 绪论 1
1.1 研究背景和意义 1
1.3 论文的研究内容 4
1.4 内容安排 4
第二章 ZIGBEE协议分析 6
2.1 ZIGBEE协议框架 6
2.2 ZIGBEE协议优缺点和应用前景 8
2.2.1 ZigBee协议的优点 9
2.2.2 ZigBee协议存在的问题及解决方案 9
2.2.3 ZigBee协议应用前景 10
2.3基于ZIGBEE协议的芯片 10
第三章 基于ZIGBEE协议的硬件系统的设计及实现 14
3.1 STC89C58RD+单片机概述 14
3.2 开发板的各个组成部分原理图以及功能 15
3.2.1 单片机最小系统组成电路 15
3.2.2 串行口电平转换部分 16
3.2.3 LED部分 17
3.2.4 开发板和无线数据传输模块接口部分 17
3.2.5 键盘部分 18
3.3 无线数据传输模块 19
3.4 无线数据传输模块和开发板的PCB图设计 20
3.4.1 开发板的PCB图 20
3.4.2 无线数据传输模块的PCB图 22
第四章 硬件驱动程序和串行口调试工具 24
4.1 硬件驱动程序 24
4.1.1 主机端硬件驱动程序 24
4.1.2 移动端驱动程序 28
4.2 串行口调试工具 28
4.2.1串行通信的基本原理 28
4.2.2程序设计原理 30
第五章 总结与展望 37
5.1 全文总结 37
5.2 研究展望 38
致 谢 39
参考文献 40
附录 41
摘 要
Abstract
Along with the enhancement of the level of the people’s lives and the transformation of the lifestyle, the dining industry which is called gold industry in China has the huge investment market. The wireless electronic ordering food system is the typical use of the technology of wireless communication. Using the technology of wireless communication in the dining industry will largely improve the working efficiency and the grade of service.
The present paper brings up the plan of the hardware design of the the wireless electronic ordering food system and how to realize. The overall system is made up of two parts, one is the main end and the other is the mobile end. Both sides of wireless correspondence depend on certain hardware platforms. They exchange data according to the protocol which both sides have agreed on before, and the data is transformed in specific frame form. When designing the hardware platform, first analyzes the CMOS chips that will be used in the system. Then, the paper uses Protel 99 SE to design the principle picture and the PCB picture of the system. In this foundation, according to the programming rules of the CMOS chips used in the system, the paper exploits the driving program of the system using C51 programming language in the Windows operating system. By the way, this paper also briefly introduces the software development kits which will be used next, analyzes the limitations of system, and also proposes how to improve it.
In order to make the entire system more comprehensive,the paper also exploits the serial debugging tool in Visual C++ 6.0 to display the data from remote end in the window on computer and send data to remote end in the window form. This basically achieves the goal.
KEY WORLD
系统 硬件 方案设计 点菜 电子 单片机 无线 基于 相关文章:
- Linux嵌入式系统开发平台选型探讨(11-09)
- VxWorks实时操作系统下MPC8260ATM驱动的实现(11-11)
- VXWORKS内核分析(11-11)
- Linux内核解读入门(11-09)
- linux文件系统基础(02-09)
- 基于Winodws CE的嵌入式网络监控系统的设计与实现(03-05)