资源描述:
《基于单片机的温度控制系统设计毕业设计》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、本科毕业设计(论文)题目:基于单片机的温度控制系统设计II摘要随着计算机在社会生活不同领域的渗透,单片机的应用也在不断深入,从而促进了测控技术的不断更新与发展,在实时检测与自动控制的单片机系统中,单片机作为核心部件来进行使用,但是仅使用单片机方面的知识是不够的,还应结合具体研究对象进行相应的软件分析设计,来作完善。本设计采用AT89C51单片机为核心的温度控制系统。温度信号由温度传感器DS18B20采集,以数字信号方式送给AT89C51单片机,然后单片机对传送的信号进行相应的处理,最终实现对温度实时
2、检测和控制目的。本次设计介绍了该控制系统的硬件部分,包括:检测电路、控制电路、上位机和单片机串口通讯电路。软件部分采用模块化设计思想,使用C语言来进行设计,包括:显示模块、键盘处理模块、报警模块、串口通讯模块。关键字:AT89S51单片机DS18B20温度传感器温度采集串口通讯IIIAbstractWithcomputerpenetrationinthefieldofsociallifeisdifferent,theapplicationofsingle-chipmicrocomputerisals
3、ounceasinglythoroughly,soastopromotethedevelopmentofthemeasurementandcontroltechnologyconstantlyupdatedand,inthereal-timedetectionandautomaticcontrolofsinglechipmicrocomputersystem,singlechipmicrocomputerascorecomponenttouse,butonlyusingsinglechipmicro
4、computeraspectsknowledgeisnotenough,shouldalsobecombinedwiththespecificresearchobjecttoanalyzethecorrespondingsoftwaredesign,tobeimproved.ThisdesignUSESAT89C51asthecoreofthetemperaturecontrolsystem.BytemperaturesensorDS18B20temperaturesignalacquisition
5、anddigitalsignalwaytoAT89C51,thensinglechiptotransmitthesignaltocarryonthecorrespondingprocessing,finallyrealizesthereal-timedetectionandcontroloftemperature.Thisdesignintroducesthehardwarepartofthecontrolsystem,including:testingcircuit,controlcircuit,
6、PCandsinglechipcomputerserialcommunicationcircuit.Softwarepartoftheideaofmodulardesign,usingClanguagetodesign,including:signalprocessingmodule,displaymodule,keyboardmodule,alarmmodule,Aserialportcommunicationmodule.Keywords:AT89C51MonolithicIntegratedC
7、ircuit;DS18B20TemperatureChip;Temperaturegathering;SerialPortCommunicationIII目录第1章绪论11.1选题背景及意义11.2国内外研究现状11.3设计要求及主要内容2第2章理论设计基础32.1单片机的发展概况32.2.1AT89C51主要特点32.2.2AT89C51系列引脚功能42.3数字温度计DS18B20内容介绍52.4LED显示器6第3章硬件电路设计93.1工作原理93.2各单元的设计93.2.1键盘单元93.2.2温
8、度控制及越限报警单元123.2.3LED显示电路123.2.4继电器控制电路123.2.5通讯接口单元133.2.6串口通信协议143.2.7电源输入单元14第4章软件设计164.1结构分析164.2主程序164.3子程序流程图164.3.1DS18B20测温模块174.3.24*4键盘按键与扫描模块184.3.3LED显示模块204.3.4串口通信模块21结论22致谢23参考文献24附录25III西京学院本科毕业设计(论文)II西京学院本科毕业设计(论文)第1章绪论