设计简介:
项目名:智能教室(实物)
项目编号:mcuclub-dz-193
单片机类型:STM32F103C8T6
具体功能:
1、通过光敏电阻检测光照值,当光照值低于设置最大值,进行开灯,在最大值和最小值之间,进行光照调节,低于设置最小值,光照最亮
2、通过MQ-135检测有害气体值,当有害气体值大于设置最大值,进行开窗通风(步进电机模拟)
3、通过DS18B20检测温度值,当温度值高于30℃时,开启风扇降温,当温度高于40℃,开启空调降温
4、通过按键,可设置各参数阈值
5、通过OLED显示测量数据
总字数:10723
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘 要
当前很多教室灯光控制都是通过学生自主进行控制的,然后安排巡逻人员对其进行查看和控制,此外很多学校仅仅在温度较高的时候开启风扇或者空调进行降温,没有对教室中的有害气体进行监测。导致教室经常出现长明灯、学生上课中暑或者感冒等。本文设计了一套智能教室测控系统。使用该系统能够有效地克服传统教室容易出现的“长明灯”现象,使得教室的温度处于适宜的范围,降低教室的有害气体浓度,此次设计采用STM32单片机作为主控芯片,采用光照监测模块对当前的环境的光照强度进行实时监测,通过,通过温度监测模块DS18B20监测当前教室中的温度,通过MQ-135监测教室的有害气体浓度,监测到光照强度较低,自动开灯,并可以根据当前的光照值控制照明灯的亮度;监测温度大于30°,打开风扇,温度大于40°,打开空调,监测到有害气体大于设置的最大值,进行通风。最后测试结果表明,本文完成了智能教室控制系统的设计工作,系统能 够按照预定效果正常运行,在一定程度上为教室照明节约了能源,提高了照明系 统的智能化水平,可以对教室的温度和有害气体进行控制。
关键词:智能教室;灯光控制;温度控制;有害气体浓度
Abstract
At present, many classroom lighting controls are controlled by students themselves, and then patrol officers are arranged to check and control them. In addition, many schools only turn on fans or air conditioners to cool down when the temperature is high, without monitoring harmful gases in the classroom. Lead to the classroom often appear lanterns, students in class heat stroke or cold. This paper designed a set of intelligent classroom measurement and control system. The use of this system can effectively overcome the traditional classroom prone to “permanent light” phenomenon, so that the temperature of the classroom is in the appropriate range, reduce the concentration of harmful gases in the classroom, the design uses STM32 single chip microcomputer as the main control chip, the use of light monitoring module for the current environment of the light intensity real-time monitoring, through, Through the temperature monitoring module DS18B20 to monitor the current temperature in the classroom, through the MQ-135 to monitor the concentration of harmful gases in the classroom, monitoring the light intensity is low, automatically turn on the light, and can control the brightness of the lamp according to the current light value; If the temperature is greater than 30°, turn on the fan. If the temperature is greater than 40°, turn on the air conditioner. If the harmful gas is greater than the maximum value, perform ventilation. The final test results show that the design of intelligent classroom control system has been completed in this paper, and the system can operate normally according to the predetermined effect. It saves energy for classroom lighting to a certain extent, improves the intelligent level of lighting system, and can control the temperature and harmful gases in the classroom..
Key words:intelligent classroom; Lighting control; Temperature control; Noxious gas concentration
目录
一、绪论 1
二、总体方案设计 3
三、硬件系统设计 6
四、软件设计 11
五、 实物测试 15
结论 24
参考文献 25
致谢 26
附录 27