设计简介:

项目名:教室灯光控制(实物)
项目编号:mcuclub-dz-100
单片机类型:STM32F103C8T6
具体功能:
1、通过光敏电阻检测光照值,当光照值小于设置最小值,则进行开灯,并能根据光照值自动调节亮度
2、设为A、B、C、D四个区域,每个区域2个灯。分别四个人体热释电传感器检测,检测到人对应的LED亮,人离开10s延时关闭。
3、通过两对红外计数传感器模拟前后门进行统计教室人数
4、通过内部RTC获取时间,并能通过按键修正时间
5、通过按键可设置光照最小值、教室座位总数、并可以手动控制四个区域灯的开关
6、通过OLED可以实时显示当前时间 、日期、光照度、教室人数、教室座位总数、剩余座位总数。
7、通过蓝牙模块,手机端可控制每个灯的开关,并显示灯的状态。

总字数:15863

实物链接:点击跳转

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

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘要

教室灯光控制(实物)项目旨在解决教室照明方面的问题,并通过设计一款基于STM32F103C8T6单片机的智能灯光控制系统来实现多种功能。该设计的具体功能如下:光照感知与自动调节:通过光敏电阻检测周围光照值,当光照值低于设定的最小值时,系统自动开启灯光,并根据光照值进行自动亮度调节,以提供适宜的照明效果。区域感知与延时关闭:教室被划分为A、B、C、D四个区域,每个区域配备两个灯。四个人体热释电传感器负责检测教室内的人员分布,当检测到有人在某个区域时,对应的LED灯亮起,并在人离开后延时10秒自动关闭。教室人数统计:通过两对红外计数传感器模拟前后门,实现对教室人数的统计,帮助教师和管理人员掌握教室的实时人流情况。时间校准与设置:系统内部RTC(实时时钟)用于获取时间,并通过按键功能进行时间校准。教师可以根据需要手动设置光照最小值和教室座位总数,实现对系统参数的灵活调整。手动控制与显示:用户可通过按键手动控制四个区域的灯光开关。同时,OLED显示屏能够实时展示当前的时间、日期、光照度、教室人数、教室座位总数以及剩余座位总数,为教师和学生提供方便的信息显示。手机远程控制:通过蓝牙模块,学生或教师可以通过手机端控制每个灯的开关,并实时查看灯的状态,实现便捷的远程控制功能。

该设计的意义在于通过智能化技术,解决了传统教室灯光控制中存在的照明不足、能耗浪费、人力管理不便等问题,提高了教室照明的效率和舒适度。同时,融合了多种传感器、RTC和显示模块等,为教室智能化管理提供了一种创新性的解决方案,具有较高的实用价值和推广意义。

关键词:教室灯光控制;光敏电阻;人体热释电传感器;蓝牙远程控制

Abstract

Classroom Lighting Control (Prototype) aims to address the issues related to classroom illumination and achieves various functionalities through designing an intelligent lighting control system based on the STM32F103C8T6 microcontroller. The specific functions of this design are as follows:Light Sensing and Automatic Adjustment: The system utilizes a photoresistor to detect ambient light levels. When the light level falls below the predefined minimum value, the system automatically turns on the lights and adjusts their brightness to provide suitable illumination.Area Sensing and Delayed Shutdown: The classroom is divided into A, B, C, and D zones, each equipped with two lights. Four human body pyroelectric sensors are responsible for detecting the distribution of people in the classroom. When someone is detected in a specific zone, the corresponding LED light will illuminate and automatically turn off after a 10-second delay when the person leaves.Classroom Occupancy Counting: Two sets of infrared counting sensors simulate the front and rear doors to keep track of the number of people inside the classroom, providing real-time information about the classroom’s occupancy to teachers and administrators.Time Calibration and Settings: An internal RTC (Real-Time Clock) is used to obtain accurate time, and the system allows time calibration through the use of functional buttons. Teachers can manually set the minimum light value and the total number of seats in the classroom for flexible system parameter adjustments.Manual Control and Display: Users can manually control the lights in each zone using buttons. Additionally, the OLED display screen presents real-time information, including the current time, date, light intensity, classroom occupancy, total seats, and remaining seats, offering convenient information display for teachers and students.Mobile Remote Control: With the integration of a Bluetooth module, students or teachers can control each light’s on/off status remotely through a mobile app. This feature provides convenient remote control capabilities.

The significance of this design lies in its implementation of intelligent technology to address issues such as inadequate illumination, energy wastage, and inconvenient human management in traditional classroom lighting systems. It enhances the efficiency and comfort of classroom lighting. Furthermore, the integration of multiple sensors, RTC, and display modules offers an innovative solution for intelligent classroom management, making it highly practical and applicable in various educational settings.

Keywords: Classroom Lighting Control; Photoresistor; Human Body Pyroelectric Sensor; Bluetooth Remote Control.

目   录

摘要

Abstract

第1章绪论

1.1研究背景及意义

1.2国内外研究现状

1.3论文的主要内容

第2章 系统总体设计方案

2.1系统总体设计

2.2主要模块方案选择

2.2.1主控模块方案选择

2.2.2人体热释电监测模块方案选择

2.2.3光照强度模块方案选择

第3章硬件设计

3.1主控模块电路设计

3.2 人体热释电检测模块电路设计

3.3 光照强度检测模块电路设计

3.4 对射式计数检测模块电路设计

3.5 显示模块电路设计

3.6 照明模块电路设计

3.7 独立按键模块电路设计

3.8 蓝牙模块电路设计

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 OLED显示流程设计

4.5 蓝牙模块子流程

第5章 实物测试

5.1 整体实物测试图

5.2 灯光自动控制实物测试

5.3 远程测控实物测试

第6章 总结展望

参考文献

附录

附录A   原理图

附录B   PCB

附录C   主程序

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

发表评论

后才能评论

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

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

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

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

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