毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C51单片机的数字温度计设计+程序+电路图

时间:2020-09-20 10:47来源:毕业论文
基于单片机AT89C51,设计数字温度计控制系统,解决了温度读数不易分辨、不准确和测量精度低等问题。首先,结合数字温度计的控制要求,提出了单片机控制系统设计方案

摘 要:随着时代的进步和发展,单片机技术已经普及到我们生活、工作、科研、各个领域,已经成为一种比较成熟的技术。本文基于单片机AT89C51,设计数字温度计控制系统,解决了温度读数不易分辨、不准确和测量精度低等问题。首先,结合数字温度计的控制要求,提出了单片机控制系统设计方案。然后,分别经行数字温度计控制系统的硬件设计和软件设计。硬件部分包括单片机最小系统、数码管、温度传感器DS18B20。软件部分,给出程序流程图并利用C语音编程。同时,利用Proteus电路仿真软件,验证了该电路原理的正确性。最后,焊接制作数字温度计的单片机控制系统电路板,并结合编程器调试程序。实验结果表明,该系统具有抗干扰能力强、性能可靠、结构简单等优点。56488

毕业论文关键词:数字温度计,89C51,DS18B20,编程

Abstract: Along with the progress and development of The Times, microcontroller technology has spread to our life、work、 scientific research and each area. It has become much more mature technology. This article is based on single chip microcomputer AT89C51, digital thermometer control system, and it has solved the problem that temperature reading is not easy to distinguish, inaccurate and low measurement precision problem. First of all, combined with the control requirements of digital thermometer, single-chip microcomputer control system design scheme is proposed. Then, it is respecting in hardware design and software design of the control system of digital thermometer. The hardware part includes single chip microcomputer minimum system, digital tube, the temperature sensor DS18B20. Software part, program flow chart is given voice and use C programming. At the same time, the use of Proteus simulation software to verify the correctness of the proposed circuit principle. Finally, circuit board welding production digital thermometer single-chip microcomputer control system, and connecting with the programmer to debug program. The experimental results show that the system has strong anti-interference ability, reliable performance, simple structure, etc advantages.

Keywords: Digital thermometer, 89C51, DS18B20, Programming

目   录

1  绪论 4

1.1  选题的背景 4

1.2  单片机的发展和现状 4

1.3  数字温度计简单介绍 5

2  数字温度计的方案设计 5

2.1  设计目的 5

2.2  数字温度计的整体方案 5

3  数字温度计的硬件设计 6

3.1  AT89C51单片机的介绍 6

3.2  数码管显示 7

3.3  DS18B20介绍 8

3.4  数字温度计的工作原理 8

3.5  数字温度计的整体电路 9

4  数字温度计的软件设计 10

4.1  主程序设计 10

4.2  DS18B20初始化 11

4.3  DS18B20温度传感器与单片机的接口电路 12

4.4  数码管显示与单片机对接 14

5  仿真与实验 16

5.1  仿真结果 18

5.2  实验与调试 AT89C51单片机的数字温度计设计+程序+电路图:http://www.751com.cn/zidonghua/lunwen_61009.html

------分隔线----------------------------
推荐内容