单片机实现温度远程显示

上传人:pu****.1 文档编号:556485481 上传时间:2023-06-23 格式:DOC 页数:58 大小:260KB
返回 下载 相关 举报
单片机实现温度远程显示_第1页
第1页 / 共58页
单片机实现温度远程显示_第2页
第2页 / 共58页
单片机实现温度远程显示_第3页
第3页 / 共58页
单片机实现温度远程显示_第4页
第4页 / 共58页
单片机实现温度远程显示_第5页
第5页 / 共58页
点击查看更多>>
资源描述

《单片机实现温度远程显示》由会员分享,可在线阅读,更多相关《单片机实现温度远程显示(58页珍藏版)》请在金锄头文库上搜索。

1、辽宁石油化工大学继续教育学院毕业设计题 目:用单片机实现温度远程显示系 别:自动化101姓 名:魏 雨指导教师:朱 彬用单片机实现温度远程显示摘要随着数字技术的发展和计算机日益广泛的应用,单片机技术在各个领域得到了充分的应用。本设计以AT89C51单片机设计开发平台,结合DS18B20温度传感器,LCD液晶显示,LED数码管,RS485远程通信,按键和报警几部分电路,构成了远程温度采集与显示系统。远程通信采用RS485串行通讯的标准,通过DS18B20进行现场总线的温度采集,然后将温度数据传送入单片机进行处理,具有巡查速度快,扩展性好,成本低的特点。本设计中的温度采集系统充分发挥了AT89C5

2、1单片机的特点,结合现有技术,大大降低了电路的设计复杂度,该系统具有温控准确,操作界面良好,稳定性高,抗干扰能力强等优点。使用RS-485总线,一对双绞线就能实现多站联网,构成分布式系统,设备简单,价格低廉,能进行长距离通信的特点使其得到了广泛的应用。本系统能够同时检测4路温度,检测温度的范围为55125摄氏度。本设计采用AT89C51八位单片机实现,单片机软件编程的自由度大,可通过编程实现各种各样的算术算法和逻辑控制,而且体积小,硬件实现较简单,安装方便。基于单片机的温度采集系统广泛应用与采集计算机、自动测试、微电子和自动控制等技术,不仅具有信号采集方便,简单和灵活性大等优点,而且可以大幅度

3、提高被检测温度的技术指标。关键词:单片机 RS485总线 数码管显示 数据转换 键盘处理AbstractWith the development of digital technology and the increasing use of computers, microcontroller technology in various fields has made full application. This design with AT89C51 single-chip microcomputer design development platform, combined with DS

4、18B20 temperature sensor, LCD liquid crystal display, LED digital tube, RS - 485 remote communication, button and alarm parts circuit, constitute the remote temperature acquisition and display system. The remote communication using RS - 485 serial communication standards, through the DS18B20 in fiel

5、dbus temperature acquisition, and then will temperature data transfer into single chip microcomputer processing, has the search speed, good expansibility, low cost characteristics. The design of the temperature acquisition system give full play to the characteristics of the single chip microcomputer

6、 AT89C51, combined with the existing technology, greatly reduces the circuit design complexity, this system has accurate temperature control, interface is good, high stability, strong anti-jamming ability etc. Using RS - 485 bus, a pair of twisted pair can achieve much station networking, a distribu

7、ted system, the equipment is simple, the price is low, able to long distance communication characteristics make it has been widely used.This system can simultaneously detection 4 road temperature, testing temperature range for 55 125 degrees Celsius. This design USES the eight single chip microcompu

8、ter AT89C51, single-chip microcomputer software programming freedom big, can through the programming to realize all kinds of arithmetic algorithm and logic control, and small volume, the hardware implementation is simple, convenient installation. Based on single chip temperature acquisition system w

9、idespread application and acquisition computer, automatic test, microelectronics and automatic control technology, not only has the signal acquisition is convenient, simple and flexible etc, and can greatly improve the technical index of the tested temperature.Key words: SCM RS-485 bus Digital pipe

10、display Data transfer Keyboard processing目录摘要.1Abstract.2第一章:前言4第二章:设计课题.52.1 课题的根源.52.2 课题的设计内容及目标.52.3 方案选择.6第三章:单片机选择及硬件电路设计.73.1 单片机的选择.73.2 硬件电路的设计.73.2.1 按键设计73.2.2 显示电路设计73.2.3 电源选用83.2.4 智能仪表通讯协议的要求83.3 通讯协议、智能仪表选择及其参数介绍93.3.1 该仪表主要特点93.3.2 XJ-08S巡回检测仪通讯协议.10第四章:单片机软件说明及程序流程图124.1 主模块.124.2

11、数据转换子模块.144.3 显示、软件看门狗、20ms定时器子程序154.4 命令发送及接收控制子模块.174.5 串行接收子模块.194.6 巡回定点转换检测模块.19第五章:调测及运行情况介绍22总结22参考文献23谢辞24附录(源程序)25第一章 前言随着技术的不断发展,现代社会会各种信息参数的准确度和精确度的要求都有几何级的增长,而如何准确而又迅速的获得这些参数就需要受制于现在信息基础的水平。在我国的各领域已经引用的非常广泛,可以说是渗透到社会的每一个领域,人们的生活与环境的温度息息相关,在工业生产过程中需要实时测量温度,在农业中也离不开温度的测量,因此研究温度的测量方法和装置具有重要

12、的意义。测量温度的关键是传感器,温度传感器的发展阶段有三个历程:传统的分立式温度传感器模拟集成温度传感器智能集成温度传感器目前的智能集成温度传感器(亦称数字温度传感器)在二十世纪九十年代问世的,它是微电子技术,计算机技术和自动测试技术的结晶,特点是能输出温度数据及相关的温度控制量。适配各种微控制器。社会的发展使人们对传感器的要求也越来越高,现在的传感器征集与单片机的基础上从模拟式向数字式,从集成化向智能化、网络化的飞速进展,并朝着高精度,多功能,总线标准化,高可靠性及安全性开发虚拟传感器及网络传感器,研制单片机测温系统等高科技的方向迅速发展。在工业生产过程中需要实时监测温度,在工业及人们的日常生活中也扮演着一个越来越重要的角色,它对人们的生活有很大的影响,生活也日趋于数字化,而温度是科学化技术中最基本的物理量之一,物理、化学、生物等学科都离不开温度。在工业生产和实验研究中,像电力、化工、石油、冶金、航空航天、机械制造、粮食存储、酒类生产等领域内,温度常常是表征对象的过程状态最重要参数之一。比如:发电厂的锅炉的温度必须控制在一定范围;许多化学反应的工艺流程必须在适当的温度下才能正常进行;炼油过程中,原油必须在不同温度和压力下进行分馏才能得到汽油、柴油

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 大杂烩/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号