摘要本论文主要介绍的是多路温度的检测和报警,主要是采用51单片机、温度传感器DS18B20、和软件硬件的设计。智能多路温度检测系统设计以51单片机为核心,通过DS18B20温度传感器,因为DS18B20是数字芯片,所以不需要A/D转换,直接与单片机相连,将采集的数据交由51单片机处理,最后通过显示电路讲采样到的数据显示在四个数码管D4、D3、D2、D1上,并且通过动态显示,不需要大量的I/O口和驱动芯片,使系统更加简洁。八个DS18B20可以一起分布在同一条总线上。而且DS18B20的测温范围在-55℃~+125℃,最小测温误差能达到0.0625℃。51874
这个系统能通过温度传感器采样数据,然后对采样到的数据进行存储和显示,并且本系统添加了报警电路,当温度出现异常时,启动报警电路,以此来提醒用户。
该论文有图18幅,表7个,参考文献13篇。
毕业论文关键词:AT89C51 DS18B20 动态显示
Design of intelligent multi - channel temperature measurement system
Abstract
This paper introduces the detection of multi-channel temperature and alarm, is mainly designed with 51 single-chip, DS18B20 temperature sensor, hardware and software.
Intelligent multi-channel temperature detection system design is based on 51 single chip computer as the core, through the temperature sensor DS18B20, because the DS18B20 is a digital chip, so do not need A/D conversion, directly connected with the single-chip microcomputer, the collected data is processed by the singlechip. Finally, the display circuit about the sampled data display in the four digital tube D4, D2, D3, D1, and through the dynamic display, do not need a large number of I / O port and driving chip, it makes the system more simple. DS18B20 support multi point networking capabilities, multiple DS18B20 can be connected in parallel in the only three online, up to 8 parallel, to achieve multi-point temperature detection. And the temperature range of DS18B20 in-55℃~+125℃, the minimum temperature measurement error can reach 0.0625.
This system can through the temperature sensor sampling data, then the sampled data storage and display, and the system to add the alarm circuit, When the temperature is abnormal, start alarm circuit, in order to remind the user.
This paper has 18 figures, 7 tables, 13 references.
Key words: AT89C51 DS18B20 dynamic display
目 录
摘要…Ⅰ
Abstract….Ⅱ
目录..Ⅲ
图清单 Ⅳ
表清单…..…Ⅳ
1 绪论…1
1.1 引言…1
1.3 主要研究内容…1
1.4 本章小结2
2 多路温度检测系统硬件设计…3
2.1 温度检测系统的总体结构….3
2.2 AT89C51单片机3
2.3 DS18B20温度传感器…..10
2.4 数码管显示器….15
2.5 按键设计….19
2.6 报警电路设计….20
2.7 总电路设计21
3 多路温度检测系统软件设计..23
3.1 编程语言的选择.24
3.2 系统软件总体设计24
3.3 系统软件主流程.24
3.4 温度采集模块流程..25
4 总结….27
参考文献..…28
致 谢…..…29
附 录..30
图清单
图序号 图名称 页码
图2-1 系统原理框图 3
图2-2 单片机管脚图