摘要:炎炎夏日风扇作为降暑利器已经步入广大群众的家庭,同时,电能的损耗也随之加剧。本设计主要以节约电能损耗为主要前提,以单片机技术为主要核心设计的一款智能风扇。智能风扇在功能上将实现三种模式的操作,其一,为手动控制,如普通风扇一样。其二,为温度控制,根据对环境温度的实时采集进行自动调控。其三,为自然风模式。在同等条件下,它比普通风扇将更加节能,同时在温度过低时,能自动关闭,在使用期限上比普通风扇寿命更长。
此设计是以STC12C5A60S2单片机为控制器,以4个按键为控制键,来实现风速的调节。采用LCD1602显示工作状态,四个按键风别是手动档位按键1,2,3和功能键4。
关键词:节能、单片机技术、智能、温控
ABSTRACT:Summer,fan as a descending summer weapon has been the broad masses of the family, at the same time, electric energy loss also increased. This design mainly in order to save electric energy loss as the major premise, single-chip technology as the main core design of a smart fan. Smart fan function will realize three modes of operation, a manual control, such as the common fan. Secondly, for temperature control, according to the environmental temperature real time acquisition for automatic control. Thirdly, as the natural wind patterns. Under the same conditions, it is more than common fan to be more energy efficient, and when the temperature is too low, it can automatically close.the period of use than the ordinary fan longer life.
The design is based on STC12C5A60S2single-chip microcomputer as the controller, with 4 keys for the control key,to achieve a speed regulator. Using LCD1602 display working state, four key wind is not manual gear 1,2,3 key and function key 4.
Key words: Energy saving、SCM technology、intelligent、temperature control
本设计是以STC12C5A60S2单片机为控制中心,主要通过提取温度传感器DS18B20采集的实时温度,利用PWM的脉冲宽度的不同对风扇的档位和转速进行调节的。
功能描述:电风扇工作在四种模式:手动控制模式、温度控制模式、模拟自然风模式。智能风扇采用四个按键来控制,另外还有一个单片机复位键,LCD1602显示系统的工作状态。其中,按键1为手动控制1档位,按键2为手动控制2档位,按键3为手动控制3档位,按键4为模式设置按键。
温度控制模式下,系统会根据采集的实时温度自动的调节风扇档位;模拟自然风模式下,将模拟自然风从0~3档位循环变换来实现。