设计简介:

项目名:浴室防雾镜
项目编号:mcuclub-dz-153
单片机:STM32F103C8T6
功能简介:
1、通过DS18B20检测环境温度,通过另一个DS18B20检测镜子温度,当开启防雾模式时,自动加热或制冷浴室镜
2、通过DHT11检测湿度值,当湿度大于设置最大值,进行通风除湿
3、通过MQ-135检测空气质量,当空气质量值大于大于设置最大值,进行通风换气
4、通过音乐播放器可播放音乐
5、通过光敏电阻检测光照值
6、通过D203S人体热释电检测是否有人,如果有人,且光照低于设置最小值,则自动打开照明灯
7、通过按键设置各阈值、手动开关照明灯、切换防雾模式、播放音乐
8、通过显示屏显示各测量数据
9、通过蓝牙模块连接手机端,手机端可获取各测量数据,并可控制开关照明灯、切换防雾模式、播放音乐
10、通过语音识别模块可以控制开关照明灯、切换防雾模式、播放音乐

总字数:11327

实物链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘  要

随着人民生活水平的提高及室内装饰的兴起,各种功能的装饰已悄然进入家庭,但是浴室里卫浴的问题,一直未得到解决。

此次采用STM32单片机进行设计,该设计通过对通过DS18B20检测环境温度,通过另一个DS18B20检测卫浴温度,当开启防雾模式时,自动加热或制冷浴室,通过DHT11检测湿度值,当湿度大于设置最大值,进行通风除湿,通过MQ-135检测空气质量,当空气质量值大于大于设置最大值,进行通风换气,通过音乐播放器可播放音乐,通过光敏电阻检测光照值,通过D203S人体热释电检测是否有人,如果有人,且光照低于设置最小值,则自动打开照明灯,通过按键设置各阈值、手动开关照明灯、切换防雾模式、播放音乐,通过显示屏显示各测量数据,通过蓝牙模块连接手机端,手机端可获取各测量数据,并可控制开关照明灯、切换防雾模式、播放音乐,通过语音识别模块可以控制开关照明灯、切换防雾模式、播放音乐。

经过实物测试,此次设计的智能卫浴可以达到除味、温湿度处于用户设置适宜的范围之内,保持浴室环境处于干净卫生,用户使用简单便捷的,因此此次设计具有一定的研究背景和研究意义。

关键词:STM32F103;卫浴;测控;智能检测

Abstract

With the improvement of people’s living standards and the rise of interior decoration, various functional decoration has quietly entered the family, but the problem of bathroom bathroom has not been solved. This time, STM32 single chip computer is used for design. The design detects the ambient temperature through DS18B20, and the bathroom temperature through another DS18B20. When the anti-fog mode is turned on, the bathroom is automatically heated or cooled, and the humidity value is detected through DHT11. When the humidity is greater than the set maximum value, ventilation and dehumidification are carried out, and the air quality is detected through MQ-135. When the air quality value is greater than the set maximum value, ventilation is carried out, Music can be played through the music player, the light value can be detected through the photosensitive resistor, and whether there is a person can be detected through the D203S human pyroelectric detector. If there is a person, and the light is lower than the set minimum value, the lighting lamp will be automatically turned on, the threshold value can be set by pressing the key, the lighting lamp can be manually switched on, the anti-fog mode can be switched on, the music can be played, the measurement data can be displayed through the display screen, and the mobile terminal can be connected through the Bluetooth module, and the measurement data can be obtained from the mobile terminal, It can also control the lighting switch, switch the anti-fog mode, and play music. The voice recognition module can control the lighting switch, switch the anti-fog mode, and play music. After physical test, the intelligent bathroom designed in this design can achieve demisting, temperature and humidity within the appropriate range of user settings, keep the bathroom environment clean and sanitary, and users can use it easily and conveniently. Therefore, this design has certain research background and research significance.

Key wordsSTM32F103; bathroom; Measurement and control; Intelligent detection

  

1 绪论 1

1.1研究背景及其研究意义 1

1.2国内外研究现状 1

1.2.1国内研究现状 1

1.2.2国外研究现状 2

1.3研究目标 2

2 系统方案设计 4

2.1 整体方案设计 4

2.2 主要器件选型选择 5

2.2.1 主控芯片选择 5

2.2.2 显示模块选择 5

2.2.3 无线传输模块 6

3 硬件电路设计 7

3.1 主控模块电路 7

3.2 环境温度测量电路 8

3.3 湿度检测模块电路 8

3.4 空气质量检测模块电路 9

3.5 人体热释电检测模块电路 9

3.6 光照强度检测模块电路 9

3.7 语音识别模块电路 10

3.8 音乐播报模块电路 10

3.9 显示模块电路 11

3.10 继电器模块电路 11

3.11 蓝牙模块电路 12

4 系统程序设计 13

4.1 编程软件介绍 13

4.2 系统主流程设计 13

4.3 温湿度检测模块子流程 15

4.4 温度检测模块子流程 16

4.5 独立按键 16

4.6 OLED显示流程设计 17

4.7 蓝牙模块子流程 18

5 实物调试 20

5.1 浴室温度检测 20

5.2 浴室湿度检测 21

5.3 浴室空气质量检测 22

5.4 浴室光照强度检测 23

5.5卫浴蓝牙检测 24

总结与展望 26

致  谢 27

参考文献 28

附录 29

附录一:原理图 29

附录二:PCB 30

附录三:主程序 31

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源