摘要:本温度检测器是以STC89C52单片机为核心控制芯片,该单片机有很好的抗干扰能力、响应速度快。本检测器的系统硬件设计包括三个模块,分别为单片机最小系统、温度传感器电路、数码管显示电路。硬件部分的设计采用了以STC89C52单片机为核心控制器件,以高灵敏度DS18B20温度传感器为温度数据获取元件,并用LED作为显示设备的硬件设计方案。软件部分则采用模块化的方法将其分成几个部分,然后逐模块设计程序,用C语言来实现,使各部分结合起来协调工作,最终实现对环境中温度的实时检测。
关键词:STC89C52单片机; DS18B20温度传感器;LED数码管
Abstract:The temperature detector is STC89C52 core control chip microcontroller, the microcontroller has a good anti-jamming capability, fast response. The detector system hardware design includes three modules, namely, minimum system microcontroller, temperature sensor circuit and the digital display circuit. The design of hardware used to STC89C52 microcontroller as the core control device, temperature sensor with high sensitivity to temperature data DS18B20 obtain components and equipment using LED as the display hardware design. Part of the modular software approach will be divided into several parts, and then by the module design process, using C language to realize that the coordination of the various parts together, and ultimately the temperature of the environment in real-time detection. Key Words: STC89C52 microcontroller; DS18B20 temperature sensor; LED digital tube