JIMI 发表于 20:50

基于单片机的温度控制器的设计与实现

论文编号:DZXX192  论文字数:10752,页数:32
摘要
 随着电子技术的发展,时间温度显示作为显示的基本技术在电子设计中显得更加举足轻重。
 本系统的设计电路以AT89S51单片机系统作为控制器,主要有数码管显示电路、功能控制电路、传感器电路、键盘电路4部分。能测量当前环境的温度,显示当前时间。吸收了硬件软件化的思想,大部分功能通过软件来实现,既保证了电路简单化,也使得系统的稳定性得到了很大提高。
 而本设计选择DS18B20作为温度传感器,由于其具有单总线的独特优点,可以使用户轻松地组建起传感器网络。它将温度信号直接转化为数字信号,实现了与单片机的直接接口,该仪器电路简单、功能可靠、测量效率高很好的弥补了传统温度测量方法的不足。所以我相信该系统在环境控制等多种场合具有较好的应用前景。
关键词:单片机,DS18B20,温度传感器,温度测量
ABSTRACT
 With the development of electronic technology,the availability of display functions becomes a standard of buying electronic production, time and temperature display as the basic display technology in the electronic design appears to be more important.
 Taking the single-chip AT89S51 as a controller, the designed circuit of this system mainly includes four parts which are the digital tube displaying circuit, the functional controlling circuit, the sensor circuit and the keyboard circuit. It can measure the current environment temperature and display the current time. To absorb the ideas of hardware are transforming software, most of the functions achieved through software, not only to guarantee the circuit simplistic, but also to improve the stability of the system.
 This system chooses the DS18B20 to be the temperature sensor. It can also make the net simple and reliable with its special 1-wire interface. In DS18B20, the temperature signals are converted into digital signals directly, and interface with a MCU, so that the signal conditioning circuit could be omitted. This instrument features simple circuit, reliable functions, and high2efficiency measurement. It covers the shortages of the traditional temperature measurement. Thus, I believe that the system has a good application prospect in these circumstances such as environmental mastery.
 Keywords: Single Chip, DS18B20,Temperature Sensor ,Measure-Temperature
目录
摘要 I
ABSTRACT II
第1章 引言 1
1.1 背景 1
1.2 研究内容 2
第2章 温度控制器的分析和设计方案 3
2.1 温度传感器 3
2.2 单片机的选择 5
2.3 总体方案 5
第3章 硬件电路设计与介绍 6
3.1 DS18B20温度传感电路 6
3.1.1 DS18B20测温原理 6
3.1.2 DS18B20的工作过程及时序 7
3.1.3 本系统温度传感电路 9
3.2 AT89S51单片机核心控制器 10
3.3 动态显示连接电路 11
3.4 电源电路 12
3.5 温度警示电路 13
3.6 复位电路 13
第4章 系统软件设计 14
4.1 主程序流程图 14
4.2  DS18B20的工作流程图 14
4.3 读出温度子程序 16
4.4 温度转换命令子程序 16
4.5 计算温度子程序 16
4.6 显示程序流程图 16
第5章 系统测试 19
5.1硬件的调试 19
5.2软件的调试 19
5.3 温度调试 20
第6章 结束语 21
致谢 22
参考文献 23
附录1 系统总电路图 24
附录2 实物图 25
附录3 源代码 26
页: [1]
查看完整版本: 基于单片机的温度控制器的设计与实现