毕业设计(论文)任务书设计(论文)题目:基于单片机的温度控制系统下达日期:2011年9月27日开始日期:2011年9月28日完成日期:2011年11月14日专业:计算机控制技术学生姓名:***、***、***指导教师:***信息工程学院二〇一一年十一月二十日I基于单片机的温度控制系统摘要温度是日常生活中无时不在的物理量,温度的控制在各个领域都有积极1的意义。很多行业中都有大量的用电加热设备,如用于热处理的加热炉,用于融化金属的坩锅电阻炉及各种不同用途的温度箱等,采用单片机对它们进行控制不仅具有控制方便、简单、灵活性大等特点,而且还可以大幅度提高被控温度的技术指标,从而能够大大提高产品的质量。因此,智能化温度控制技术正被广泛地采用。本温度设计采用现在流行的AT89S51单片机,配以DS18B20数字温度传感器,该温度传感器可自行设置温度上下限。单片机将检测到的温度信号与输入的温度上、下限进行比较,由此作出判断是否启动继电器以开启设备。本设计还加入了常用的数码管显示及状态灯显示灯常用电路,使得整个设计更加完整,更加灵活。该设计已应用于花房,可对花房温度进行智能监控。【关键词】温度箱,AT89S51,单片机,控制,模拟TemperaturecontrolsystemusedsinglechipcomputerABSTRACTThetemperatureisconstantlyinthedailylifeofphysicalandtemperaturecontrolsinvariousfieldshaveapositivemeaning.Alotofbusinesseshavealotofpowerheatingequipment,suchasthatusedforthe2heattreatmentfurnace,formeltingmetalcrucibleresistanceheatersandthevarioususesoftemperaturebins,SCMusingtheirrighttocontrolnotonlyeasytocontrol,simple,suchasthecharacteristicsofflexibility,butcanalsosignificantlyincreasethetemperaturewaschargedwiththetechnicalindicators,whichcangreatlyenhancethequalityoftheproducts.Therefore,intelligenttemperaturecontroltechnologyisbeingwidelyadopted.ThetemperaturewasdesignedwiththenowpopularAT89S51SCM,andwithDS18B20digitaltemperaturesensor,Thetemperaturesensorcansetuptheirowntemperaturecollars.SCMwilldetectthatthetemperatureoftheinputsignalandtemperature,thelowercomparisonsthisjudgmentwhethertoactivatetherelaytoopentheequipment.Thedesignalsoincludescommonlyuseddigitaldisplayandcontrolstatelightscommonlyusedcircuit,makingthewholedesignmorecomplete,moreflexible.Thedesignhasbeenappliedtosomeone,tosomeoneintelligenttemperaturecontrol.【Keyword】Temperature,AT89S51,SCM,Control,Simulation目录一、引言.........................................................11.1温度控制系统设计的背景、发展历史及意义..................131.2温度控制系统的目的......................................11.3温度控制系统完成的功能....................................2二、总体设计方案.................................................22.1方案一....................................................22.2方案二....................................................2三、DS18B20温度传感器简介........................................93.1温度传感器的历史及简介....................................93.2DS18B20的工作原理.........................................93.2.1DS18B20工作时序......................................93.2.2ROM操作命令.........................................113.3DS18B20的测温原理........................................113.3.1DS18B20的测温原理:..................................113.3.2DS18B20的测温流程...................................13四、单片机接口设计..............................................144.1设计原则.................................................144.2引脚连接.................................................144.2.1晶振电路............................................144.2.2串口引脚....