《单片机的数字温度计设计方案2.pdf》由会员分享,可在线阅读,更多相关《单片机的数字温度计设计方案2.pdf(29页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、单片机课程设计报告题目:基于单片机的数字温度计设计教学系:*年级、专业:2018 级电子科学与技术1)班姓 名 学号:*指 导 教师:*完 成 时2018 年 6 月1/29 间:基于单片机的数字温度计设计作者:*指导老师:*年级专业:2018 级电子科学与技术一班)摘要:本文介绍一种基于AT89S52单片机的一种温度测量及报警电路,该电路采用DS18B20作为温度监测元件,测量范围-55-+125,使用4 位 LED模块显示,能通过键盘设置温度报警上下限。正文着重给出了软硬件系统的各部分电路,介绍了集成温度传感器DS18B20的原理,AT89S52单片机功能和应用。该电路设计新颖、功能强大、
2、结构简单。关键词:温度测量DS18B20AT89S52Abstract:The introduction of a cost-based AT89S52 MCU a temperatur measurement circuits,the circuits used DS18B20 high-precisiontemperatur sensor,measuring scope-55-+125,can use the keybord set the warning limitation,the use of four bits seven segments LED that can be disp
3、lay the current temperature.The paper focuses on providing a software and hardware system components circuit,introduced the theory of DS18B20,the founctions and applications of AT89S52.This circuit design innovative,powerful,can be expansionary strong.Key Words:Temperatur measurement DS18B20AT89S52
4、文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6
5、Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5
6、文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6
7、Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5
8、文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6
9、Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5
10、文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X52/29 目录1 前言3 2 方案设计3 3 系统的硬件设计4 3.1 主控制器4 3.2 显示电路5 3.3 温度传感器工作原理6 3.4 温度传感器接口电路9 4 系统的软件设计9 4.1 主程文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文
11、档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q
12、7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文
13、档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q
14、7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文
15、档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q
16、7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文
17、档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X53/29 序9 4.2 温度测量9 4.2.1 初始化DS18B20 9 4.2.2 等待应答信号10 4.2.3 DS18B20 读字节10 4.2.4DS18B20写字节11 4.2.5 启动温度测量12 4.2.6 读取测量结果13 4.2.7 各算法流程图14 4.3 数码管显示15 文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9
18、T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6
19、M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9
20、T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6
21、M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9
22、T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6
23、M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9
24、T5M4X54/29 5 系统的测试与总结16 5.1 测试时的图片16 5.2 总结17 参考文献18 致谢词19 附录 1 原理图20 附录 2 源程序清单20 1 前言数字温度计 Digital Thermometer)简称 DTM,它是采用数字化测量技术,把连续的温度值转换成不连续、离散的数字形式并加以显示的仪表。传统的温度计功能单一、精度低,不能满足数字化时代的需求,采用单片机的数字温度计,由于精度高、抗干扰能力强,可扩展性强、集成方便得到了广泛的应用。文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6
25、Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:C
26、X2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6
27、Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:C
28、X2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6
29、Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:C
30、X2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6
31、Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X55/29 温度是许多监控系统中的一个重要参数。DS18B20 直接把温度信息转换成相应的数字信号。数据采集、处理模块主要由AT89S52 单片机构成,完成温度数据的读取和显示。本文将介绍智能集成温度传感器DS18B20的结构特征及控制方法,并对 AT89S52单片机为控制器构成的数字温度测量装置的工作原理及程序设计作了详细的介绍。该设计控制器使用ATMEL 公司的 AT89S52单片机,测温传感器使用 DALLAS 公司 DS18B20,用数码管来实现温度显示。2 方案设计本设计主要是介
32、绍了单片机控制下的温度检测系统,详细介绍了其硬件和软件设计,并对其各功能模块做了详细介绍,其主要功能和指标如下:利用温度传感器 DS18B20)测量某一点环境温度测量范围为-55 125,精度为 0.5 用数码管进行实际温度值显示采用 AT89S52单片机 P3.5 口控制温度传感器DS18B20 的温度测量,以四位数码感形式输出测量温度,原理图如下图2.1 所示:图 2.1DS18B20与单片机接口文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 H
33、N6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4
34、X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 H
35、N6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4
36、X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 H
37、N6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4
38、X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 H
39、N6Q7J6H6Q9 ZX1J9T5M4X56/29 图 2.2 总体设计方框图3 系统的硬件设计3.1 主控制器AT89S52 是一种低功耗、高性能CMOS8 位微控制器,具有8K 在系统可编程 Flash 存储器。使用Atmel 公司高密度非易失性存储器技术制造,与工业 80C51 产品指令和引脚完全兼容。片上Flash允许程序存储器在系统可编程,亦适于常规编程器。在单芯片上,拥有灵巧的8 位 CPU 和在系统可编程 Flash,使得 AT89S52为众多嵌入式控制应用系统提供高灵活、超有效的解决方案。AT89S52具有以下标准功能:8k 字节 Flash,256 字节 RAM,32 位
40、I/O 口线,看门狗定时器,2 个数据指针,三个16 位 定时器/计数器,一个6 向量 2 级中断结构,全双工串行口,片内晶振及时钟电路。另外,AT89S52 可降至0Hz 静态逻辑操作,支持2 种软件可选择节电模式。空闲模式下,CPU 停止工作,允许RAM、定时器/计数器、串口、中断继续工作。掉电保护方式下,RAM内容被保存,振荡器被冻结,单片机一切工作停止,直到下一个中断或硬件复位为止。8 位微控制器 8K 字节在系统可编程 Flash AT89S52 文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9
41、ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U
42、7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9
43、ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U
44、7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9
45、ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U
46、7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9
47、ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X57/29 图 3.1 时钟电路与复位电路3.2 显示电路显示采用 4 位数码管,图3.2.1为数码管段驱动,图3.2.2 为数码管位驱动,图 3.2.3 为温度显示电路图 3.2.1 数码管段驱动文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX
48、1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G
49、5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX
50、1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G5H6M4 HN6Q7J6H6Q9 ZX1J9T5M4X5文档编码:CX2U7G