【正文】
編號 20201035103 本科生畢業(yè)設計 基于單片機 AT89C51 數(shù)字溫度計的設計 Design of Digital Thermometer Based on AT89C51 Single Chip Microputer 2020 年 6 月 學 生 姓 名 專 業(yè) 電子信息科學與技術 學 號 1035103 指 導 教 師 分 院 電子分院 長春理工大學光電信息學院畢業(yè)設計 摘 要 隨著科技的不斷發(fā)展,現(xiàn)代社會對各種信息參數(shù)的精確度和準確度的要求都有了很大的增長,而如何準確和迅速的獲得這些參數(shù)就需要受制于現(xiàn)代信息技術的發(fā)展水平。 目前的智能溫度傳感器(亦稱為數(shù)字溫度傳感器)是在 20 世紀 90 年代問世的,是微電子技術、計算機技術和自動測試技術( ATE)的結合。它的特點是能輸出溫度數(shù)據(jù)和相關的溫度控制量,適合各種微控制器( MCU)。社會的發(fā)展使得人們對傳感器的要求也越來越高,現(xiàn)在的溫度傳感器正在基于單片機的基礎之上從模擬到數(shù)字式,從集成化到智能化、網(wǎng)絡化的發(fā)展, 并且朝著多功能。高精度、總線標準化、高安全性和可靠性、開發(fā)網(wǎng)絡傳感器和虛擬傳感器、研制單片測溫系統(tǒng)等高科技的方向迅速發(fā)展。本文將介紹智能集成溫度傳感器 DS18B20 的結構特征和控制方法,并對以此傳感器, 89C51 單片機為控制器構成的數(shù)字溫度計測量裝置的工作原理和程序設計做了詳細的介紹。和傳統(tǒng)的溫度計相比它具有測量廣泛,讀數(shù)方便,測溫準確,輸出溫度采用數(shù)字顯示,主要用于對測溫要求比較準確的場所,或者是科研實驗室使用。該設計控制器使用 ATMEL 公司的 AT89S51 單片機,測溫傳感器使用 DALLAS 公司的DS18B20,用液晶顯示器來實現(xiàn)溫度顯示。 關鍵詞: 18B20 單片機 LED 長春理工大學光電信息學院畢業(yè)設計 ABSTRACT With the development of science and technology, precision and accuracy of modern society on various parameters of information requirements, there has been a lot of growth, and how accurate and fast access to these parameters will need to be subject to the level of development of modern information technology. Current smart temperature sensor (also referred to as digital temperature sensor) is launched in in the 1990 of the 20th century, is microelectronics technology, puter technology and automated testing technologies (ATE) bination. It features the output temperature data and related temperature control, suitable for various microcontroller (MCU). Society tends to make people39。s requirements have bee more sophisticated about sensors, temperature sensors are now based on singlechip industry from analog to digital, from integration to the development of intelligent, worked, and versatile. High accuracy, standardization, high security and reliability, to develop bus works sensors and virtual sensors, development of singlechip microputer temperature measuring system and the rapid development of high technology. This article describes the architecture of intelligent integrated temperature sensor DS18B20 feature and control method, and with this sensor, 89S51 singlechip controller working principle and design of a digital thermometer measurement unit is introduced in detail. And it has measured a wide range than traditional thermometers, reading, accuracy of temperature measurement, the output temperature with digital display, place used primarily for accurate temperature measurement requirements, or a research laboratory. The design of controller using ATMEL39。s AT89S51 singlechip, DS18B20 temperature sensor using the DALLAS pany, realizes with the LCD temperature display. Keywords: 18B20 Singlechip microputer LED 長春理工大學光電信息學院畢業(yè)設計 I 目 錄 第 1 章 前 言 ...................................................................................................................... 1 第 2 章 數(shù)字溫度計總體設計方案 ...................................................................................... 2 數(shù)字溫度計設計方案 ..................................................................................................... 2 總體設計框圖 ................................................................................................................. 2 第 3 章 數(shù)字溫度計硬件設計 .............................................................................................. 3 主控制器 AT89C51 ........................................................................................................ 3 AT89C51 的特點及特性: ...................................................................................... 3 管腳功能說明: ...................................................................................................... 3 片內振蕩器: .......................................................................................................... 5 芯片擦除: .............................................................................................................. 6 單片機 主板電路 ............................................................................................................. 7 溫度采集部分的設計 ..................................................................................................... 7 溫度傳感器 DS18B20.............................................................................................. 7 顯示部分電路設計 ....................................................................................................... 12 74LS164 引腳功能及特性 ..................................................................................... 13 溫度顯示電路 ........................................................................................................ 13 報警系統(tǒng)電路 ....................