- 1、本文档共45页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
学士学位毕业设计(论文)
基温控系统设计
学生姓名:
学 号:
指导教师:
所在学院:
专 业:
中国·大庆
20 年 月
摘要
本论文介绍了一种以STC公司的“89C52单片机”为主要控制元件,通过DALLAS公司的DS18S20温度传感器测温的新型数字温度计。主要包括硬件电路的设计和系统程序的设计。硬件电路主要包括主控制器、测温电路和显示电路等,主控制器采用“单片机STC89C52”,温度传感器采用美国DALLAS半导体公司生产的“DS18S20”,显示电路采用4位共阳极LED数码管以动态扫描法直读显示。系统程序主要包括主程序、读出温度子程序、温度处理子程序、报警子程序、报警温度值设定子程序、LED 显示子程序等。此外,还介绍了系统的测试。本数字温度计设计采用美国DALLAS半导体公司推出的一种智能温度传感器DS18S20作为检测元件,测温范围为-55~125℃,最大分辨率可达0.0625℃。主控制器采用单片机STC89C52,其集成度高,片内资源丰富,接口模块包括SPI、SCI、A/D、PWM 等。显示电路采用4 位共阳极LED 数码管,从P0口输出段码,列扫描用P2口来实现。由于采用了改进型智能温度传感器DS18S20 作为检测元件,与传统的温度计相比,本数字温度计减少了外部的硬件电路,具有低成本和易使用的特点。DS18S20 温度计还可以在高温报警、远距离多点测温控制等方面进行应用开发,具有很好的发展前景。关键词:单片机 主控制器 温度传感器 数字温度ABSTRACT
This thesis introduces a sort of controller bases on the principle of MCU, a new type of digital thermometer bases on temperature sensor DS18S20. This thesis mainly contains hardware circuit design and system program design. Hardware circuit mainly contains master controller, temperature detection circuit and display circuit, etc. master controller usesSTC89C52; temperature sensor uses DS18S20, which is produced by DALLAS semiconductor company, USA. Display circuit uses 4 bit common cathode LED nixie tube; it can directly read the result by dynamic scanning. System program mainly contains main program, read temperature subprogram, temperature treatment subprogram, LED display subprogram etc. In addition, it also introduces system test. This digital thermometer design uses a sort of intelligent temperature sensor DS18S20,which is produced by DALLAS semiconductor company, USA ,as a detecting element, temperature measuring range is -55℃~125℃,the maximum resolution is 0.0625℃.Master controller usesSTC89C52 MCU, it is highly integrated, its internal resource is plentiful, its interface module contains SPI, SCI, A/D, PWM etc. Display circuit uses 4 bit common cathode LED nixie tube, its segment code output from P0, its column scan is realized by P2. By reason of using second generation intelligent temperature sensor DS
您可能关注的文档
最近下载
- 2025年浙江安防职业技术学院单招职业技能测试题库(名校卷).docx
- 2024年广州中考英语听说考试——“信息询问” 情景训练课件.pptx
- 四年级下册单元作文《热爱生命》.ppt
- 骆驼奶营养价值课件.pptx
- 统编版高中语文教材中杜甫四首诗《登高》《登岳阳楼》《蜀相》《客至》联读.docx
- 附件3-2:12千伏一二次融合环网柜(箱)及配电自动化终端(DTU)标准化设计方案(2021版).pdf VIP
- 第6课 戊戌变法 课件(共34张PPT).pptx
- 2023年上海杉达学院工程管理专业《管理学》科目期末试卷A(有答案).docx VIP
- 分包考核管理办法和考核表.pdf VIP
- 送教上门康复教案.docx
文档评论(0)