设计简介:

项目名:停车场
单片机:STC89C52
项目编号:mcuclub-dz-018
功能简介:
1、通过四个红外避障管检测四个车位是否停车(左右各两个),每个车位一个红灯,停车了,红灯亮
2、通过光电传感器触发是否有车辆,当有车过来,通过8*8点阵显示箭头指引,四个车位左右各两个,优先指向右,右边满了指向左,都满了显示“X”
3、通过液位传感器检测车库液位,超过设置最大值,则进行声光报警
4、通过MQ-135检测有害气体,超过设置最大值,则进行声光报警,并控制继电器进行通风
5、通过按键可设置各阈值
5、通过LCD1602显示液位、有害气体浓度、剩余车位数

总字数:14655

实物链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

  

本项目基于STC89C52单片机设计了一个智能车库控制系统,利用红外避障管、光电传感器、液位传感器和MQ-135气体传感器实现车位检测、指引、液位监测和有害气体检测等功能。系统通过LCD1602显示屏和按键进行参数设置和状态显示,通过声光报警和继电器控制实现安全和通风控制。车位检测:利用四个红外避障管检测四个车位(左右各两个)是否停车,每个车位配备一个红灯,停车时红灯亮起,指示车位已占用。车位指引:通过光电传感器检测车辆到来,通过8×8点阵显示屏显示箭头指引,指示可用车位的方向。优先指向右边的车位,当右边车位已满时,指引指向左边的车位,如果所有车位都满了,则显示“X”表示车库已满。液位监测:利用液位传感器检测车库液位,当液位超过设定的最大值时,系统触发声光报警,提醒用户车库液位过高,需要采取相应的措施。有害气体检测:通过MQ-135气体传感器检测车库内的有害气体浓度,当浓度超过设定的最大值时,系统触发声光报警,并通过控制继电器实现通风操作,确保车库内空气质量。参数设置:通过按键可设置各项阈值,如液位最大值、有害气体浓度最大值等,以适应不同需求和环境条件。状态显示:通过LCD1602显示屏实时显示车库液位、有害气体浓度以及剩余可用车位数,提供用户方便的状态监测。通过以上功能的设计和实现,基于STC89C52单片机的智能车库控制系统能够提供便捷的车位管理和车库环境监测,提高车库的利用率和安全性。未来的改进和扩展可以包括更多传感器的集成、监控和控制等功能,以进一步提升系统的性能和智能化水平,满足用户对智能车库的需求。

关键词:车库;车位检测;环境检测;车位指引

Abstract

This project presents the design of an intelligent garage control system based on the STC89C52 microcontroller. The system utilizes infrared obstacle sensors, photoelectric sensors, liquid level sensors, and MQ-135 gas sensors to achieve functions such as parking space detection, guidance, liquid level monitoring, and harmful gas detection. The system incorporates an LCD1602 display and buttons for parameter settings and status display, while ensuring safety and ventilation control through audio-visual alarms and relay control.The parking space detection feature employs four infrared obstacle sensors to detect the occupancy status of four parking spaces (two on each side). Each parking space is equipped with a red light that turns on when occupied, indicating its availability. The parking guidance feature utilizes photoelectric sensors to detect approaching vehicles and displays arrow directions on an 8×8 dot matrix display, guiding drivers to available parking spaces. Priority is given to the right-side parking spaces, and when they are full, the guidance points to the left-side spaces. If all spaces are occupied, the display shows an “X” to indicate a full garage.The liquid level monitoring function uses a liquid level sensor to detect the level in the garage. When the liquid level exceeds the predefined maximum value, the system triggers audio-visual alarms to alert users about the high liquid level and the need for appropriate actions. The harmful gas detection feature utilizes an MQ-135 gas sensor to monitor the concentration of harmful gases in the garage. If the concentration exceeds the set maximum value, the system triggers audio-visual alarms and controls a relay to initiate ventilation, ensuring good air quality inside the garage.Parameter settings can be adjusted using buttons, allowing users to customize threshold values such as maximum liquid level and harmful gas concentration according to their specific needs and environmental conditions. The LCD1602 display provides real-time information on the garage’s liquid level, harmful gas concentration, and the number of available parking spaces, enabling convenient status monitoring for users.By implementing the above functionalities, the intelligent garage control system based on the STC89C52 microcontroller offers convenient parking space management and garage environment monitoring, enhancing utilization and safety. Future improvements and expansions could involve integrating additional sensors, implementing monitoring and control capabilities, and further enhancing the system’s performance and level of intelligence to meet users’ demands for smart garages.

Keywords:Garage, Parking Space Detection, Environmental Monitoring, Parking Space Guidance

目      录

摘  要

Abstract

第一章 绪论

1.1 选题背景及实际意义

1.2 国内外发展历程

1.3 本论文研究目标

第2章 系统设计方案

2.1 主要元器件选择

2.1.1 主控芯片选择

2.1.2 显示模块方案选择

2.2 整体设计方案

第3章 硬件设计

3.1 主控电路模块

3.2 红外避障检测电路模块

3.3 光电传感器模块

3.4 液位传感器模块

3.5 空气质量检测模块

3.6 声光报警电路模块

3.7 显示电路模块

3.8 独立按键电路模块

3.9 继电器电路模块

3.10 指示灯电路模块

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 LCD1602液晶显示子流程

第5章 实物测试

5.1 实物总体设计

5.2 车库指引停车实物测试

5.3 车库液位检测实物测试

5.4 车库有害气体实物测试

第6章 结论

参  考  文  献

致谢

附录

附录A: 原理图

附录B:PCB

附录C:主程序

……………..本设计说明书是配套实物和仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

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

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

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

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

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