1、 I 摘 要 近年来随着计算机在社会领域的渗透, 单片机的应用正在不断地走向深入,同 时带动传统控制检测日新月益更新。而智能温度控制系统的设计是为了满足市场对 成本低,性能稳定,可远程监测,控制现场温度的需求而做的课题,具有较为广阔 的市场前景。 此硬件系统主要介绍基于AT89C51单片机和DS18B20数字温度传感器的温度测 量系统。利用AT89C51单片机采集温度点的温度,实现温度显示和报警等功能。该 系统主要包含了温度检测电路,报警电路,电源电路,显示电路。其中,温度检测 电路采用DS18B20,它具有直接输出数字量的特点。报警电路则由蜂鸣器、发光二级 管、限流电阻和三极管组成。电源电路
2、主要由LM7805构成。显示电路则采用体积小、 功耗低的1602液晶显示器。基于AT89C51单片机的单总线温度测控系统具有硬件组 成简单、读数方便、精度高、测温范围广等特点,在实际工程中得到广泛应用。 关键词:数字温度传感器 AT89C51单片机 温度测量 II Abstract In recent years,with the penetration of computer in the social sector,MCU application is continuously going deerper and deeper, and promote the traditional co
3、ntrol test development day and night. Intelligent temperature control system is designed to meet the market for low cost,stable performance,remote monitoring and control the temperature, and it has a broad market prospect. This system of hardware mainly introduces a measuring system based on AT89C51
4、 single-chip microcomputer and digital temperature sensor DS18B20 temperature. AT89C51 single-chip microcomputer is used for collection of the temperature of temperature points,temperature display, alarm functions. The system mainly includes temperature detection circuit, alarm circuit, the power supply circuit, show circuit. While, the temperature detection circuit choose DS18B20, it has the characteristics of the digital quantity output. The alarming circuit consist of the buzzer, leds, curre