毕业设计说明书格式

  • 格式:doc
  • 大小:1.90 MB
  • 文档页数:8

毕业设计说明书格式

2

附:

毕业设计说明书

题 目 ____________________ 姓 名

专 业

学 号

指导教师

郑州科技学院机械工程学院

二○一二年五月

小初、宋体、小三、宋体、版面页边距:上2.5cm,下2.5cm,左3cm,右2.5cm;

3

4

Abstract

This paper introduces a kind of temperature measurement instrumentation based

on MSP430 microcontroller, the

temperature measurement sensor DS18B20 as the

system core adopts serial communication with the micro processor. The system uses

micro processor MSP430F1121A controlling DS18B20 in order to get the temperature

data, which is displayed on the LED. The whole design includes two parts: micro

processor MSP430F1121A and the temperature measurement sensor DS18B20, the

MSP430 series have ultra-low consumption and high integration, and the temperature

measurement sensor only needs one pin to achieve the data communication and the

temperature measurement without any other outer instrument, the sensor has circuit

simplicity, credibility and easy program compiling. In addition, the sensor’s

communication distance is far and anti-jamming is good.

The experiment data are right. Which is due to the sensor’s high accuracy, The

price of the system design is below one hundred Yuan, it has high measurement

accuracy, the small error, the low consumption, high data transmission speed, the high

credibility, good compatibility, in a word, the design has certain development value.

Keywords:Temperature measurement; MSP430 Microcontroller; DS18B20

temperature sensor 小二、Times

New Roman、小四、Times

New Roman、小四、Times

5

目 录

1 数字式温度测试仪总体设计 .............................................. 1

1.1 数字式温度测试仪的设计要求 ............... 2

1.1.1温度测量范围 ................................ 2

1.1.2温度数据的采集 ............................ 2

1.1.3控制和管理 .................................... 2

1.2 总体设计思路 ........................................................ 2

1.3 方案总体设计 ........................................................ 3

2 系统的硬件设计 .......................................................... 5

2.1 主控制器 ........................................................... 5

2.2 译码驱动及显示单元电路 ........................................... 10

2.3 温度传感器 ......................................................... 12

3 系统软件设计 ............................................................ 18

结 论 ...................................................................... 27

致 谢 ...................................................................... 29

参考文献 ................................................................... 30

附 录 ...................................................................... 31

小二、黑体、加粗、1.5倍小四、宋体、加五号、宋体、小四、宋体、

6

1数字式温度测试仪总体设计

随着计算机与信息技术的发展,计算机测量控制系统在越来越多的场合得到了广泛应用。温度是许多监控系统中的一个重要参数,尤其是对于粮仓、写字楼、无人职守的机站等地点,温度的测量更是必不可少。比如在粮食存储过程中,为了保证粮食的存储品质,必须实时检测储存粮食的温度。过去粮食温度的检测是靠人工手测进行,不但测试速度慢、测试精度低,而且人员劳动强度非常大。而采用数字温度测试仪更加直观和准确。

1.1 数字式温度测试仪的设计要求

1.1.1 温度测量范围

在粮仓、楼宇、机站等场合,测量温度范围一般为周围环境温度的可能变化范围。测温传感器的测温范围在-55℃~+125℃之间,就可以满足测量需要。

1.1.2 温度数据的采集

测温点温度数据的采集,处理过程会随着测温传感器的不同而不同。如果选用模拟的温度传感器,就必须通过放大器、滤波器、A/D转换电路之后才能得到系统需要的数三号、黑体、1.5小三、黑体、1.5倍行距、四号、黑体、1.5倍行距、段前

7 字信号。因此,最好的选择是一种自带编码的数字温度传感器。

1.1.3 控制和管理

随着微电子技术的不断创新,以及大规模集成电路工艺水平的不断提高,出现了大量的低功耗、高性价比的微处理器。采用微处理器作为系统控制芯片,结合其相应的特点,使得整个系统设计成本降低,降耗节能,而且测量精度也大大提高,满足便携式温度测量系统的设计要求。

1.2 总体设计思路

系统的总体设计思路如图1-1所示: 总体设计思路的流程图表明,一个单片机系统的设计与开发难免有反复,这需要考虑周到、技术线路合理、推理严谨才可以减少这些反复。 小四、宋体、郑州科技学院

8

图1.1 方案总体设计

表2.3 引脚说明

引脚

PR35 符号 说

1 GND 地

2 DQ 单线运用的数据输入/输出引脚:漏极开路

3 VDD 可选VDD引脚。

传感信号A/D数据数据五号、宋体、单倍行距、五号、宋体、单倍行距、页眉为各章标