毕业设计-基于单片机的恒温箱控制器的软件设计.docVIP

  • 1
  • 0
  • 约2.9万字
  • 约 44页
  • 2019-08-10 发布于江西
  • 举报

毕业设计-基于单片机的恒温箱控制器的软件设计.doc

PAGE PAGE 29 摘 要 随着微机测量和控制技术的迅速发展与广泛应用,以单片机为核心的温度采集与控制系统的研发与应用在很大程度上提高了生产生活中对温度信号的控制水平。能够独立工作的温度检测和显示系统应用于诸多领域。传统的温度检测以热敏电阻为温度敏感元件。热敏电阻的成本低,但需后续信号处理电路,而且可靠性相对较差,测温准确度低,检测系统也有一定的误差。与传统的温度计相比,这里设计的数字温度计具有读数方便,测温范围广,测温精确,数字显示,适用范围宽等特点。 本设计论述了一种以AT89S52单片机为主控制单元,以DS18B20为温度传感器的温度控制系统。该控制系统可以实时存储相关的温度数据并记录当前的时间。系统设计了相关的硬件电路和相关应用程序。硬件电路主要包括AT89S52单片机最小系统,测温电路、实时时钟电路、LED数码管显示电路等。系统程序主要包括主程序,读出温度子程序,计算温度子程序、按键处理程序、LED显示程序以及数据存储程序等。 关键词:AT89S52单片机 DS18B20 显示电路 Abstract Along with the computer measurement and control technology is developed rapidly and widely used, microcontroller as the core temperature acquisition and control system development and application has greatly improved the production life of the temperature signal to the control level. Able to work independently of the temperature detection and display system for use in many areas. The traditional temperature measurement using thermistor as a temperature sensitive element. The thermistor is low in cost, but the subsequent signal processing circuit, and relatively poor reliability, measurement accuracy is low, also have certain error detection system. Compared with the traditional thermometer, the digital thermometer with reading convenience, a wide range of temperature measurement, accurate temperature measurement, digital display, wide application range etc.. This design presents a AT89S52 microcontroller as the main control unit, taking DS18B20as the temperature sensor temperature control system. The control system can real time storage temperature related data and recording the current time. The system design of the hardware circuit and the related applications. The hardware circuit including AT89S52MCU minimum system, a temperature measurement circuit, clock circuit, the LED digital tube display circuit. System program, including the main program, the read-out temperature subroutine, the calculated temperature subroutine, key processing program, LED dis

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档