- 9
- 0
- 约2.29万字
- 约 42页
- 2016-04-07 发布于湖北
- 举报
本科毕业设计(论文)
带串口通信的单片机人机界面软件设计
The Design of Single-chip Serial Communication with the Man-machine Interface
中国计量学院
2009 年 6月
郑 重 声 明
本人呈交的毕业设计论文,是在导师的指导下,独立进行研究工作所取得的成果,所有数据、图片资料真实可靠。尽我所知,除文中已经注明引用的内容外,本学位论文的研究成果不包含他人享有著作权的内容。对本论文所涉及的研究工作做出贡献的其他个人和集体,均已在文中以明确的方式标明。本学位论文的知识产权归属于培养单位。
学生签名: 日期:
分类号: TN919 密 级: 公开
UDC: 71 学校代码: 10356
中国计量学院
本科毕业设计(论文)
带串口通信的单片机人机界面软件设计
The Design of Single-chip Serial Communication with the Man-machine Interface
2009 年 6 月
致 谢
带串口通信的单片机人机界面软件设计
摘要:随着科技的发展,现代化的生产对智能化的要求越来越高,如何迅速获取现场数据以便及时对生产过程进行调控。在随着数控编程软件的普及,串口通信重要的重要性越来越突出。因为数控编程软件生成的程序很长,用手工的方法输进系统里又慢又累,还容易出错,所以用户大多会使用串口将其传送进系统里。单片机在人们生产和生活中的应用越来越广泛,在进行较长距离数据通信或要求用有限硬件资源进行数据交换时,都要用到串行接口,串行接口是MCS8051 单片机开发应用中不可缺少的一部分。本文介绍了单片机与PC机之间的串口通信,以及延伸出多机间的通信,利用手动键盘输入,LED七段显示管显示输入的数字,然后通过串口通信把数据传输到PC机。
本文还深入探讨了多机间的通信,对串口通信深入的了解。通过C语言的进行程序设计,实现串口通信的功能。在串口传输设计中,为了防止传输错误,如果传输不成功,实现数字抖动,若传输成功,将值转化为十进制输显示在PC机。
关键字:串口通信, 多机通信,键盘输入显示,单片机设计
中图分类号:TN919
The Design of Single-chip serial communication with the man-machine interface
Abstract: With the development of science and technology, the modernization of production has an increasingly demanding for intelligent. How to have an access to field data and to control the production process become very important. Now, with the popularity of NC programming software, the importance of serial communication has become increasingly prominent. As the procedure of NC programming software is very long, the method of manually entered into the system are slow and tired, and also error-prone, therefore, most users will use the serial port to transfer into the system. Single-chip production has applied more and more widely in daily life. When the data exchanges take place in a longer distance data communication or request for use of limited hardware resources, serial interface must be used which is also core part
原创力文档

文档评论(0)