1
摘要
进入 21 世纪,电子产品已经开始应用到每一个方面,当人类向智能电子进军,单片机
由于其物美价廉而受到大家的欢迎, 已经普及到我们生活、工作、科研、各个领域。
本文主要介绍了一个基于 89S51 单片机的测温系统,详细描述了利用数字温度传
感器 DS18B20 开发测温系统的过程, 该系统可以方便的实现实现温度采集和显示,
并可根据需要任意设定上下限报警温度,它使用起来相当方便,具有精度高、量
程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生活和工、农业生产
中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅
助扩展。
关键词: 单片机 AT89S52 DS18B20 温度传感器 数字温度计
Abstract
In the 21
st
century, electronically machines have been used in any side of our live. When the
human beings are coming to electronically world, SCM becomes very popular because of its
cheaper and has good quantity. And now it is used in our living, work, scientific research and so
on. It will introduce one thermometer which is based on 89C51 in this essay. So it will describe
the development of the thermometer which is using DS18B20 as its sensor detail. This system can
be used conveniently for temperature collected and expressed, and can be made the limitation of
the up and down. Due to it is convenient, accurate, wide range, high micro detector, little volume
and less power and so on. So it is suitable for us to use in living and agricultural product. And also
it can be used as a module adds to any other system.
Key words: SCM AT89C51 DS18B20 Temperature sensor Digital thermometer