摘要本文介绍一种基于单片机温控风扇的控制系统设计方案。巧妙地利用单片机技术可控硅技术,温度传感器技术。 硬件系统采纳 AT89C51 作为微处理器,利用 DS18B20 对室内温度的探测并适时显示当前温度值,通过控制可控硅的导通,从而实现对电风扇进行温度调速控制。软件系统则采纳模块设计即主程序,键盘控制程序,温度显示程序,电机调速程序。文中给出 AT89C51 为核心的电路设计主体软件设计,着重讨论温控相关程序的设计并给出流程图和相关程序。关键词:AT89C51;DS18B20;仿真,电机调速,温度显示 AbstractThis paper introduces a control based on single-chip microcomputer control system design scheme of the fan. Ingenious of single chip microcomputer, thyristor technology , the temperature sensor technology.Hardware system AT89C51 as microprocessors , use of indoor temperature detection DS18B20 and display the current controlled temperature, through the control of conduction, so as to realize the fan speed control of temperature. Software system is a modular design which main program, keyboard control procedures, temperature display program, motor speed program. Given the circuit design as the core of AT89C51 main software design, emphatically discusses the design and temperature control procedures are flowchart and relevant procedure.Keywords: AT89C51, DS18B20, Simulation, motor speed, temperature display目录第 1 章 引言..................................................................................................................41.1 课题的设计要求.............................................................................................41.2 课题的设计目的和意义.............................................................................4第 2 章 系统主要硬件电路设计..................................................................52.1 总体硬件设计..................................................................................................52.1.1 AT89C51 介绍及说明.....