基于单片机的数字温度计系统设计摘要:传统的温度计性能单一、寿命短并且精度不高,用起来不可靠。而数字温度计的出现解决了这些问题。它不仅拓宽了温度计的应用范围,而且具有具有实时性、准确性、高效性的优点。这篇论文仔细的探讨了一种基于 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-to-digital converter; PID control第 1 页 共 24 页目录第一章绪论.....................................................................................................................................................21.1 研究背景................................................