设计简介:
项目名:机房环境监测(实物)
项目编号:mcuclub-dz-293
单片机类型:STC89C52
具体功能:
1、通过DHT11检测温湿度,当温湿度不在设置的上下限值之间,进行声光报警
2、通过雨水检测模块检测是否有水,如果有,进行声光报警
3、通过火焰传感器检测是否发生火灾,如果发生,进行声光报警
4、通过霍尔传感器检测门是否被打开,如果在布防时被打开,进行声光报警
5、通过按键可设置各阈值、切换布防撤防状态
6、通过LCD1602显示屏显示测量值
总字数:16228
实物链接:点击跳转
仿真链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘 要
随着电子信息技术的发展与普及,机房的数量也在不断地增加,如何对机房环境进行低成本、实时的监测,并对机房内各项设备进行灵活、有效的自动控制,成为了当前社会急需解决的问题,也是本课题的主要研究内容。
本文设计并实现了一种基于单片机技术的机房环境监控系统,本文通过不同型号的传感器分别对机房环境的温湿度、是否有水、是否发生火灾、机房门是否被打开等参数进行实时监测,并将监测到的实时数据传输到单片机进行处理,当监测到相关参数处于异常状态时,进行声光报警提醒用户,并将监测到的数据信号传输到显示屏进行实时显示。此外,可以通过按键对系统的相关阈值进行设置,有效的增强了设备的便捷性和适用性。
实物测试表明,该系统可以实现机房环境条件参数的实时监测和异常告警,具有一定的普及性和推广性。
关键词:STC89C52单片机;机房环境监测;传感器;显示屏;声光报警
Abstract
With the development and popularization of electronic information technology, the number of computer rooms is also increasing, how to carry out low-cost, real-time monitoring of the computer room environment, and carry out flexible and effective automatic control of the equipment in the computer room has become a problem urgently needed to be solved in the current society, and is also the main research content of this topic.
This paper designs and implements a computer room environment monitoring system based on single-chip microcomputer technology. In this paper, different types of sensors are used to monitor the temperature and humidity of the computer room environment, whether there is water, whether there is fire, whether the door of the computer room is opened and other parameters in real time, and the monitored real-time data is transmitted to the single-chip microcomputer for processing. When the relevant parameters are detected to be abnormal, the system will be able to monitor the environment. Sound and light alarm to remind the user, and the monitored data signal is transmitted to the display screen for real-time display. In addition, the relevant thresholds of the system can be set by pressing buttons, effectively enhancing the convenience and applicability of the device.
The real test shows that the system can realize the real-time monitoring and abnormal alarm of the environment condition parameters of the computer room, and has a certain popularity and popularization.
Key words: STC89C52 MCU; Machine room environment monitoring; Sensor; Display screen; Audible and visual alarm
目 录
1.绪论
1.1 研究背景及其研究意义
1.2 国内外研究现状
1.2.1 国内研究现状
1.2.2 国外研究现状
1.3 研究目标和组织结构
2.系统方案设计
2.1 整体方案设计
2.2 主要器件选型选择
2.2.1 主控芯片选择
2.2.2 显示方案选择
2.2.3温湿度检测模块方案选择
3.硬件电路设计
3.1 单片机最小系统
3.2 霍尔传感器
3.3 DHT11温湿度检测模块电路
3.4 雨水传感器模块电路设计
3.5 火焰传感器电路设计
3.6 按键模块
3.7 LCD1602显示模块电路
3.8 声光报警报警提醒电路模块
4.系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温湿度检测模块子流程
4.5 LCD1602液晶显示子流程
5.仿真调试
5.1 仿真总体设计
5.2 是否有水仿真测试
5.3 温湿度模块仿真测试
5.4 是否发生火灾仿真测试
5.5 机房门是否被打开仿真测试
6.实物调试
6.1 实物总体设计
6.2 是否有水实物测试
6.3 温湿度模块实物测试
6.4 是否发生火灾实物测试
6.5 机房门是否被打开实物测试
总结
参考文献
致谢
附录
附录A:原理图
附录B:PCB
附录C:程序