资源预览内容
第1页 / 共53页
第2页 / 共53页
第3页 / 共53页
第4页 / 共53页
第5页 / 共53页
第6页 / 共53页
第7页 / 共53页
第8页 / 共53页
第9页 / 共53页
第10页 / 共53页
亲,该文档总共53页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
XXXXXXXXXX 本科生毕业设计(论文) 学 院:XXXXXXXXXXXXXXX 专 业: 自动化 学 生: XXX 指导教师: XXXXXXXX 完成日期:XXXXXXXXXXXXXXX 基于 MSP430 单片机温度测量系统设计 总计 毕业设计(论文) 47 页 表格 6 个 插图 19 幅 基于 MSP430 单片机的温度测量系统设计 I 摘 要 温度控制仪表具有广泛的应用前景,在各种行业中都占有重要的位 置,越来越多的领域应用到以单片机为控制核心,用液晶显示作为显示 终端的数字化控制设备,通过单片机对被控对象进行智能控制。 本设计是从降低开发成本、扩大适用范围、系统运行的稳定性、可 靠性的设计目的出发,采用 MSP430F149 单片机为控制核心、以单线数字 温度传感器 DS18B20 来完成温度信号的采集、温度以数宇的方式显示在 LCD1602 液晶上,最终实现温度的采集、显示。并重点阐述了系统的硬 件构成和软件编程的设计过程。其中硬件构成有六部分:电源及复位模 块、采集模块、报警模块、键盘输入模块和显示模块。 MSP430F149是一种16位内含FLASH型芯片的单片机, 具有高速运算、 开发设备简便、可现场编程等特点,这给控制系统的设计带来了极大的 便利性。各个模块的电路原理图都由 protel 来完成。 关键词:MSP430F149 ;温度控制;DS18B2O;LCD1602 基于 MSP430 单片机的温度测量系统设计 II Abstract Temperature control the appearance prospect, in various industries will occupy an important position, more and more fields to a monolithic integrated circuits to control the use led as a display terminal equipment by some monolithic integrated circuits to control the object is intelligent control. The design is to reduce costs, expand the development of the scope and the system running stability, reliability, designed by MSP430F149 monolithic integrated circuits to control the temperature sensor and figures DS18B20 to complete the temperature of the collection, the temperature in the number of ways in led display LED1602, achieve the temperature of the collection and display and police. The minimum temperature values based on actual requirements, the keyboard for set, for automatic temperature control and other function, and the hardware and software system of the programming process the design of hardware to constitute a part of six modules, power and resets the collected, keyboard, the module display module and. MSP430F149 is a 16-bit flash chips including the type of operation of a monolithic integrated circuits, the development of device easy, but the characteristics and programming for the control system design a great convenience., all modules of a schematic diagram of a circuit are protel to complete. Key words: MSP430F149;temperature control;DS18B20;LCD1602 基于 MSP430 单片机的温度测量系统设计 III 目 录 摘 要.I Abstract.II 第 1 章 绪论.1 1.1 MSP430 单片机概述.1 1.2 MSP430 的特点.2 1.3 课题研究的主要内容.4 1.3.1 研究内容 .4 1.3.2 论文安排 .4 第 2 章 系统总体方案设计.5 2.1 控制系统的原理图.5 2.2 温度测量原理.5 2.3 MSP430F149 单片机.6 2.3.1 MSP430F149 的组成.6 2.3.2 MSP430F149 的特点.7 2.3.3 MSP430F149 的定时器及转换模块.7 2.4 单线数字温度传感器 DS18B20.8 2.4.1 DS18B20 的技术性能:.9 2.4.2 DS18B20 的应用范围.9 2.4.3 DS18B20 产品型号与规格.10 2.4.4 温度传感器 DS18B20 特点:.10 2.4.5 DS18B20 使用中注意事项.10 2.4.6 温度传感器 DS18B20 内部结构 .11 2.5 数据采集系统.13 第 3 章 硬件部分.15 3.1 硬件电路图 .15 3.2 电源及复位模块 .16 3.3 键盘输入模块 .18 3.4 报警模块.19 基于 MSP430 单片机的温度测量系统设计 IV 3.4.1 功率放大器 LM386 .19 3.4.2 LM386 内部原理.21 3.5 显示模块 .23 3.5.1 LCD1602 基本参数及引脚功能 .23 3.5.1.1 1602LCD 主要技术参数 .24 3.5.1.2 引脚功能说明.24 第 4 章 软件部分.29 4.1 最小系统设计 .29 4.2 采集模块.30 4.3 键盘输入模块.31 4.4 显示模块.34 4.5 报警模块.37 总结.38 致谢.39 参考文献.40 附 录.41 基于 MSP430 单片机的温度测量系统设计 1 第 1 章 绪论 本章简要介绍单片机技术在工业上的主要应用, MSP430 单片机的概 述及特点,以及课题研究的主要内容及论文安排。 1.1 MSP430 单片机概述 MSP430 系列单片机是美国德州仪器(TI)1996 年开始推向市场的 一种 16 位超低功耗的混合信号处理器(Mixed Signal Processor) 。称之为 混合信号处理器,主要是其针对实际应用需求,把许多模拟电路,数字 电路和微处理器集成在一个芯片上。德州仪器 1996 年到 2000 年初,先 后推出了 31X、32X、33X 等几个系列,这些系列具有 LCD 驱动模块, 对提高系统的集成度较有利。 每一系列有 ROM 型(C) 、OTP 型(P) 、和 EPROM 型(E)等芯片。 EPROM 型的价格昂贵,运行环境温度范围窄,主要用于样机开发。这 也表明了这几个系列的开发模式,即:用户可以用 EPROM 型开发样
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号