1、 I 摘 要 本设计以 AT89S51 单片机为核心的温度控制系统的工作原理和设计方法。温度信 号由温度芯片 DS18B20 采集, 并以数字信号的方式传送给单片机。 文中介绍了该控制系 统的硬件部分,包括:温度检测电路、温度控制电路、PC 机与单片机串口通讯电路和 一些接口电路 。单片机通过对信号进行相应处理,从而实现温度控制的目的。文中还 着重介绍了软件设计部分,在这里采用模块化结构,主要模块有:数码管显示程序、键 盘扫描及按键处理程序、温度信号处理程序、继电器控制程序、超温报警程序。 关键词:AT89S51 单片机 DS18B20 温度芯片 温度控制 串口通讯 II TitleTitle
2、 Based on at89s51Temperature Control Systems Design AbstractAbstract This design take at89S51 monolithic integrated circuit as core temperature control systems principle of work and design method. The temperature signal by the temperature chip DS18B20 gathering, and transmits by digital signals way
3、for the monolithic integrated circuit. In the article introduced this control systems hardware part, including: Temperature examination electric circuit, temperature-control circuit, PC machine and monolithic integrated circuit serial port communication channel and some interface circuit. The monoli
4、thic integrated circuit through carries on corresponding processing to the signal, thus realizes the temperature control goal. In the article also emphatically introduced the software design part, uses the modular structure in here, the main module includes: Nixietube display sequence, keyboard scanning and pressed key disposal procedure, temperature signal processing procedure, black-white control procedure, excess temperature warning procedure. KeyKeywordswords:AT89S51 Monolithic In