设计说明书
总字数:11000+
此次设计一款基于STM32F103C8T6为核心的物联网风扇控制系统,用户可以根据自身的需求设置不同风速对应的温度;当监测到没人时,自动关闭风扇,节省能源;用户在设备的身边时,用户可以通过风扇上的按键控制风扇当前的模式,用户距离风扇较远时,用户可以通过手机连接WiFi,通过手机远程发送数据控制风扇的转速及其控制风扇模式的切换,同时可以将风扇周围监测的环境显示在显示屏上,也可以通过手机端实时查看当前检测的数据。检测结果显示,该系统可以通过多种方式对风扇的运行方式进行控制,操作方法简便,自身模块价格低廉,后期可广泛使用在风扇控制系统当中。
关键词:STM32;风扇控制;WIFI;人体热释电红外传感器
This design is based on STM32F103C8T6 as the core of the Internet of Things fan control system, users can set the temperature of different wind speed according to their own needs; When no one is detected, the fan is automatically turned off to save energy. When the user is around the device, the user can control the current mode of the fan through the button on the fan. When the user is far away from the fan, the user can connect the WiFi through the mobile phone, and remotely send data to control the speed of the fan and the switch of the fan mode. At the same time, the monitoring environment around the fan can be displayed on the screen. You can also view the current detection data through the mobile terminal in real time. The test results show that the system can control the operation mode of the fan in a variety of ways. The operation method is simple and the module price is low. It can be widely used in the fan control system later.
Key words: STM32;Fan control;WIFI;Human pyroelectricity
目 次
摘 要
Abstract
1 引言
1.1 课题研究的意义和背景
1.2 系统总体设计思路
1.3 课题研究的主要内容和工作
2 整体硬件的设计与实现
2.1 系统整体结构
2.2 方案论证与比较
2.2.1 主控芯片选择
2.2.2 电源方案
2.2.3 温度检测方案
2.2.4 显示电路方案
2.2.5 无线传输模块方案
2.3 具体硬件电路设计
2.3.1 主控模块
2.3.2 温度检测电路设计
2.3.3 人体热释电检测电路
2.3.4 显示电路设计
2.3.5 步进电机驱动模块电路
2.3.6 直流电机驱动模块
2.3.7 无线传输模块电路
2.3.8 按键模块电路
3 软件设计
3.1 编程软件介绍
3.2 系统主流程设计
3.3 独立按键模块子程序设计
3.4 温度检测模块子流程设计
3.5步进电机模块子程序设计
3.6 OLED显示流程设计
3.7 人体热释电红外检测模块子流程设计
4 实物制作过程
4.1 PCB板的制作流程
4.2 调试过程
4.2.1硬件调试
4.2.2软件调试
4.3实物功能测试
4.3.1 温度检测实物测试
4.3.2 手动控制实物测试
5 检测结果
6 结论
致 谢
参考文献
附录1 硬件原理图
附录2 硬件PCB图
附录3 实物图
附录4 部分源程序
购买后可查看具体内容!