基于STC89C52单片机的数字温度计成员姓名:邹远淳徐冰孙顺新唐高峰专业班级:自动化2班指导教师:***目录摘要··················································P11绪论·················································P2 2系统组成及工作原理···································P32.1总体设计方案········································P32.2系统模块组成········································P33系统电路设计·········································P43.1 STC89C52单片机主控制器······························P43.2 LED数码管显示模块···································P53.3温度检测模块·········································P74系统软件设计·········································P85系统测试·············································P95.1主要指标测试·········································P95.2测试结果分析·········································P9参考文献·················································P10附录··················································P11基于STC89C52单片机的数字温度专业:自动化成员姓名:邹远淳徐冰孙顺新唐高峰指导教师:杨伟新摘要温度的检测是工业生产中比较典型的应用之一,随着传感器在生产和生活中的更加广泛的应用,利用新型数字温度传感器实现对温度的测试与控制得到更快的开发。
本文设计了一种基于STC89C52单片机的温度检测系统,该系统将温度传感器DS18B20接在控制器的端口上,对温度进行采集,将采集到的温度值显示在LED数码管上。
经实验测试表明,该系统设计和布线简单,结构紧凑,有可读性高,反应速度快,测量准确,抗干扰能力强,性价比高,扩展方便等优点,具有关阔的应用前景。
关键词STC89C52,数字温度计,DS18B20ABSTRACTTemperature detection is one of typical application in industrial production.As the sensor is more widely used in the production and life,Using new digital temperature sensor for temperature test and temperature control get faster developed.This paper designs a temperature detection based on STC89C52 single-chip microcomputer system.The system will be the temperature sensor DS18B20 connect to a port on the controller,collect temperature,collected temperature value will be displayed on the LED digital tube.Through experimental tests,the system design and wiring is simple,compact-sized,there are readable,quick response,accurate measurement,high EFT,high cost performance,convenient extension and other benefits,it has a sprawling application prospect.Key Words: STC89C52,Digital thermometer,DS18B201绪论随着人民生活水平的不断提高,单片机控制无疑是人们追求的目标之一,它所给人带来的方便是不可否定的,其中数字温度计就是一个典型的例子。