摘 要单片机又称微控制器,以体积小、功能全、性价比高等诸多优点而独具特色,也因此单片机技术已经普与到我们生活、工作、科研等各个领域,本文主要介绍了一个基于 AT89S51 单片机的测温报警系统,描述了 AT89S51 单片机的基本信息以与利用 DS18B20 数字温度传感器开发测温系统,对其外围硬件连接、软件编程等模块都进行了详细介绍
该系统可以方便的实现实现温度采集和显示,并可根据需要任意设定上下限报警温度,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生活和工作、农业生产中的温度测量
DS18B20 与 AT89S51 结合实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景
关键词:单片机 AT89S51 温度传感器 DS18B20 数字温度报警器AbstractSingle chip, also known as micro-controller, small size, full-featured, cost performance advantages and unique, and therefore SCM technology has spread to our lives, work, research and other fields, this paper describes a test based on AT89S51 microcontroller temperature alarm system, describes the basic information and microcontroller AT89S51 DS18B20 digital temperature sensor development using temperature measu