基于LabVIEW的无线温度监测系统设计

2017-05-22 16:47:23段文勇李燕
科技视界 2017年4期
关键词:单片机

段文勇+李燕

【摘 要】本设计将传感器技术、射频技术以及计算机技术相结合,充分利用了单片机快速灵活的特点和虚拟仪器低成本、功能强的优点。硬件部分主要由单片机、温度传感器、无线传输模块、串口通信等部分组成,实现了温度的采集,单片机间数据的无线传输以及单片机与上位机的通信。上位机采用LabVIEW创建人机交互式界面,实现了数据的显示和记录,可进行温度的上下限设置、报警。

LabVIEW在测量领域的强大功能可以替代传统仪器完成数据的处理。整个系统具有传输数据速度快,适应性好和可靠性高等优点,在现实生产生活中具有较高的实用价值。

【关键词】温度检测;无线通信;单片机;串口通信;LabVIEW

【Abstract】The design combines the sensor technology,radio frequency technology and computer technology to make full use of the characteristics of fast and flexible MCU and the advantages of low cost and strong function of virtual instrument.The hardware part is mainly composed of MCU, temperature sensor,wireless transmission module,serial communication and so on.The temperature acquisition,the wireless transmission of data between single chip microcomputer and the communication between the single chip microcomputer and the host computer are realized.The host computer uses LabVIEW to create an interactive interface,which can display and record the data. It can be carried out on the upper and lower limits of the temperature alarm.LabVIEWs powerful function in the field of measurement can replace the traditional instrument to complete the data processing. The whole system has the advantages of high speed of data transmission, good adaptability and high reliability,and has high practical value in real life.

【Key words】Temperature measurement;Wireless communication;MCU;Serial communication;LabVIEW

0 引言

隨着传感器技术的发展,温度的检测已经成为一种常见的技术。传统的数据传输方式均是通过有线电缆来实现的,有线通讯存在布线难、检测难等问题。而无线通讯技术的日渐成熟,困扰其发展的传输速率和抗干扰能力得到大大提升,无线温度检测成为必然的选择,其成本低、建网快捷、传输距离长等优点使其拥有广阔的发展前景[1-4]。

1 系统总体设计

本设计通过DS18B20测量温度并传送给单片机从机,nRF905无线模块完成单片机从机到主机的数据传输,单片机主机与LabVIEW通讯的同时通过LCD1602显示温度,LabVIEW完成温度的显示、记录等功能。总体设计方案如图1所示:

2 系统硬件设计

系统硬件部分由单片机最小系统、温度检测模块、无线传输模块、液晶显示模块、串口通信模块组成。……

登录APP查看全文

猜你喜欢
单片机
基于单片机的SPWM控制逆变器的设计与实现
电子制作(2019年13期)2020-01-14 03:15:28
基于单片机的层次渐变暖灯的研究
电子制作(2019年15期)2019-08-27 01:12:10
基于单片机的多功能智能插排
电子制作(2019年11期)2019-07-04 00:34:48
基于单片机的便捷式LCF测量仪
电子制作(2019年9期)2019-05-30 09:42:02
小议PLC与单片机之间的串行通信及应用
电子制作(2018年12期)2018-08-01 00:48:04
MSP430单片机在仿真中要注意的几点问题
电子制作(2017年9期)2017-04-17 03:00:53
基于单片机的平衡控制系统设计
电子制作(2017年19期)2017-02-02 07:08:27
基于单片机的三维LED点阵设计
电子制作(2016年21期)2016-05-17 03:52:51
Microchip推出两个全新PIC单片机系列
基于Proteus的单片机控制系统的仿真设计