项目编号:mcuclub-dz-272

设计简介:

项目名:车窗控制(实物)
项目编号:mcuclub-dz-272
单片机类型:STC89C52
具体功能:
1、通过4个步进电机模拟四个车窗
2、通过5个按键控制车窗,一个控制4个同时开和关,四个分别控制四个车窗
3、通过4个红外对射管检测防夹
4、通过雨水检测模块(连接DO触发引脚),当下雨时,自动关闭所有车窗(优先级高)
5、通过DHT11检测车内温湿度,温度超过30℃或低于10℃,湿度超过70%或低于30%,都会自动打开车窗(优先级低)
6、通过蓝牙控制车窗,手机端接收获取的温湿度值

总字数:18125

实物链接:点击跳转

仿真链接:点击跳转

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

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘 要

关闭车窗时,存在较大的升举力,容易发生夹伤事故,因此要求汽车具备车窗防夹的功能。当前主流的防夹控制器多数采用霍尔传感器,该传感器不仅存在成本高、结构复杂和安装不便等问题,开发一款智能防夹车窗控制系统成为大势所趋。

为了提高车窗控制系统的智能化程度,本设计采用STC89C52单片机作为主控芯片,通过雨水检测模块监测是否下雨,通过4个步进电机模拟四个车窗,通过4个红外对射管检测防夹,通过DHT11检测车内环境温湿度,通过5个按键共同控制车窗,其中一个控制4个同时开和关,另外四个分别控制四个不同的车窗。当监测到下雨时,自动关闭所有车窗,当车内温度超过30℃或低于10℃,湿度超过70%或低于30%,都会自动打开车窗。当检测到温湿度异常和下雨同时进行时,关闭车窗,执行高优先级的防雨保护。此外,采用无线蓝牙的通信方式,实现手机控制车窗的功能。

最后,将本文设计的车窗控制系统安装到了车门上,通过蓝牙模块进行通信,对其性能在不同环境下进行了测试分析。根据实验结果,本文的智能车窗控制系统具有防夹精度高、适应环境能力强的优点,有较好的实用价值。

关键词:车窗;防夹;传感器;单片机;蓝牙

Abstract

When the window is closed, there is a large lifting force and it is easy to have a nip accident, so the car is required to have the function of the window anti-pinch. At present, most of the mainstream anti-pinch controllers use Hall sensor, which not only has high cost, complex structure and inconvenient installation problems, but also develops an intelligent anti-pinch window control system.

In order to improve the intelligence of the car window control system, this design uses STC89C52 single chip microcomputer as the main control chip, monitors whether it rains through the rain detection module, simulates four Windows through four stepper motors, detects anti-clamp through four infrared reflector tubes, detects the ambient temperature and humidity in the car through DHT11, and controls the car window through five buttons. One of them controls four Windows that open and close simultaneously, while the other four control four different Windows. When rain is detected, all Windows are automatically closed, and when the temperature inside the car exceeds 30 ° C or less than 10 ° C, and the humidity exceeds 70% or less than 30%, the Windows will be automatically opened. When abnormal temperature and humidity are detected and rain is occurring at the same time, close the Windows and implement high-priority rain protection. In addition, the wireless Bluetooth communication mode is adopted to realize the function of controlling the window of the mobile phone.

Finally, the window control system designed in this paper is installed on the door, and its performance is tested and analyzed in different environments through Bluetooth module communication. According to the experimental results, the intelligent window control system in this paper has the advantages of high anti-pinch precision and strong adaptability to the environment, and has good practical value.

Key words: car window; Anti-pinch; Sensor; Single-chip computer; Bluetooth

  

摘 要

Abstract

第一章 绪论

1.1 研究背景及实际意义

1.2 国内外研究现状

1.3研究目标

第二章 系统方案设计

2.1 主要元器件选择

2.1.1 主控模块方案选择

2.1.2无线传输方案选择

2.1.3按键方案选择

2.2 整体方案设计

第三章 硬件电路

3.1 单片机最小系统

3.1.1主控模块电路

3.1.2 晶振电路

3.1.3 复位电路

3.1.4 电源电路

3.1.5下载电路

3.2DHT11温湿度检测模块电路

3.3雨量传感器

3.4步进电机模块电路

3.5红外对射管防夹电路设计

3.6 独立按键模块电路

3.7 蓝牙模块(ECB02)

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3独立按键

4.4温湿度检测模块子流程

4.5 步进电机子流程

4.6 蓝牙模块子流程

第五章 仿真测试

5.1 整体仿真测试图

5.2 按键控制车窗仿真测试

5.3 红外对射管防夹仿真测试

5.4 参数异常仿真测试

5.5蓝牙远程测控仿真测试

第六章 实物测试

6.1 整体实物测试图

6.2 按键控制车窗实物测试

6.3 红外对射管防夹实物测试

6.4 参数异常实物测试

6.5蓝牙远程测控实物测试

总结

参考文献

致谢

附录

附录一:原理图

附录二:PCB

附录三:主程序

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

发表评论

后才能评论

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

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

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

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

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