资源描述:
《毕业设计-基于can总线和avr单片机的网络型温度传感》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、毕业设计-基于CAN总线和AVR单片机的网络型温度传感祝你成功网络型温度传感设计摘要本文详细论述了网络型温度传感系统的设计和实现。本设计针对目前我国在应用的分布式实时测控系统中,多采用的RS485总线组网本身存在的许多局限性。提出了一种低成本并适应市场需求的,基于AVR单片机和CAN现场总线网络的网络型温度传感设计方案。本设计采用“AD590温度传感器+AVR单片机+CAN的结构”:以ATMEL公司的微控制器ATmega16L作为系统的核心;采用AD590作温度传感器,经过电流电压转换电路,将温度信号转换为适合AVR单片机处理的电压信号;在CAN总线系统节点的
2、通信接口中,CAN通信控制器采用SJA1000,CAN总线收发器采用82C250;终端显示设备为点阵型液晶显示器LCD。由此构成了完整的网络型温度传感样机。本文将首先介绍系统的总体结构,并对各部分功能模块的工作原理和实现进行详细论述,接着介绍软件设计部分。文章在最后介绍了系统的调试过程以及测试结果。关键词:网络型温度传感;AVR单片机;CAN;AD590温度传感器;液晶显示器-I-ADesignofTemperatureSensorNetworkAbstractThisthesisdescribesthedesignandrealizationoftemper
3、aturesensornetwork.Tomeetthedemandofthemarketofdistributedmonitoringandcontrolsystemdesign,thenetworkisbuiltbasedupontheuseofAVRmicrocontrollerATmega16L,AD590temperaturesensor,andCANbuscontrollerSJA1000andCANtransceiver82C250.ThereasonofemployingCANbusisthatCANbusisbetterthanRS485bu
4、s,whichiswidelyemployedindistributedreal-timemonitoringandcontrolsystemsinChina,intransmittingspeed,reliability,andmaintenancecost.AnATmega16Lchip,producedbytheATMELCo.,isthecoreofthesystem,anAD590chipisabletoconverttemperaturesignaltovoltagesignalwhichissuitablefortheprocessingofth
5、eATmega16Lchip,andSJA1000and82C250chipsareusedforCANbuscommunication,inaddition,adot-matrixLCDisemployedforoutputdisplaying.Thewholestructureofthistemperaturesensornetworkisgiveninthebeginningofthisthesis,,thenthehardwaredevelopmentaredescribedindetail.Insuccession,thethesisintroduc
6、esthesoftwaredesignofthewholenetwork,particularlyinthesoftwarefortheATmega16LandSJA1000chips.Finally,theresultsofthenetworktestareshowedKeywords:CANbus;AVRmicrocontroller;AD590temperaturesensor;LCD-II-目录1前言..................................................................11.1网络型温度传感
7、简介.............................................................................................11.2本课题研究的目的和意义.....................................................................................21.3国内研究概况..............................................................................
8、...................