目 录
1.系统设计与框图 ..................................................2
2.系统硬件主要电路 .................................................2
2.1MSP430 单片机模块...................................................................2
2.1.1 MSP430 单片机工作特点........................................................3
2.1.2 MSP430 单片机最小系统........................................................3
2.2 LCD1602 液晶显示模块...............................................................4
2.2.1 LCD1602 引脚功能.............................................................4
2.2.2 LCD1602 指令说明.............................................................5
2.2.3 LCD1602 操作时序.............................................................6
2.3.DS18B20 温度采集模块...............................................................7
2.3.1 DS18B20 封装形式及引脚功能...................................................7
2.3.2 DS18B20 内部结构.............................................................8
2.3.3 DS18B20 测温原理.............................................................9
2.4.串口通信模块 .....................................................................10
2.4.1 串行通信概述 ...............................................................10
2.4.2 RS232 接口电路..............................................................11
3.系统软件设计 ....................................................12
3.1 主程序............................................................................13
3.2 DS18B20 温度采集程序..............................................................13
3.3 LCD1602 液晶温度显示程序..........................................................15
3.4 串口程序..........................................................................16
4 .系统调试与结果分析 .............................................17
4.1 LCD1602 液晶温度显示..............................................................17
4.2 串口通信上位机温度显示............................................................17
4.3 串口示波器显示温度变化曲线........................................................18
5.总结 ............................................................19
参考文献: .........................................................19