基于STC89C52单片机汽车防盗系统设计
无需注册登录,支付后按照提示操作即可获取该资料.
基于STC89C52单片机汽车防盗系统设计(论文15000字)
摘要:汽车防盗系统是众多防盗系统中的一种,广泛应用在各式各样的车辆结构中,其主要性能表现在环境识别的准确性与稳定性,报警的准确性以及信息传递的实效性。电子式汽车防盗系统作为市场最主要的防盗系统,提高环境识别的准确性与稳定性,报警信息的可靠性,红外信息传递的实效性有着重要意义。采用STC89C52单片机作为硬件电路控制核心,外接
传感器模块与被控模块。采用震动与电容传感器为单片机获取外部环境信息,采用红外传感器实现遥控与单片机的红外通信。根据单片机内的程序,控制被控元器件报警器电子车锁等。为达到单片机对传感器快速响应,传感器信息输入单片机外部中断,以达到快速处理。采用多个中断响应,实现对多个输入信息快速有效的控制。
关键词:汽车防盗;红外通讯;单片机;传感器
Circuit design of automobile anti-theft system
Abstract:The car anti-theft system is one of many anti-theft systems. It is widely used in various vehicle structures. Its main performance is the accuracy and stability of environmental recognition, the accuracy of alarms and the effectiveness of information transmission. As the most important anti-theft system in the market, the electronic car anti-theft system improves the accuracy and stability of environmental recognition, the reliability of alarm information, and the effectiveness of infrared information transmission. Using STC89C52 microcontroller as the core of hardware circuit control, external Sensor module and controlled module.The vibration and capacitance sensors are used to obtain external environmental information for the single-chip microcomputer, and the infrared sensor is used to realize infrared communication between the remote control and the single-chip microcomputer. According to the program in the single chip microcomputer, the electronic lock of the controlled component alarm is controlled. In order to achieve a fast response of the microcontroller to the sensor, the sensor information is input to the external interrupt of the microcontroller to achieve fast processing. Multiple interrupt responses are used to achieve fast and efficient control of multiple input information.
Keywords: car anti-theft; infrared communication; single chip; sensor
目 录
1 绪论 1
1.1 论文背景 1
1.2国内外研究现状 1
1.3 本设计的工作与论文结构 3
1.3.1 本设计的工作 3
1.3.2 本设计可实现的主要功能 3
1.3.3 论文结构 4
1.4 本章小结 4
2 系统设计方案的确定 4
2.1本系统的设计任务 4
2.2 系统方案的确定 4
2.3 本章小结 5
3 防盗系统的硬件设计 6
3.1单片机控制器模块简介 6
3.1.1 STC89C52RC系列单片机优点 6
3.1.2 单片机及其配件 7
3.1.3 单片机中断功能 8
3.2单片机相应电路 8
3.2.1 复位电路 8
3.2.2晶振电路 9
3.3 电源模块 10
3.4 传感器模块 11
3.4.1 震动传感器 11
3.4.2 电容传感器 12
3.4.3 红外通信 13
3.5被控电子元器件 14
3.5.1 报警器 14
3.5.2 电子车锁 15
3.5.3油路电磁阀 15
3.6逻辑电路设计 16
3.7本章小结 17
4 程序设计 17
4.1警报器程序设计 18
4.2传感器程序设计 19
4.2.1 红外传感器中断程序设计 20
4.2.2 其他传感器中断程序设计 20
4.3 本章小结 21
5 汽车防盗系统电路测试 21
本章小结 25
6 技术经济性分析 25
7 总结 25
致谢 26
参考文献 27
附录A 29
附录B 30