摘 要温控风扇是利用温度的变化控制风扇启停及转速的智能系统,在现代社会中的生产以及人们的日常生活中都有广泛的应用,如工业生产大型机械散热系统中的风扇、现在笔记本电脑上的广泛应用的智能 CPU 风扇等。本文设计了基于单片机的温控风扇系统,采纳单片机为控制器,利用温度传感器 DS18B20 作为温度采集元件,并根据采集到的温度,通过一个达林顿反向驱动器 ULN2803驱动风扇电机。根据检测到的温度与系统设定的温度比较实现风扇电机的自动启动和停止,并能根据温度的变化自动改变风扇电机的转速,同时用 LED 八段数码管显示检测到的温度与设定的温度。系统的预设温度的设置是通过两个独立按键来实现的,一个增大预设温度,一个减小预设温度。 关键词: 单片机;DS18B20;温控;风扇ABSTRACTIn life, we often use to electric fan. For example, in the hot summer people use electric fan to cool; in industrial production, large-scale machinery use electric fan for cooling. But when the environmental temperature changes, artificial hard to timely control the speed of the fan, is also very difficult to effectively utilize valuable resources. With the development of technology of temperature control, temperature control technology has been fully meet the modern daily life and production requirements, emerge as the times require temperature-controlled electric fan has gradually entered people's life. Temperature control electric fan according to the ambient temperature automatic regulating electric fan start / stop and speed, in real life use, temperature-controlled electric fan not only can save valuable resources, also brings great convenience for people's life and production.Temperature control fan in modern society production and people's daily life have a wide range of applications, Such as industrial production of large mechanical cooling system of fan, now notebook computer on a wide range of application of intelligent CPU fan. This paper in...