项目编号:mcuclub-dz-364

设计简介:

项目名:台灯
项目编号:mcuclub-dz-364
单片机:STM32F103C8T6
功能简介:
1、通过人体红外传感器检测台灯周围是否有人,存在则控制灯的开关
2、通过光照传感器检测光照强度,当光照值大于设置最大值,台灯熄灭;当光照值小于设置最大值,且有人时,台灯低亮度;当光照值低于设置最小值,且有人时,台灯高亮度。
3、通过RTC获取时间,可按键修正时间
4、通过按键可设置开灯时间,显示从0开始到计时时间,当到达计时时间蜂鸣器提醒2s
5、通过按键可设置光照最大最小值、自动控制灯亮度、切换模式
6、通过OLED显示器显示数据
7、通过蓝牙可将数据发送到手机端,手机可调节亮度、切换模式。

总字数:14141

摘要

随着人们生活品质的不断提升,对台灯的要求越来越高,传统台灯的单一功能和潜在健康隐患逐渐凸显。为此,本项目设计并实现了一款创新的智能台灯系统。该智能台灯系统融合了多种传感器和模块,旨在提供更全面、舒适、健康的照明体验。

本系统以STM32F103C8T6单片机为核心控制器,项目功能包括利用人体红外传感器检测周围人体活动,实现智能开关控制;光照传感器实时监测环境光强度,根据需要自动调节灯光亮度;通过蓝牙模块,用户可通过手机调节台灯的亮度,还可设置进行远程模式切换。另外,台灯配备按键,可设定开灯时间并倒计时提醒。最后,显示器展示当前模式和定时设置。本系统将智能化与实用性融合,为用户提供舒适、智能的照明体验。这一智能台灯系统将科技创新与实际需求相结合,为用户营造全新智能化、高品质的照明与互动体验。不仅满足照明功能,更致力于呵护用户的健康和舒适感受。

关键词:台灯系统;STM32控制器;传感器;人机交互;光照调节

Abstract

With the continuous improvement of people’s quality of life, the requirements for desk lamps are becoming higher and higher, and the single function and potential health hazards of traditional desk lamps are gradually becoming prominent. For this purpose, this project has designed and implemented an innovative intelligent desk lamp system. The intelligent desk lamp system integrates multiple sensors and modules, aiming to provide a more comprehensive, comfortable, and healthy lighting experience.

This system uses the STM32F103C8T6 microcontroller as the core controller, and the project functions include using human infrared sensors to detect surrounding human activities and achieve intelligent switch control; The lighting sensor monitors the ambient light intensity in real-time and automatically adjusts the brightness of the light as needed; Through the Bluetooth module, users can adjust the brightness of the desk lamp through their mobile phone, and can also set remote mode switching. In addition, the desk lamp is equipped with buttons that can set the light on time and provide a countdown reminder. Finally, the display displays the current mode and timing settings. This system integrates intelligence and practicality, providing users with a comfortable and intelligent lighting experience. This intelligent desk lamp system combines technological innovation with practical needs to create a new intelligent, high-quality lighting and interactive experience for users. Not only does it meet the lighting function, but it is also committed to caring for users’ health and comfort.

Keywords: desk lamp system; STM32 controller; Sensors; Human machine interaction; Light regulationg

目录

基于单片机的智能调光台灯设计 I

摘要 I

Abstract II

第一章 绪论 1

1.1课题设计背景与意义 1

1.2国内外发展历程 1

1.3研究目标及预期功能 2

第二章 设计思路与方案选择 3

2.1 主要元器件选择 3

2.1.1 主控芯片选择 3

2.1.2 显示模块方案选择 3

2.1.3 光照强度检测模块方案选择 4

2.1.4人体检测模块方案选择 5

2.2整体设计方案 6

第三章 硬件设计 7

3.1主控电路模块 7

3.2 人体热释电检测模块电路 8

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

3.4 显示模块电路 10

3.5蜂鸣器报警电路模块 10

3.6 LED照明模块电路 11

3.7 独立按键模块电路 12

3.8 蓝牙模块电路 12

第四章 系统程序设计 14

4.1 编程软件介绍 14

4.2 系统主流程设计 14

4.3 独立按键 16

4.4 OLED显示流程设计 16

4.5 蓝牙模块子流程 17

第五章 实物测试 19

5.1整体实物测试 19

5.2 台灯照明自动控制实物测试 19

5.3 手机远程控制实物测试 21

第六章 总结与展望 22

致谢 23

参考文献 24

附录 26

附录一: 原理图 26

附录二:PCB 27

附录三:主程序 28

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

发表评论

后才能评论

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

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

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

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

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