1、 基于单片机的温控电风扇的设计 学 院: 电子信息工程学院 专 业: 通信技术 年 级: 学生姓名: 学 号: 导师及职称: 副教授) 2012 年 5 月 琼州学院本科毕业论文 (设计) 摘 要 生活中,我们经常会使用到电风扇。比如,在炎热的夏天人们用电风扇来降 温;在工业生产中,大型机械用电风扇来散热等。但是当环境温度变化的时候, 人工很难做到及时控制风扇的转速,也很难有效利用宝贵的电资源。 随着温度控 制的技术不断发展,温控技术已经完全满足现代的日常生活和生产的要求,应运 而生的温控电风扇也逐渐走进了人们的生活中。 温控电风扇可以根据环境温度自 动调节电风扇启停与转速,在实际生活的使用中
2、,温控电风扇不仅可节省宝贵的 电资源,也大大方便了人们的生活和生产。 温控风扇是利用温度的变化控制风扇启停及转速的智能系统, 在现代社会中 的生产以及人们的日常生活中都有广泛的应用, 如工业生产大型机械散热系统中 的风扇、现在笔记本电脑上的广泛应用的智能 CPU 风扇等。本文设计了基于单 片机的温控风扇系统,采用单片机为控制器,利用温度传感器 DS18B20 作为温 度采集元件,并根据采集到的温度,通过一个达林顿反向驱动器 ULN2803 驱动 风扇电机。 根据检测到的温度与系统设定的温度比较实现风扇电机的自动启动和 停止,并能根据温度的变化自动改变风扇电机的转速,同时用 LED 八段数码管
3、显示检测到的温度与设定的温度。 系统的预设温度的设置是通过两个独立按键来 实现的,一个增大预设温度,一个减小预设温度。 关键词关键词: 单片机;DS18B20;温控;风扇 ABSTRACT In 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 environment
4、al 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 require
5、ments, emerge as the times require temperature-controlled electric fan has gradually entered peoples 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 ca
6、n save valuable resources, also brings great convenience for peoples life and production. Temperature control fan in modern society production and peoples 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 introduces the design of MCU based temperature control fan system, using SCM as the