摘要
设计了基于PC与STC12C单片机串口通信的温度采集系统。STC12C单片机作为下位机,利用数字温度传感器DS18B20采集现场温度,同时通过串口RS232将温度值上传给PC,PC实时显示温度和变化曲线。实际运行表明,系统运行可靠,界面清楚直观,功能达到设计要求。
A kind of the temperature acquisition system based on serial communication between PC and STC12C MCU is de-signed in this paper . Taking STC12C MCU as lower machine , on-site temperature are collected by DS18B20 , then the data are transmited to PC through serial port , temperatures and their curves are displayed in the PC . The actual test shows the system , with character of relable operation and quite clear interface , realizes the design requirements .
出处
《微型机与应用》
2014年第16期15-17,共3页
Microcomputer & Its Applications