单片机数字温度计课程设计报告(1)

单片机原理与接口技术

课程设计

题目:数字温度计课程设计报告

院 系:工学院电气与电子工程系 专 业:电气工程及其自动化 班 级: 姓 名: 学 号: 指导教师:

二〇一七年十二月

数字温度计课程设计报告

摘 要

在日常生活及工农业生产中经常要检测温度,传统的方式是采用热电偶或热电阻。其硬件电路和软件调试比较复杂,制作成本较高。近年来随着科技的飞速发展,单片机的应用正不断走向深入。所以我们选用单片机作为核心部件进行逻辑控制及信号的产生,用单片机本生的优势节约成本,使电路更简单。温度的检测与控制是工业生产过程中比较典型的应用之一,随着传感器在生产和生活中的更加广泛的应用,利用新型单总线式数字温度传感器实现对温度的测试与控制得到更快的开发。在这里介绍了一种基于STC89C51单片机的温度测量及控制系统的硬件结构以及C语言程序设计,该系统设计和布线简单,结构紧凑,体积小,重量轻,抗干扰能力强,性价比高,扩展方便,在大型仓库,工厂,智能化建筑等领域的多点温度检测中有广阔的应用前景。

关键词:DS18B20 STC89C51 温度测量

The Design Report of the Digital

Thermometer Course

ABSTRACT

Temperature is often detected in daily life and industrial and agricultural production. The traditional way is to use thermocouples or thermal resistors. Its hardware circuit and software debugging are more complex, and the production cost is high. In recent years, with the rapid development of science and technology, the application of MCU is going deep. Therefore, we choose the MCU as the core component for logical control and signal production, using the advantages of the single chip microcomputer to save cost and make the circuit more simple. Temperature detection and control is one of the typical applications in the industrial production process. With the wider application of sensors in production and life, the new single bus digital temperature sensor is applied to achieve faster development of temperature test and control. Here introduces a kind of hardware structure of the temperature measurement and control system of STC89C51 microcontroller and C language program design based on the system design and layout is simple, compact structure, small volume, light weight, strong anti-interference ability, high performance, easy to expand, the factory in large warehouse, and has wide application prospect in many the temperature detection in

the field of intelligent building.

Key words:DS18B20 STC89C51 temperature measurement

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4