摘要
介绍了一种基于LabVIEW和DS18B20温度传感器的单总线多点测温系统。多个温度传感器DS18B20通过单总线结构连接到单片机的一个双向口,单片机和PC机通过串口连接。在主机中用LabVIEW软件建立友好的用户界面,在该界面中可以通过串口向单片机发送命令,接收温度数据;并对数据进行显示、保存等处理。单片机响应主机的命令,发送主机选中的温度传感器的数据。利用该系统可以方便地实现远距离的多点温度测量。
This paper introduces a multiple-dot temperature measurement system base on LabVIEW and temperature sensor DS18B20.Lots of temperature sensors are connected to a port of MCU.The MCU is connected to a PC throuth the serial interface.The paper uses LabVIEW building a friendly user interface,can send command to MCU,receive and display tem-perature data,and also the data can be saved.The MCU acknowledges the command from PC,and sends the data which is selected by user.It is convenient to relize remote multipe-dot temperature measure by using this system
出处
《工业控制计算机》
2010年第9期25-26,共2页
Industrial Control Computer