- 1、本文档共42页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
(20_ _届)
本科毕业设计
基于无线通信的点菜系统设计
摘 要
无线点餐系统的实现主要是要靠无线通信技术,将两片单片机作为无线通信的发送和接收端设备,无线通信技术遵循TCP协议,TCP协议是一种连接导向的、可靠的、基于字节流的运输层通信协议。在整个点餐的过程中,由单片机进行按键选择输入,然后选择的结果会在电脑的界面上展现出来,电脑上面展示的界面使用VB语言进行开发,程序的编写选择使用C语言,因为相对于其他语言来说C语言比较简单易懂。编写程序的时候选择分模块进行,在一个主程序中分别调用各个分模块,比如有选择的模块、发送的模块等等,这样分模块进行的好处就在于整个程序便于调试,最后程序的实现是通过KeilC51烧入单片机之后来完成的。
文章首先分析了无线点餐系统的组成以及各个部分的功能,并对硬件设备进行简要的设计分析。然后再对几种无线通信方式进行比较后,得出应该采用微功率短距离的无线通信技术,并且详细分析所采用的TCP协议。最后是软件的开发,采用C语言编程,在主程序中进行子程序调用,增加程序的可阅读性和可修改性,大大缩短了程序的调试周期。
关键词:无线通信,TCP协议,模块,单片机,C语言
Design of Order Dishes System Based on Wireless
Abstract
Wireless ordering system mainly depends on the realization of wireless communications technology, two pieces of MCU become the wireless communication's sending and receiving terminal equipment. Wireless communication technology follows the TCP protocol, TCP protocol is a connection_oriented, reliable, byte stream_based transport layer communication protocol. In the process of the whole order, key to select the input from the MCU, then select the results will show up on the computer's interface, we use VB language to develop this. Programs choose to use C language writing, as compared to other languages, C language is relatively simple to understand. When writing a program, we choose points module. In a main program calls each sub-module, respectively. For example have choice of module, send module, etc. The benefits of this sub-module is that the entire process easy to debug. Finally, program implementation is downloaded into the MCU by KeilC51 was completed.
First, this article analyses the composition of ordering system of wireless and the function of each part, and the design of hardware device briefly analysed. Then compared the other wireless communications, we found that we should use the micro-power short-range wireless communication technology, and analysed the TCP protocol detailedly. Finally, we use C language to develop the program. The advantage is easy to read an
您可能关注的文档
- 无机械触点的继电器设计电气工程及其自动化专业【毕业设计+文献综述+开题报告】.doc
- 【电子信息工程毕业设计+文献综述+开题报告】CAN总线中继器设计-电路设计.doc
- 【电子信息工程毕业设计+文献综述+开题报告】GPS仪的设计与实现.doc
- 【电子信息工程毕业设计+文献综述+开题报告】LED灯具遥控器测试系统设计与制作——总体设计与调试.doc
- 【电子信息工程毕业设计+文献综述+开题报告】Mp3的编解码设计与实现.doc
- 【电子信息工程毕业设计+文献综述+开题报告】RS-485总线现场监测系统的设计.doc
- 【电子信息工程毕业设计+文献综述+开题报告】八路抢答器的设计.doc
- 【电子信息工程毕业设计+文献综述+开题报告】倍捻车间生产信息管理系统-查询模块设计.doc
- 【电子信息工程毕业设计+文献综述+开题报告】超声波测距倒车雷达系统的研究.doc
- 【电子信息工程毕业设计+文献综述+开题报告】电参数测量系统设计.doc
- 小学数学类英语单词汇总.pdf
- 福建厦门外国语学校初中英语八年级上册 Unit 10经典练习(含解析).pdf
- Unit 2 My favourite season第6课时公开课教案【英语人教三起PEP五下】.pdf
- 英语六年级小升初质量试题测试题(含答案解析).pdf
- 三年级英语下册教学计划.docx
- 四川省南充市中学顺庆校区高三英语测试题含解析.docx
- 福建省龙岩市宝莲中学高三英语模拟试卷含解析.docx
- 辽宁省丹东市第二中学高三英语上学期期末试卷含解析.docx
- 【知识大串讲】三年级英语下册 Unit2 精讲精练 人教PEP版(含答案).docx
- 人教八年级下册英语期中复习试卷(含答案).doc
文档评论(0)