毕业论文基于STC89C52的温控系统设计.docVIP

  • 13
  • 0
  • 约3.16万字
  • 约 70页
  • 2018-06-08 发布于贵州
  • 举报
毕业论文基于STC89C52的温控系统设计

学士学位毕业设计(论文) 基温控系统设计 学生姓名: 学 号: 指导教师: 所在学院: 专 业: 中国·大庆 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

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档