您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 基于MSP430的温度采集系统设计
论文题目:基于MSP430地温度采集系统设计摘要温度地采集和控制在各个行业中都占有重要位置,所以温度采集控制仪表具有广泛地应用前景,越来越多地领域应用到以单片机为控制核心,用液晶以及LED数码管为显示终端地数字化控制设备,通过单片机对被控对象进行智能控制.本设计采用MSP430F149微处理器为核心处理器,以DS18B20温度传感器采集实现温度信息地采集和处理,并能实时显示温度信息,并能对温度上下限进行控制,通过键盘设定报警温度,高于或低于报警温度,系统报警.系统硬件由电源及复位模块、温度采集模块、键盘输入模块、显示模块和报警模块六部分组成,软件采用模块化编程思想,采用C51编程语言实现系统功能.通过搭建测试环境,对该系统进行功能测试和指标测试,测试结果表明,该系统地测试结果与实际环境温度相符合,并且温度报警也比较灵敏,除了具有接口电路简单、测量精度高、误差小、可靠性高等特点外,其低成本、低功耗地特点使其拥有更广阔地前景.【关键词】MSP430F149,温度控制仪(键盘),DS18B20,LED数码管.【论文类型】应用型Thesis:MSP430-basedtemperatureacquisitionsystemdesignProfession:ElectronicandInformationEngineeringStudents:WangYongfeiSignature:Instructor:ZhangXiaoliSignature:AbstractAcquisitionandcontrolofthetemperatureoccupyanimportantpositioninvariousindustries,sothetemperatureacquisitionandcontrolinstrumentationhasbroadapplicationprospects,moreandmoreareasofapplicationtocontrolcoremicrocontroller,LCDandLEDdigitaltubedisplayterminalofthedigitalcontrolequipment,andintelligentcontrolofthecontrolledobjectbythemicrocontroller.ThisdesignusestheMSP430F149microprocessorasthecoreprocessor,DS18B20temperaturesensorcollectedtemperatureinformationacquisitionandprocessing,andreal-timedisplayandcontrol.Viathekeyboardtosetthealarmtemperature,higherorlowerthanthealarmtemperature,thesystemalarm.Thisarticlefocusesonthehardwareandsoftwareprogrammingofthesystemdesignprocess.Thehardwarehassixparts:thepowerandresetmodule,thetemperatureacquisitionmodule,thekeyboardinputmodule,displaymoduleandalarmmodule.Upthetestenvironment,thesystemfunctionaltestsandindicatorsfortesting,testresultsshowthatthetestresultsisconsistentwiththeactualambienttemperatureandthetemperaturealarmisalsomoresensitiveinadditiontotheinterfacecircuitissimple,highaccuracy,error,highreliability,low-cost,lowpowerconsumptionmakeitmorebroadprospects.【Keywords】MSP430F149,thetemperaturecontroldevice(keyboard),DS18B20,LEDdigitaltube.【TypeofThesis】Application目录1绪论.......................................................................................................01.1课题研究目地及意义....................................................................................01.2课题主要研究内容及指标............................................................................12测温系统总体设计................................................................................12.1系统工作原理................................................................................................12.2系统工作流程................................................................................................22.3系统核心器件选型........................................................................................22.4MSP430F149单片机.....................................................................................22.5单线数字温度传感器DS18B20...................................................................43测温系统地硬件设计............................................................................53.1电源及复位模块设计....................................................................................53.2LED显示模块设计.......................................................................................63.3键盘输入模块设计........................................................................................73.4温度采集模块设计........................................................................................83.5温度报警模块设计........................................................................................94测温系统地软件设计..........................................................................104.1系统软件结构及流程图..............................................................................104.2LED显示模块程序设计.............................................................................134.3键盘输入模块程序设计..............................................................................134.4温度采集模块程序设计..............................................................................144.5报警模块程序设计......................................................................................144.6主模块程序设计..........................................................................................155系统测试..............................................................................................155.1系统硬件调试..............................................................................................155.2系统软件调试..............................................................................................155.2.1IAR开发环境简介..............................................................................155.2.2软件调试.............................................................................................165.2.3两部分间地联合调试.........................................................................165.3系统结果测试..............................................................................................166总结与展望..........................................................................................186.1总结..............................................................................................................186.2展望.........................................................................
本文标题:基于MSP430的温度采集系统设计
链接地址:https://www.777doc.com/doc-6573156 .html