设计简介:
项目名:基于单片机的图书馆监测的设计
项目编号:mcuclub-dz-087
单片机:STC89C52
功能简介:
1、通过DHT11检测温湿度,当温度高于设置最大值,进行风扇降温,制冷片进行工作,当湿度低于设置最小值,进行加湿器加湿
2、通过MQ-2检测烟雾值,当烟雾值大于设置最大值,进行声光报警,并进行风扇通风
3、通过SGP30检测CO2浓度,当CO2浓度大于设置最大值,进行风扇通风
4、通过按键设置各阈值
5、通过LCD1602显示屏显示测量值
6、通过蓝牙模块,将测量数据发送到手机端
总字数:14998
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘要
本论文设计了一款基于STC89C52单片机的图书馆监测系统。该系统具备多项监测功能,包括温湿度监测、烟雾监测和CO2浓度监测,并根据设定的阈值进行相应的控制操作。通过使用DHT11传感器,可以实时监测图书馆内的温度和湿度。当温度超过设定的最大值时,系统会自动启动风扇进行降温;当湿度低于设定的最小值时,系统会启动加湿器进行加湿。另外,通过MQ-2传感器检测图书馆内的烟雾值,一旦烟雾值超过设定的最大值,系统将触发声光报警,并开启风扇进行通风。同时,通过SGP30传感器监测图书馆内的CO2浓度,当CO2浓度超过设定的最大值时,系统会启动风扇进行通风。用户可以通过按键设置各项阈值,以满足不同图书馆环境下的监测需求。测量值通过LCD1602显示屏进行直观展示,方便用户实时了解图书馆的环境状况。此外,系统还采用蓝牙模块将测量数据传输到手机端,实现远程监测和数据管理的功能。
通过本设计,可以有效监测和控制图书馆的温湿度、烟雾和CO2浓度,提高图书馆环境的舒适性和安全性。同时,蓝牙通信技术的应用使得数据的获取和管理更加便捷,为图书馆管理人员提供了便利的远程监测手段。
关键词:单片机;图书馆监测;温湿度检测;烟雾检测;CO2浓度检测;LCD显示屏;蓝牙通信
Abstract
This paper presents the design of a library monitoring system based on the STC89C52 microcontroller. The system is equipped with multiple monitoring functions, including temperature and humidity monitoring, smoke detection, and CO2 concentration measurement. It performs corresponding control operations based on the set threshold values. The real-time temperature and humidity inside the library are monitored using the DHT11 sensor. When the temperature exceeds the set maximum value, the system automatically activates the fan for cooling. Likewise, if the humidity falls below the set minimum value, the system activates the humidifier for humidification. Additionally, the MQ-2 sensor is used to detect smoke levels inside the library. If the smoke level exceeds the set maximum value, the system triggers an alarm with sound and light signals and activates the fan for ventilation. Furthermore, the SGP30 sensor is employed to measure the CO2 concentration inside the library. When the CO2 concentration exceeds the set maximum value, the system activates the fan for ventilation.The users can set various threshold values through buttons to meet the monitoring requirements of different library environments. The measured values are displayed on the LCD1602 screen, enabling users to have real-time awareness of the library’s environmental conditions. Moreover, the system utilizes a Bluetooth module to transmit the measured data to a mobile device, allowing for remote monitoring and data management.
By implementing this design, the library’s temperature, humidity, smoke, and CO2 concentration can be effectively monitored and controlled, enhancing the comfort and safety of the library environment. The application of Bluetooth communication technology facilitates convenient data acquisition and management, providing library administrators with a convenient means of remote monitoring.
Keywords: microcontroller, library monitoring, temperature and humidity detection, smoke detection, CO2 concentration detection, LCD display, Bluetooth communication..
目 录