项目编号:mcuclub-dz-363
设计简介:
项目名:车内环境检测
项目编号:mcuclub-dz-363
单片机类型:STC89C52
具体功能:
1、通过MQ-3检测酒精值,当酒精值大于设置最大值,进行声光报警
2、通过MQ-7检测CO值,当CO值大于设置最大值,进行声光报警
3、通过超声波检测前方障碍物,当距离值小于设置最小值,进行声光报警
4、通过人体热释电检测车内是否有儿童滞留,当按下锁车键,人体热释电触发,说明有儿童滞留,进行声光报警
5、通过按键设置各阈值
6、通过LCD1602显示测量数据
总字数:14228
实物链接:点击跳转
仿真链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘 要
当今社会,私人汽车已经成为人们生活中不可或缺的一部分。然而,与之相关的车内环境和安全问题也成为人们关注的焦点。特别是在高温、寒冷或气候恶劣的地区,车内的温度可能急剧升高或降低,导致车内环境对人员的安全和健康构成威胁。
本文基于单片机设计一款智能车内环境检测系统,旨在提供车辆内部环境安全保障,避免人员滞留时的意外事件。该系统通过多个传感器和模块实现了全面的车内环境监测,并在检测到潜在风险情况下采取相应的警报措施。首先,系统通过MQ-3检测司机酒精浓度值,当酒精值大于设置最大值,进行声光报警。其次,通过MQ-7检测CO值,当CO值大于设置最大值,进行声光报警。然后,通过超声波检测前方障碍物的距离值,当距离值小于设置最小值,进行声光报警。此外,通过人体热释电检测车内是否有儿童滞留,当按下锁车键,人体热释电触发,说明有儿童滞留,进行声光报警。为了方便用户操作和设置,系统提供了按键设置功能,对相应的阈值进行设置。最后,系统通过LCD1602显示实时测量数据,使车主能够轻松了解车内环境状况。车内环境与人员滞留监测系统的设计为车内安全提供了全面的保障,减少了潜在的风险和意外事件的发生。
Abstract
In today’s society, private cars have become an indispensable part of people’s lives. However, the related interior environment and safety issues have also become the focus of attention. Especially in areas with high temperatures, cold temperatures, or harsh climates, the temperature inside the car may sharply increase or decrease, posing a threat to the safety and health of personnel in the car environment.
This article designs an intelligent vehicle interior environment detection system based on a microcontroller, aiming to provide safety assurance for the vehicle interior environment and avoid unexpected events when personnel are stranded. The system achieves comprehensive monitoring of the interior environment through multiple sensors and modules, and takes corresponding warning measures when potential risks are detected. Firstly, the system detects the driver’s alcohol concentration value through MQ-3, and when the alcohol value exceeds the set maximum value, an audible and visual alarm is triggered. Secondly, the CO value is detected through MQ-7, and when the CO value exceeds the set maximum value, an audible and visual alarm is triggered. Then, the distance value of the obstacle in front is detected by ultrasound, and when the distance value is less than the set minimum value, an audible and visual alarm is triggered. In addition, the human body pyroelectric detector detects whether there are children trapped in the car. When the lock button is pressed, the human body pyroelectric trigger indicates that there are children trapped, and an audible and visual alarm is triggered. In order to facilitate user operation and settings, the system provides a button setting function to set the corresponding threshold. Finally, the system displays real-time measurement data through LCD1602, enabling car owners to easily understand the environmental conditions inside the vehicle. The design of the interior environment and personnel retention monitoring system provides comprehensive protection for interior safety, reducing potential risks and accidents.
Keywords: Vehicle interior environmental monitoring; Personnel detention testing; Vehicle safety system; alarm system
目 录
摘 要 I
第1章绪论 1
第2章 系统总体设计方案 3
第3章硬件设计 8
4 系统程序设计 16
第5章 仿真测试 21
第6章实物测试 25
第7章 总结展望 29
参考文献 30
附录 32