at89c51基于-单片机温度控制系统设计

at89c51基于-单片机温度控制系统设计

ID:36214373

大小:645.00 KB

页数:44页

时间:2019-05-07

at89c51基于-单片机温度控制系统设计_第1页
at89c51基于-单片机温度控制系统设计_第2页
at89c51基于-单片机温度控制系统设计_第3页
at89c51基于-单片机温度控制系统设计_第4页
at89c51基于-单片机温度控制系统设计_第5页
资源描述:

《at89c51基于-单片机温度控制系统设计》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库

1、摘要近年来随着计算机在社会领域的渗透,单片机的应用正在不断地走向深入,同时带动传统控制检测日新月益更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及具体应用对象特点的软件结合,以作完善。本文从硬件和软件两方面来讲述水温自动控制过程,在控制过程中主要应用AT89C51、ADC0809、LED显示器、LM324比较器,而主要是通过DS18B20数字温度传感器采集环境温度,以单片机为核心控制部件,并通过四位数码管显示实时温度的一种数字温度计。软件方面采用汇编语言来进行程序设计,使指令的执行速度快,节省存储

2、空间。为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加简洁明了,使硬件在软件的控制下协调运作。而系统的过程则是:首先,通过设置按键,设定恒温运行时的温度值,并且用数码管显示这个温度值.然后,在运行过程中将采样的温度模拟量送入A/D转换器中进行模拟-数字转换,再将转换后的数字量用数码管进行显示,最后用单片机来控制加热器,进行加热或停止加热,直到能在规定的温度下恒温加热。关键词:单片机系统;传感器;数据采集;模数转换器;温度AbstractInrecentyears,withthecomputerpenetrationinthesocialfield,theapp

3、licationofSCMistokeepatthesametime,traditionalcontroltestingupdateonCrescentbenefits.Inreal-timedetectionandautomaticcontrolsystemofsingle-chipapplications,oftenasasingle-chipcorecomponenttouseonlysingle-chipisnotenoughknowledge,butalsothespecifichardwarestructureandthespecificfeaturesofapplic

4、ationsoftwareobjectscombinetomakeperfect.Inthispaper,bothhardwareandsoftwareforautomaticcontrolofwatertemperatureontheprocess,inthecontrolofthemainapplicationoftheprocessofAT89C51,ADC0809,LEDdisplay,LM324comparator,butmainlythroughthedigitaltemperaturesensorDS18B20collectingambienttemperaturet

5、osingle-chipmicrocomputerasthecorecontrolcomponents,andthroughfourreal-timedigitaldisplayofadigitalthermometertemperature.Softwareusingassemblylanguageforprogramming,sothattheimplementationofDirectivespeed,tosavestoragespace.Inordertofacilitatetheexpansionandchangestothedesignofmodularsoftware

6、structure,sothatthelogicoftherelationshipbetweenprogramdesignmoreconcise,Hardwaresoftwareco-operationunderthecontrolofit.Andsystematicprocessis:Firstofall,bysettingthebutton,setthethermostattemperatureatthetimeofoperation,anddigitaldisplayofthetemperature.Then,intherunningtemperatureoftheproce

7、ssofsamplinganalogintotheA/Dconverterinthesimulation-digitalconverter,andthenconverteddigitalcontrolwithdigitaldisplay,thelastsingle-chipmicrocomputertocontroltheheaterusedforheatingorstopheatinguntilthetemperatureintheprovisionsunderth

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。