- 1、本文档共63页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业设计-基于CAN总线和AVR单片机的网络型温度传感
祝你成功
网络型温度传感设计
摘 要
本文详细论述了网络型温度传感系统的设计和实现。本设计针对目前我国在应用的分布式实时测控系统中,多采用的RS485总线组网本身存在的许多局限性。提出了一种低成本并适应市场需求的,基于AVR单片机和CAN现场总线网络的网络型温度传感设计方案。本设计采用“AD590温度传感器+AVR单片机+CAN的结构” :以ATMEL公司的微控制器ATmega16L作为系统的核心;采用AD590作温度传感器,经过电流电压转换电路,将温度信号转换为适合AVR单片机处理的电压信号;在CAN总线系统节点的通信接口中,CAN通信控制器采用SJA1000,CAN总线收发器采用82C250;终端显示设备为点阵型液晶显示器LCD。由此构成了完整的网络型温度传感样机。
本文将首先介绍系统的总体结构,并对各部分功能模块的工作原理和实现进行详细论述,接着介绍软件设计部分。文章在最后介绍了系统的调试过程以及测试结果。
关键词: 网络型温度传感;AVR单片机;CAN;AD590温度传感器;液晶显示器
A Design of Temperature Sensor Network
Abstract
This thesis describes the design and realization of temperature sensor network. To meet the demand of the market of distributed monitoring and control system design, the network is built based upon the use of AVR microcontroller ATmega16L, AD590 temperature sensor, and CAN bus controller SJA1000 and CAN transceiver 82C250. The reason of employing CAN bus is that CAN bus is better than RS485 bus, which is widely employed in distributed real-time monitoring and control systems in China, in transmitting speed, reliability, and maintenance cost. An ATmega16L chip, produced by the ATMEL Co., is the core of the system, an AD590 chip is able to convert temperature signal to voltage signal which is suitable for the processing of the ATmega16L chip, and SJA1000 and 82C250 chips are used for CAN bus communication, in addition, a dot-matrix LCD is employed for output displaying.
The whole structure of this temperature sensor network is given in the beginning of this thesis,, then the hardware development are described in detail. In succession, the thesis introduces the software design of the whole network, particularly in the software for the ATmega16L and SJA1000 chips. Finally, the results of the network test are showed
Keywords: CAN bus; AVR microcontroller; AD590 temperature sensor; LCD
目录
1 前言 1
1.1 网络型温度传感简介 1
1.2 本课题研究的目的和意义 2
1.3 国内研究概况 3
1.4 本课题主要研究内容和要求 3
2 网络型温度传感的系统设计 4
2.1 网络型温度传感的系统结构 4
2.2 系统选用的主要器件介绍 5
2.2.1 微控制器ATmega16 5
2.2.2 集成温度传感器AD590 7
2.2.3 CAN独立控制器SJA1000
文档评论(0)