摘 要:基于MSP430设计制作的无线低功耗温度测量系统,能够测量和存储被测物体上多个节点的温度,主要由温度采集编码发射节点、基站接收模块、RS485中继器、数据转换电路及PC上位机组成。本系统利用DS18B20温度传感器进行被测节点温度采集,通过对被测节点温度数据进行编码,实现多个节点温度测量;通过NRF24L01实现温度数据无线传输;通过RS485中继器实现温度数据的长距离有线传送;最后通过RS485转USB模块将温度数据传输到基于Labview的上位机显示并存储当前温度值。温度采集编码发射节点采用MSP430F2011为主控芯片,通过定时采集发送实现低功耗,使用两节3V纽扣电池可供电2年以上,具有使用方便,适应性强,可靠性高,功耗低等特点,市场应用前景广阔。 55501
毕业论文关键词:关键词:温度测量,无线通信,MSP430,低功耗,Labview
Abstract: A low power consumption wireless temperature measurement system is designed based on MSP430 in this thesis, with which the temperature of multiple nodes on the object under test can be measured and stored. The system is mainly composed of temperature acquisition coding launch nodes, base station receiving module, RS485 repeaters, data conversion circuits and PC. DS18B20 temperature sensor is adopted to collect the nodes temperature data, and when it is encoded, multiple nodes temperature measurement can be implemented. Wireless transmission of data is implemented by NRF24L01, long distance cable transmission of data is implemented by RS485 repeaters, and the current temperature value transmitted to PC by RS485 to USB converter is displayed and stored by Labview finally. The MSP430F2011 is used as the master control chip for temperature acquisition coding launch node, and low power c onsumption can be realized by timing data sending and collecting. The system can be powered over two years by two 3V button battery, and with advantages of easy to use, adaptable, high reliability, and so on, will have wide application prospect in the market.
Keywords: temperature measurement, wireless communication, MSP430,
low power consumption, Labview
目 录
1 引言 4
2 系统总体方案设计 4
2.1 系统总体方框图 4
2.2 MSP430单片机芯片 5
2.3 NRF24L01芯片 7
2.4 DS18B20温度传感器 7
3 系统硬件设计 8
3.1 温度采集编码发射节点 8
3.2 基站无线接收转RS485发送模块 11
3.2.1 电源模块 11
3.2.2 MSP430单片机处理单元 13
3.2.3 RS485串口通讯单元 13
3.2.4 防雷电路 14
3.3 RS485中继器 15
3.4 数据转换电路 16
3.5 PC上位机 16
4 系统的软件设计 17
4.1 温度采集编码发射节点程序设计 17
4.1.1 程序流程图 17
4.1.2 程序部分代码 18
4.2 基站接收模块程序设计 18
4.2.1 程序流程图 18
4.2.2 程序部分代码 18