预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共12页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

基于单片机的温度控制系统的设计摘要:本设计以AT89S51单片机为核心的温度控制系统的工作原理和设计方法。温度信号由温度芯片DS18B20采集,并以数字信号的方式传送给单片机。文中介绍了该控制系统的硬件部分,包括:温度检测电路、温度控制电路、PC机与单片机串口通讯电路和一些接口电路。单片机通过对信号进行相应处理,从而实现温度控制的目的。文中还着重介绍了软件设计部分,在这里采用模块化结构,主要模块有:数码管显示程序、键盘扫描及按键处理程序、温度信号处理程序、继电器控制程序、超温报警程序。关键词:AT89S51单片机DS18B20温度芯片温度控制串口通讯毕业论文外文摘要TitleBasedonMonolithicIntegratedCircuit'sTemperatureControlSystem'sDesignAbstractThisdesigntakeat89S51monolithicintegratedcircuitascoretemperaturecontrolsystem'sprincipleofworkanddesignmethod.ThetemperaturesignalbythetemperaturechipDS18B20gathering,andtransmitsbydigitalsignal'swayforthemonolithicintegratedcircuit.Inthearticleintroducedthiscontrolsystem'shardwarepart,including:Temperatureexaminationelectriccircuit,temperature-controlcircuit,PCmachineandmonolithicintegratedcircuitserialportcommunicationchannelandsomeinterfacecircuit.Themonolithicintegratedcircuitthroughcarriesoncorrespondingprocessingtothesignal,thusrealizesthetemperaturecontrolgoal.Inthearticlealsoemphaticallyintroducedthesoftwaredesignpart,usesthemodularstructureinhere,themainmoduleincludes:Nixietubedisplaysequence,keyboardscanningandpressedkeydisposalprocedure,temperaturesignalprocessingprocedure,black-whitecontrolprocedure,excesstemperaturewarningprocedure.Keywords:AT89S51MonolithicIntegratedCircuit;DS18B20TemperatureChip;TemperatureControl;SerialPortCommunication目次1引言…………………………………………………………………………………12设计要求……………………………………………………………………………13工作原理……………………………………………………………………………14方案设计与论证……………………………………………………………………24.1主控制部分………………………………………………………………………34.2测量部分…………………………………………………………………………35各单元的设计………………………………………………………………………85.1键盘单元……………………………………………………………………………85.2温度控制及超温和超温警报单元………………………………………………105.3温度控制器件电路……………………………………………………………………115.4温度测试单元……………………………………………………………………115.5七段数码管显示单元…………………………………………………………………115.6接口通讯单元……………………………………………………………………136电源输入单元……………………………………………………………………147程序设计…………………………………………………………………………157.1概述………………………………………………………………………………157.2程序结构分析……………………………………………………………………167.3主程序……………………………………………………………………………178.测设分析…………