首页 实物资料 开题报告 设计说明书 答辩PPT

设计说明书

总字数:16000+

基于stm32酒店夜间自动照明和报警控制系统

摘要

随着酒店行业对服务质量和安全保障要求的不断提升,夜间环境的智能化管理成为重要发展方向。酒店夜间若存在温度异常未能及时预警,或光照不足影响客人行动等问题,会降低客人居住体验,甚至可能引发安全事故。因此,研发一种能实现酒店夜间自动照明控制与异常温度报警的系统具有重要意义。

本设计提出了一种基于 STM32F103C8T6 单片机的酒店夜间自动照明和报警控制系统。系统主要功能包括:通过 DS18B20 温度监测模块实时监测当前酒店房间或公共区域的环境温度,当温度大于预设最大值时,系统启动声光报警进行提醒;借助 5516 光照检测模块监测环境光照强度,当光照强度小于预设最小值时,自动控制 LED 照明灯打开,为客人提供适宜光照;利用单片机内部 RTC(实时时钟)获取当前时间,用户可通过按键对时间进行修正,同时也能通过按键设置定时开关灯功能,满足酒店不同时段的照明需求;通过 OLED 显示屏清晰显示实时环境温度、光照强度以及是否发生火灾(温度异常触发报警时对应火灾预警状态),方便工作人员实时掌握环境情况。

该酒店夜间自动照明和报警控制系统的作用在于,为酒店夜间管理提供了一种智能化、自动化的解决方案。通过自动照明控制提升客人夜间居住的便利性与舒适度,通过异常温度报警及时防范火灾等安全风险,有助于提升酒店的服务水平和安全保障能力,为客人营造安全、舒适的居住环境。

关键词:STM32F103C8T6;酒店夜间系统;自动照明;温度报警

Based on STM32 Hotel Night Automatic Lighting and Alarm Control System

Abstract

With the continuous improvement of service quality and safety requirements in the hotel industry, intelligent management of nighttime environments has become an important development direction. If there are temperature anomalies in the hotel at night that are not promptly alerted, or if there is insufficient lighting that affects guests’ movements, it can reduce their living experience and even lead to safety accidents. Therefore, it is of great significance to develop a system that can achieve automatic night lighting control and abnormal temperature alarm in hotels.

This design proposes a hotel night time automatic lighting and alarm control system based on STM32F103C8T6 microcontroller. The main functions of the system include: real-time monitoring of the ambient temperature in the current hotel room or public area through the DS18B20 temperature monitoring module. When the temperature exceeds the preset maximum value, the system will activate an audible and visual alarm for reminder; By using the 5516 light detection module to monitor the ambient light intensity, when the light intensity is less than the preset minimum value, the LED lighting is automatically controlled to turn on, providing suitable lighting for guests; By using the internal RTC (Real Time Clock) of the microcontroller to obtain the current time, users can adjust the time by pressing buttons, and also set the timed on/off light function by pressing buttons to meet the lighting needs of the hotel at different times; Clear display of real-time environmental temperature, light intensity, and whether a fire has occurred (corresponding to the fire warning status triggered by abnormal temperature) through OLED display screen, making it convenient for staff to grasp the environmental situation in real time.

The function of the hotel’s night time automatic lighting and alarm control system is to provide an intelligent and automated solution for hotel night time management. By using automatic lighting control to enhance the convenience and comfort of guests’ nighttime living, and by promptly preventing safety risks such as fires through abnormal temperature alarms, it helps to improve the hotel’s service level and security capabilities, creating a safe and comfortable living environment for guests.

 Keywords:STM32F103C8T6; Hotel night time system; Automatic lighting; Temperature Alarm

目    录

1 绪论

1.1 研究背景及意义

1.2 国内外研究现状

1.3 主要内容

2 系统总体方案设计

2.1系统总体设计

2.2 主要模块方案选择

3 系统硬件设计

3.1 总体硬件框架

3.2 主控模块电路设计

3.3 温度监测模块电路设计

3.4 光照检测模块电路设计

3.5 显示模块电路设计

3.6 按键模块电路设计

3.7 声光报警模块电路设计

3.8 LED 照明控制模块电路设计

4 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 温度检测模块子流程

4.5 光照检测模块子流程设计

4.6 OLED显示流程设计

4.7 声光报警模块子流程设计

5 实物制作与功能测试

5.1 实物制作

5.2 温度监测与声光报警功能测试

5.3 光照检测与 LED 照明控制功能测试

5.4 时间管理与参数设置功能测试

5.5 数据显示功能综合测试

6 总结

参考文献

致谢

附录A   原理图

附录B   PCB

附录C   主程序

购买后可查看具体内容!

发表评论

后才能评论

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

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

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

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

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