B28基于STM32的智能风扇控制系统设计

图片[1]-B28基于STM32的智能风扇控制系统设计-子荀毕设

摘  要

针对传统家用风扇功能单一、智能化程度低、无法根据环境自适应调节的问题,本文设计了一款基于STM32单片机的智能风扇控制系统。系统以STM32F103C8T6单片机为核心控制单元,集成温度采集模块、时钟模块、按键与显示模块、电机驱动模块及蓝牙通信模块,实现风扇的多功能智能化控制。硬件方面完成主控电路、传感器采集电路、电机调速电路、蓝牙通信电路的设计与搭建;软件基于Keil MDK开发环境,采用C语言编程实现温度实时检测、时钟定时启停、多档位调速、自动模式切换、OLED显示及蓝牙远程控制等功能。系统可根据环境温度自动调节风扇转速,检测到时自动启动,无人时自动休眠,同时支持手动按键控制和手机蓝牙APP远程操控。经测试,该系统运行稳定、响应灵敏、功耗较低,兼具自动化、智能化与人性化特点,有效提升了风扇的使用体验与节能效果,具备较高的实用价值和市场应用前景。

关键词:STM32单片机;智能风扇;温度检测;人体感应;蓝牙控制;电机调速

ABSTRACT

Aiming at the problems of single function,low intelligence and inability to adaptively adjust according to the environment of traditional household fans,this paper designs an intelligent fan control system based on STM32 microcontroller.The system takes STM32F103C8T6 microcontroller as the core control unit,integrating temperature and humidity acquisition module,clock module,key and display module,motor drive module and Bluetooth communication module to realize multi-functional intelligent control of the fan.In terms of hardware,the design and construction of main control circuit,sensor acquisition circuit,motor speed regulation circuit and Bluetooth communication circuit are completed.In terms of software,based on Keil MDK development environment,C language programming is adopted to realize real-time temperature and humidity detection,human body induction start-stop,multi-gear speed regulation,automatic mode switching,LCD display and Bluetooth remote control.The system can automatically adjust the fan speed according to the ambient temperature,start automatically when a human body is detected,and sleep automatically when no one is present.It also supports manual key control and mobile Bluetooth APP remote control.The test results show that the system has stable operation,sensitive response and low power consumption.It combines automation,intelligence and humanization,effectively improves the user experience and energy-saving effect of the fan,and has high practical value and market application prospect.

Key words:STM32 Microcontroller; Intelligent Fan; Temperature and Humidity Detection; Human Body Induction; Bluetooth Control; Motor Speed Regulation

目  录

第1章 绪论

1.1 研究背景与意义

1.2 国内外研究现状

1.2.1 国内研究现状

1.2.2 国外研究现状

1.3 本文主要研究内容

第2章 系统方案设计

2.1 系统需求分析

2.2 设计思路

2.3 整体方案设计

2.4 主要元器件选型

2.4.1 单片机选型

2.4.2 温度检测模块选型

2.4.3 时钟检测模块选型

2.4.4 语音检测模块选型

2.4.5 风扇控制模块选型

2.4.6 显示模块选型

2.4.7 无线通信模块选型

第3章 硬件电路设计

3.1 单片机最小系统电路设计

3.2 显示模块电路设计

3.3 无线通信模块电路设计

3.4 声光报警电路设计

3.5 按键模块电路设计

3.6 温度检测模块电路设计

3.7 时钟检测模块电路设计

3.8 语音检测模块电路设计

3.9 风扇控制模块电路设计

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 按键模块子流程

4.4 显示模块子流程

4.5 无线通信模块子流程

4.6 温度检测模块子流程

4.7 时钟检测模块子流程

4.8 语音检测模块子流程

4.9 风扇控制模块子流程

第5章 实物调试

5.1 电路焊接总图

5.2 多功能风扇实物测试

5.3 设置阈值测试

5.4 蓝牙控制测试

5.5 自动模式实物测试

结论

参考文献

致谢

附录A 电气原理图

附录B 程序

如需查看完整设计说明书可联系客服:

图片[2]-B28基于STM32的智能风扇控制系统设计-子荀毕设
图片[3]-B28基于STM32的智能风扇控制系统设计-子荀毕设

PPT

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容