摘要温度控制测量具有广泛的应用前景,在各种行业中都占有重要的位置,以单片机为控制核心完成对温度信息的存储、实时控制、检测以及数字显示应用到越来越多的领域。这对于提升产品质量、保障生产安全、节约能源减少污染等都有重要的作用。42908
本毕业设计是从降低成本、扩大适用范围,提高测温系统运行的稳定性、可靠性的设计目的出发,采用MSP430G2单片机为控制核心,以单线数字温度传感器DS18B20来完成温度信号的采集,温度以数宇的方式显示在LCD1602液晶上,通过上位机远程操作监控,最终实现温度的采集、显示、报警、设置。并且本文重点阐述了系统的硬件构成和软件编程的设计过程。测温系统硬件构成有六部分:电采集模块、源及复位模块、声光报警模块、串口通信模块和显示模块。
本文最终完成了基于MSP430G2,以DS18B20为温度传感器,将温度以数字的方式显示在LCD1602上的温度传感器,并将单片机通过串口通信与上位机实现交互。
关键词:MSP430G2;温度控制;DS18B2O;LCD1602
毕业论文设计说明书外文摘要
Title Temperature acquisition system based on MSP430
Abstract
Temperature control the appearance prospect, in various industries will occupy an important position, More and more applications in the field to control the core of the temperature information storage, real-time control, detection and digital display. This has an important role in production safety, improve product quality, energy conservation and so on.
This design is set out from the lower development costs, expand the scope of application, improve the stability and reliability of system operation is designed, using MCU MSP430G2 as control core, with a single bus digital temperature sensor DS18B20 to complete the collection of temperature signal and temperature as a number of buildings display on the LCD1602, through the PC remote monitoring operation, and ultimately achieve the temperature acquisition, display, alarm, set. And this paper focuses on the system's hardware structure and software programming design process.The temperature measurement system hardware consists of six parts: power supply and reset module, acquisition module, sound and light alarm module, serial communication module and display module.
In this paper, based on MSP430G2 eventually, DS18B20 as temperature sensor, the temperature in the form of digital display on the LCD1602 temperature sensor, and single chip microcomputer with the PC via a serial port communication interaction.
Keywords MSP430G2;temperature control;DS18B20;LCD160
目录
1 绪论 1
1.1背景和研究意义 1
1.3温度测量的展望 2
1.4 MSP430的简介及功能特性 3
1.4.1 MSP430的简介 3
1.4.2 MSP430的功能特性 3
1.5 课题研究的主要内容 4
1.5.1 研究内容 4
1.5.2 论文安排 5
2 系统总方案设计 6
2.1 基于MSP430的温度采集系统的结构 6
2.2 温度传感器的选型 6
2.2.1热电偶: 7
2.2.2热电阻 7
2.2.3集成温度传感器