USB保温杯垫软件设计

 2022-01-18 12:01

论文总字数:25299字

目 录

一、绪论 1

1.1 项目 1

1.1.1 项目背景及意义 1

1.1.2 项目研究目标 1

1.2 国内外研究现状 1

1.2.1 单片机国内外发展状况 2

1.2.2 计算机USB国内外发展现状 2

1.2.3 桌面应用程序国内外发展现状 3

1.3 本文主要研究工作 3

1.4 本章小结 3

二、项目设计方案 4

2.1 方案对比 4

2.2 方案选择 4

2.3 方案总体框图 4

2.3 本章小结 5

三、项目技术 6

3.1 单片机部分 6

3.1.1 PTC加热模块 6

3.1.2 DS18B20测温部分 7

3.1.3 LCD1602显示 7

3.1.4 串口通信 8

3.2 上位机部分 8

3.3 本章小结 9

四、系统设计与功能实现 10

4.1 单片机程序设计流程 10

4.2 串口通信设计流程 11

4.3 上位机软件设计步骤 12

4.4 本章小结 12

五、实验测试与结果分析 13

5.1 实验一:单片机软件程序测试 13

5.2 实验二:上位机程序测试 15

5.3 总实验:最终结果测试 17

5.4 本章小结 18

六、论文总结 19

6.1 总结 19

6.2 思考与展望 19

参考文献: 20

附录一 单片机部分程序 21

附录二 上位机部分程序 27

致谢 31

USB保温杯垫软件设计

叶敏

,China

Abstract:

The task of this graduation design is that two person works together to complete the simulation USB thermal insulation cup and cushion production. I am responsible for completing the program design of the serial communication between the 51 singlechip and the upper computer (PC machine), the visual form design of the upper computer, realizing the function of real-time communication between PC and 51 singlechip, complete the design of DS18B20 temperature measurement program to transmit temperature data to single chip microcomputer And the upper computer window can manually or intelligently control the opening and closing of the insulation function.

The MCU software environment used in this graduation project is Keil uVision4 software platform. On this platform, the heating module switch program, DS18B20 temperature measuring program, PL2303 serial communication program and LCD1602 LCD program are designed and compiled by C language on this platform.

The host computer software environment is visual studio 2012. On this platform, c# language is used to program the host computer based on WinForm visualization form.

The temperature data was measured by DS18B20 temperature measurement chip and passed to 51 single chip microcomputer, then the temperature information was displayed by LCD, and the temperature data was compared to the temperature data accurately. Through the serial communication between the single chip microcomputer serial communication receiver and the window serial communication receiving and sending program, it can realize the two-way interactive real-time communication function between the single chip computer and the PC machine. At this time, the temperature data is sent to the window interface display, and the temperature is compared with the LCD, so as to ensure the accuracy of the data, and write the upper master at the same time. The machine program enables the form interface to send instructions to control whether the heater works and when to work, so as to achieve the expected design goals.

Key words:USB thermos cup;STC89C52;VS2012;serial commu

一、绪论

本章是此次毕业论文设计的绪论部分,将提到本次毕业设计的项目背景和意义,这些内容将会介绍本次毕设题目产生的原因,讨论本次毕业设计的合理性,还会介绍论文设计项目研究目标,以及本次毕业设计所用技术在国内外的研究现状,和本文的主要研究工作这些内容。

1.1 项目

1.1.1 项目背景及意义

背景:面临着整个世界内,互联网的普遍运用,IT行业迎来一股世纪热潮。高额的薪水、火热的岗位、舒适的办公环境使得大量人才前赴后继的涌入IT行业。这就导致了每年都有大量的毕业学生和社会人士朝IT行业这颗大树靠拢,而IT行业人员的增多带来的影响明显是巨大的,这个行业的人员不需要做繁重的体力活,而是只要待在一个办公桌旁就能进行每天的工作。

剩余内容已隐藏,请支付后下载全文,论文总字数:25299字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;