登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 自动化 > 正文

基于MCS-51单片机的数字温度计

 2023-02-28 11:02  

论文总字数:17730字

摘 要

在我们活着的今天,每一个人都和温度有着紧密的关系。我们如果想活得更好,那么就必须去更好地认知与使用测量温度。须知,温度是非常常见的一种物理性质,我们在学习,工作,生活中都肯定会用到。一般来说,我们较常使用的是酒精,水银温度计,常用的测温元件有热电偶等,这些都较为不准确或者不便利,所以,这次用比较简单的方法去测量温度。

Stc89c52从属于mcs-51系统,是一种新型可靠的单片机。所以选用它。

我这次使用stc89c52和ds18b20去测量温度,严格定义,ds18b20是一种智能型温度测试元件,测量温度的范围从零下55摄氏度到125摄氏度。通过对stc89c52和ds18b20进行电路设计,利用三极管,晶振,按键的原件加以组合,从而组成一个温度测量装置。

它的功能比较强大,成本也比较低廉,使用方便快捷,体积上也比较小巧,方便携带。

关键词: 单片机;ds18b20温度传感器;数字温度计

Digital thermometer based on MCS-51 single chip microcomputer

Abstract

With the day of our life ,everybody has a close relationship with temperature. If we want to have a better life,so we should get a better understanding of the measured temperature. Temperature is a very normal physical property,We need it both for our life ,study and job.Generally speaking, alcohol, mercury thermometer which we often use ,common temperature measuring element such as thermal couple, these are less accurate or not convenient.So, we use a simple method to measure the temperature

Stc89c52 belongs to the MCS-51 system,it is a new type of reliable single chip microcomputer. So I choose it.

This time,we use stc89c52 and ds18b20 to measure the temperature, to be exact,ds18b20 is an Intelligent temperature measuring element , its measuring temperature range from minus 55 degrees Celsius to 125 degrees Celsius . By the design of STC89C52 and DS18B20 , by combining transistor, crystal, button to form a temperature measuring device .

Its function is quite powerful, the cost is also relatively low,the use of convenient and fast, the volume is relatively small, easy to carry.

Key words: SCM ; ds18b20 temperature sensor; digital thermometer

目录

摘 要..................................................................................................................................PⅠ

Abstract..............................................................................................................................PⅡ

第一章 引言 ................................................................................................................P1至P2

1.1 研究背景,前景与意义.............................................................................................P1

1.2 课题研究的任务.........................................................................................................P1 至P2

1.3 设计的流程..................................................................................................................P2

第二章 元器件的介绍.......................................................................................................P3至P6

2.1 单片机..........................................................................................................................P3至P4

2.2 ds18b20..........................................................................................................................P4至P6

  1. 电路图的简述设计...............................................................................................P7至P13

3.1 晶振..............................................................................................................................P7

3.2 按键..............................................................................................................................P8

3.3 蜂鸣器..........................................................................................................................P8至P9

3.4 三极管..........................................................................................................................P9

3.5 4个8段数码管............................................................................................................P10至P11

3.6 ds18b20.........................................................................................................................P11

3.7 单片机.........................................................................................................................P12至P13

  1. 程序的思路构造...................................................................................................P14至P16

4.1 延时函数......................................................................................................................P14

4.2 读取数据.......................................................................................................................P14

4.3 温度传感器初始化设定..............................................................................................P14至P15

4.4 独立按键......................................................................................................................P15

4.5 报警..............................................................................................................................P15至P16

  1. 结束语...................................................................................................................P17

第六章 致谢.......................................................................................................................P18

第七章 参考文献(References)......................................................................................P19

附录.....................................................................................................................................P20至P28

剩余内容已隐藏,请支付后下载全文,论文总字数:17730字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图