- 7
- 0
- 约 15页
- 2017-06-09 发布于北京
- 举报
摘 要
随着现代信息技术的飞速发展和传统工业改造的逐步实现,能够独立工作的温度检测与显示系统应用于诸多领域。传统的温度检测以热敏电阻为温度敏感元件。热敏电阻的成本低,需要外加信号处理电路,而且可靠性相对较差,测温准确度低,检测系统也有一定的误差。与传统的温度计相比,这次设计的是基于DS18B20的数字温度计,它具有读数方便,测温范围广,测温精确,数字显示,适用范围宽等特点。
在本设计中选用AT89C52型单片机作为主控制器件,采用DS18B20数字温度传感器作为测温元件,通过4位共阴极LED数码显示管并行传送数据,实现温度显示。本设计的内容主要分为两部分,一是对系统硬件部分的设计,包括温度采集电路和显示电路;二是对系统软件部分的设计,应用C语言实现温度的采集与显示。通过DS18B20直接读取被测温度值,送入单片机进行数据处理,之后进行输出显示,最终完成了数字温度计的总体设计。其系统构成简单,信号采集效果好,数据处理速度快,便于实际检测使用。
关键词:单片机AT89C51;温度传感器DS18B20;LED数码管;数字温度计
Design based Digital Thermometer DS18B20 Abstract
Along with the present information technologys swift development and traditional industry transformations gradual realization. Able to work independently of the temperature detection and display system used in many other fields. Traditional temperature examination take thermistor as temperature sensitive unit. Thermistors cost is low, needs the sur- signal processing electric circuit, moreover the reliability is relatively bad, the temperature measurement accuracy is low, the examination system also has certain error. the digit demonstrated that applicable scope wide and so on characteristics.
Used in the design AT89C51 MCU as the main control including temperature gathering electric circuit and display circuit; Second, to the system software parts design, realizes temperature gathering and the demonstration using the C language. DS18B20 measured by direct reading temperature values,and transfer Data into MCU,and output to show,this is the design of the Digital Thermometer. Its system constitution is simple, the effect of signal gathering is good, the speed of data processing is quick,at al it is advantageous for the actual examination use.
Keywords: MCU AT89S51; Temperature Sensor DS18B20; LED Digital tube Digital Thermometer
目 录
1 引言
2 总体方案设计 4
2.1 方案论证 4
2.2 总体设计框图 5
3硬件设计 6
3.1 时钟电路 6
3.2 复位电路 6
3.3 温度传感器 7
3.4 显示电路 7
3.5 系统总电路图 7
4 系统软件设计 8
4.1 主程序 8
5.2 读温度子程序 8
5.3 温度转换命令子程序 8
5.4 计算温度子程序 8
5.5 显示数据刷新子程序 8
5.6 主程序流程图 9
5 实验仿
您可能关注的文档
- 华为C8650完全DIY的教程.doc
- 华为HG523最新款无线小猫.doc
- 华为交换机基本配置命令.docx
- 华为产品规格路由器.docx
- 华为光传输设备OSN1500.doc
- 华为接入网设备维护经验.doc
- 华佗5禽图健身法初探手打版.doc
- 华亭镇31个村庄垃圾清运工程招标文件.doc
- 华兹华斯留学录取集锦.docx
- 华南农业大学本科生毕业论文设计撰写规范2012年度修订版.doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
最近下载
- 时速160公里动力集中动车组动力车(177页).pptx VIP
- 全国李氏家族字辈.pdf VIP
- 2025储能场站运营的价值定位、运营模式和收益示例-202508v3.pdf VIP
- 小学科学《斜面》优质课件.docx VIP
- 串联型感应加热电源的自动负载匹配技术.pdf VIP
- 2025年新课标《义务教育数学课程标准(2022年版)》测试题及答案.docx VIP
- 老年人谵妄中西医结合诊疗专家共识.pdf VIP
- 膨胀土基坑复合土钉墙试验研究.pdf VIP
- 2021年江苏省无锡市天一高级中学高二物理下学期期末试卷含解析.docx VIP
- 《贵州省公路工程施工监理电子招标文件示范文本(试行)》2025.docx VIP
原创力文档

文档评论(0)