第一范文网 - 专业文章范例文档资料分享平台

数字温度计显示设计

来源:用户分享 时间:2025/5/29 9:04:01 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

ABSTRACT:With the rapid development of modern information technology,

microcontroller technology has become quite common, real-time detection and automatic control in the microcomputer application systems, microcontroller is often used as a core component to use.

This paper introduces a single-chip control device for main AT89S52 for temperature sensor DS18B20, to transmit data by LED screen, realize temperature display of the new digital thermometer. This digital thermometer measurement range is -10 ~ 120 ℃, the display resolution ℃ for 0.1 ℃, error acuities + 0.5.As a result of the temperature sensor DS18B20 as the test components compared with the traditional thermometer, this paper designed digital thermometer reduce external hardware circuit, which readings convenient, temperature measuring range, temperature measurement precision, the digital display characteristics, wide application scope. DS18B20 thermometer can still in high temperature alarm, long-range multi-point measurement temperature control aspects of application development. The system structure is simple, strong anti-jamming capability, suitable for all kinds of environment temperature measurement on the site, and can be widely used in industrial control temperature system, thermometer, consumer products and other temperature measurement and control system.

Keywords: SCM AT89S52 single; Temperature sensor DS18B20; LED display

附录 A 主电路原理图

附录 B 实物图

附录 C 程序

TEMPL EQU 21H

TEMPH EQU 22H

TEMPLC EQU 23H TEMPHC EQU 24H TEMPHEAD EQU 25H FIRST BIT 00H TEMPDIN BIT P3.7 FLAG BIT 01H

ORG 0000H LJMP START ORG 002BH

START:MOV SP,#4AH CLSMEM:MOV R0,#20H

MOV R1,#5FH

CLSMEM1:MOV R0,#00H INC R0

DJNZ R1,CLSMEM1 MOV PSW,#00H LJMP MAIN

MAIN:LCALL DISP0 JNB FIRST,MAIN2

LCALL READTEMP1 LCALL CONVTEMP LCALL DISPBCD LCALL DISP0

MAIN2:LCALL READTEMP

SETB FIRST

LCALL DISP0 SJMP MAIN

INITDS1820:SETB TEMPDIN

搜索更多关于: 数字温度计显示设计 的文档
数字温度计显示设计.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c302q93xihd1is530855j3blzb1bwa600hp0_5.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top