基于单片机的数字温度计系统设计摘要:传统的温度计性能单一、寿命短并且精度不高,用起来不可靠。而数字温度计的出现解决了这些问题。它不但使温度计的适用范围更加广泛,而且更加便捷、实用,效率也更高。这篇论文仔细的探讨了一种基于 51 单片机,热敏电阻 Pt100 和 12 位串行模数转换器 ADS7816 的温度测量方法。包括大体的设计理念、较为具体的硬件电路设计和软件设计实现。到最后设计的的温度计的检测和控制的范围是 0 到 100 摄氏度,它的误差可以控制到 0.1 度。在控温这个模块中,借用了 PID 算法和模糊控制的算法。关键词:数字温度计;单片机;模数转换器;PID 控制 Design of Digital Thermometer System Based on Single Chip MicrocomputerAbstract: The traditional thermometer is single in performance, short in service life and not high in accuracy, so it is not reliable to use. The emergence of digital thermometers has solved these problems. It not only broadens the application range of thermometer, but also has the advantages of real-time, accuracy and high efficiency. In this paper, a temperature measurement method based on 51 MCU, thermistor Pt100 and 12-bit serial analog-to-digital converter ADS7816 is carefully discussed. Including the overall design scheme, detailed hardware circuit design and software design and implementation. The measurement and control range of the thermometer finally made is 0 to 100 degrees Celsius, and its accuracy can reach 0.1 degrees. In the temperature control module, PID algorithm and fuzzy control algorithm are used to control the temperature respectively.Keywords : Digital thermometer; Single-chip microcomputer; Analog-digital converter; PID control第 1 页 共 25 页目录第一章绪论.....................................................................................................................................................21.1 研究背景................................................................