设计说明书
总字数:19000+
为了解决家居中蚊虫问题所带来的困扰,针对传统蚊香使用的不便与浪费现象,设计了一款基于STM32F103C8T6单片机的智能液体电蚊香控制系统。传统蚊香的手动控制方式存在操作繁琐、资源浪费和安全隐患等问题,因此本系统旨在提供更智能、便捷、高效的解决方案。具体功能设计如下:利用RTC内部时钟获取准确的时间,用户可通过按键修正时间并设定电蚊香开启和关闭的时间,从而提升时间管理的准确性和灵活性。引入液位传感器用于检测液体蚊香的液位,当液位低于预设值时,系统会触发声光报警并自动中断,以确保使用的安全性。使用光敏电阻监测环境光照强度,仅在光照较弱且处于设定的电蚊香开启时间时开启电蚊香,实现了节能和高效的控制。引入语音识别模块,用户可以通过语音指令来控制电蚊香的开启和关闭,增加了用户操作的便捷性。通过按键手动控制电蚊香的开关,为用户提供了灵活的手动操作选项。使用OLED显示屏实时展示当前时间、使用时长、总使用时长以及液位信息,提供直观的数据展示。结合WIFI模块,实现数据的传输到手机端,用户可以通过手机远程控制电蚊香的开启和关闭,增加了便捷性和控制灵活性。综上所述,本设计提供了一种创新性的解决方案,解决了传统蚊香使用的繁琐和浪费问题,使家居环境更加智能、便捷和舒适。未来,可以进一步完善系统的稳定性、功能性和用户界面,以适应家居智能化的发展趋势。
关键词:智能家居;单片机控制;液体电蚊香;时间管理;液位传感器;远程控制
To address the challenges posed by household pests, particularly mosquitoes, and to tackle the inconveniences and wastage associated with conventional mosquito repellents, an intelligent liquid electric mosquito repellent control system based on the STM32F103C8T6 microcontroller is designed. The manual operation of traditional mosquito repellents leads to cumbersome tasks, wasteful resource consumption, and safety risks. Therefore, the purpose of this system is to provide a smarter, more convenient, and efficient solution.The specific functionalities of the system are as follows: The accurate time is obtained using the RTC’s internal clock. Users can adjust the time using buttons and set the activation and deactivation times of the electric mosquito repellent. This enhances time management precision and flexibility. A liquid level sensor is introduced to monitor the liquid level of the mosquito repellent. When the level falls below a preset threshold, the system triggers audio-visual alarms and automatically shuts off to ensure safety. A photosensitive resistor is utilized to measure ambient light intensity. The electric mosquito repellent is activated only when lighting conditions are dim and during the predetermined activation time, achieving energy efficiency and effective control.A voice recognition module is integrated, enabling users to control the electric mosquito repellent through voice commands, enhancing user convenience. Manual control is available through buttons, providing users with flexible manual operation options. An OLED display screen shows real-time information including the current time, usage duration, total usage time, and liquid level, delivering intuitive data presentation. Leveraging a WIFI module, data transmission to a mobile phone is facilitated, granting users remote control over the activation and deactivation of the electric mosquito repellent, enhancing convenience and control flexibility.In summary, this design offers an innovative solution that addresses the inconveniences and wastage associated with conventional mosquito repellents, making home environments smarter, more convenient, and comfortable. Future improvements could focus on enhancing system stability, functionality, and user interfaces, to align with the development trends of home automation.
Keywords: Smart Home; Microcontroller Control; Liquid Electric Mosquito Repellent; Time Management; Liquid Level Sensor; Remote Control.
目录
基于单片机的智能型液体电蚊香控制系统设计
摘要
Abstract
第一章 绪论
1.1课题设计背景与意义
1.2国内外发展历程
1.2.1语音控制的研究现状
1.2.2远程控制研究现状
1.3研究目标及预期功能
1.4 选题特色
第二章 设计思路与方案选择
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 液位检测模块方案选择
2.1.3 光照检测模块方案选择
2.1.4 显示模块方案选择
2.1.5远程控制方案论证分析
2.1.6语音控制方案论证分析
2.2整体设计方案
第三章 硬件设计
3.1主控电路模块
3.2 液位检测模块电路
3.3 光照强度检测模块电路
3.4 语音识别模块电路
3.5 显示检测模块电路
3.6 继电器模块电路
3.7 WiFi模块电路
3.8 独立按键模块电路
3.9 声光报警模块电路
第四章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 WiFi模块子流程设计
第五章 实物测试
5.1整体实物焊接图
5.2 定时开关蚊香实物测试
5.3 蚊香液位控制开关实物测试
5.4 蚊香手动控制实物测试
5.5 蚊香语音控制实物测试
5.4 手机远程监测实物测试
第六章 总结与展望
致谢
参考文献
附录
附录一: 原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!