摘要
为了检测现场温度,并直观反映其变化趋势,设计了基于STC89C52单片机的温度检测系统。利用数字温度传感器DS18B20采集温度信号,该信号送入STC89C52单片机处理,后由液晶显示器LCD12864(ST7920)显示温度值,并绘制出温度变化曲线。实测结果表明,系统可靠性、测试精度及温度趋势曲线绘制达到设计要求。
A kind of the temperature detection system based on MCU STC89C52 is presented in this paper to detect the temperature on spot. The digital temperature sensor DS18B20 is applied to collecting the digital signal, which is sent to the MCU STC89C52 for processing. The temperature value and trend line are displayed on liquid crystal display LCD12864 (ST7920). Experimental result shows the reliability and accuracy of the system can meet the design requirement.
出处
《现代电子技术》
2012年第22期10-13,共4页
Modern Electronics Technique