- 2
- 0
- 约1.86万字
- 约 36页
- 2016-11-08 发布于辽宁
- 举报
目 录
第一章 绪论 1
1.1 选题背景和意义 1
1.2 系统概述 2
第二章 硬件电路的设计 3
2.1 ATmega16单片机 3
2.1.1 ATmega16的主要特性 3
2.1.2 ATmega16引脚介绍 4
2.2 DS18B20芯片 6
2.2.1 DS18B20芯片的特性 6
2.2.2 DS18B20引脚排列 7
2.2.3 DS18B20的内部结构 7
2.2.4 DS18B20芯片各部分介绍 8
2.3单线总线系统 11
2.3.1 处理顺序 11
2.3.2 初始化 12
2.3.3 ROM操作指令 12
2.3.4 DS18B20功能指令 12
第三章 系统软件设计 14
3.1 DSl8B20温度测量 14
3.1.1 单点测量温度 14
3.1.2 多点测量温度 15
3.1.3 DS18B20 ROM搜索 17
3.1.4 C语言程序实现 21
3.2 单总线信号时序 23
3.2.1复位脉冲和应答脉冲 23
3.2.2写操作和读操作 25
第四章 系统仿真调试 28
4.1系统开发环境 28
4.2系统仿真调试 29
结 论 32
致 谢 33
参考文献 34
基于DS18B20单线多点温度测量系统
专业班级:电子信息工程2班 学生姓名:杜刘乾
指导老师:秦玉龙 职 称:讲师
摘要 本次毕业设计是基于DS18B20单线多点温度测量系统。以ATmega16单片机为核心,使用温度传感器DS18B20实现温度的采集。论文设计目的是对DS18B20进行编程,了解其性能特点,通过所学的C语言知识和相关资料提供的指令代码完成单片机与DS18B20的温度DS18B20是一种智能温度传感器能够直接读出被测温度并且可根据实际要求通过简单的编程实现~12位的数字值读数方式。使用DS18B20可使系统结构更趋简单,可靠性更高LCD把各个点的温度给显示出来,另一方面单片机可以通过串口通讯传给上位机,由上位机软件显示出来;该系统可以设定温度上下限值,当温度超出系统设定的范围时,系统会报警提示。
关键词:ATmega16 DS18B20 单线 多点 温度测量
1-Wire Multi-point temperature measurement system based on DS18B20
Abstract The graduation project is 1-Wire Multi-point temperature measurement s-ystem based on DS18B20.ATmega16 microprocessor as the core of it, the temper-ature collection is use of DS18B20. Our experimental purpose is programming to DS18B20 and understand its performance characteristics .The instruction code thro-ugh the C language knowledge and relevant information to complete the DS18B20 temperature measurements.DS18B20 is a smart temperature sensor .The DS18B20 digital thermometer provides 9-bit to 12-bit Celsius temperature measurements. UseDS18B20 makes the system structure more simple,and higher reliability.The system can be used in many fileds such as the temperature measurement system of war-ehouse,the air conditioning control of building and the monitor of productive process.The temperature data is conversed to digital signals in the sensor and then is tran-smitted to MCU, which processes the data from sensor acquisition and displays thetemperature on various
您可能关注的文档
- 用家智能电热水器控制器—本科毕业论文(设计).doc
- 茵莱名郡a1住宅楼基础筏板大体积混凝土—本科毕业论文(设计).doc
- 茵美堡住宅小区3#、5#、6#楼施工组织设计—本科毕业论文(设计).doc
- 音观沟大桥下部构造台身、立柱、柱系梁施工方案—本科毕业论文(设计).doc
- 银国花园北块施工组织设计—本科毕业论文(设计).doc
- 印羊桥施工组织设计—本科毕业论文(设计).doc
- 迎喜十八大策划案2—本科毕业论文(设计).doc
- 砟有轨道工程施工方案—本科毕业论文(设计).doc
- 营民企业核心人才流失的原因与对策分析—本科毕业论文(设计).doc
- 于基51单片机点光源自动跟踪系统设计综合设计报告—本科毕业论文(设计).doc
- 2026年及未来5年超静音高速涡轮牙钻机项目市场数据调查、监测研究报告.docx
- 2026年及未来5年家用电器用整流子项目市场数据调查、监测研究报告.docx
- 2026年及未来5年脉波变压器项目市场数据调查、监测研究报告.docx
- 2026年及未来5年大号化妆镜项目市场数据调查、监测研究报告.docx
- 2026年及未来5年二极体引线架项目市场数据调查、监测研究报告.docx
- 2026年及未来5年人防产品项目市场数据调查、监测研究报告.docx
- 2026年及未来5年夜用护翼项目市场数据调查、监测研究报告.docx
- 2026年及未来5年香柏木淋浴垫项目市场数据调查、监测研究报告.docx
- 2026年及未来5年智能酸度计项目市场数据调查、监测研究报告.docx
- 2026年及未来5年挡阳板式车载液晶显示器项目市场数据调查、监测研究报告.docx
原创力文档

文档评论(0)