摘 要:中国已成为世界汽车产销第一大国,交通事故逐年增多,其中很多事故是由汽车胎压异常引起的,因此研究出能够实时检测胎压的胎压检测仪对减少此类事故有巨大作用。本文介绍了基于单片机的胎压检测系统。该系统硬件部分包括AT89C51单片机、MPX4105气压传感器、1602LCD以及 DS1302时钟电路。系统采用C语言开发工具软件进行设计和编码。汽车胎压对应电压值通过MPX4105气压传感器后,再由A/D变换输入至单片机,最后胎压数值显示在LCD上,胎压异常会导致警报响起。本系统结构简单、成本低廉、可靠性高,适用于各类机动车辆。66436
毕业论文关键词:胎压,传感器,单片机,C语言
Abstract: China has become the world's automobile production and sales superpower, traffic accidents have increased every year, many accidents are caused by the abnormal tire pressure, tire pressure and therefore developed a real-time detection of tire pressure detector to reduce such incidents have a significant role. This article describes the tire pressure monitoring system based on single chip. The system hardware includes AT89C51 microcontroller, MPX4105 pressure sensor, 1602LCD and DS1302 clock circuit. System using C language development tools for the design and coding. Passed MPX4105 car tire pressure sensor voltage value corresponding to, and then after A/D conversion input to the microcontroller for processing, and finally through the LCD display its corresponding tire pressure, and when tire pressure is abnormal, the system will sound an alarm. The system is simple, low cost, high reliability, suitable for all types of motor vehicles.
Keywords: tire pressure,sensor,micro control unit,C language
目 录
1 前言 3
2 系统的总体设计 5
2.1 总体设计思路 5
2.2 硬件设计部分 5
2.2.1 A/D转换和数据处理 5
2.2.2 气压传感器的选择 6
2.2.3 A/D转换器件的选择 6
2.2.4 三端稳压器的选择 7
2.3 软件设计部分 7
3 系统的硬件设计 8
3.1 硬件设计思路 8
3.2 单片机外围电路 9
3.2.1 复位电路 9
3.2.2 振荡电路 9
3.3 电源部分 10
3.4 按键部分 10
3.5 显示部分和报警电路部分 11
3.6 元件简介 12
3.6.1 单片机AT89C51简介 12
3.6.2 气压传感器MPX4105简介 14
4 系统的软件设计 14
4.1 软件设计思路 14
4.2 如何由频率计算出气压值 15
4.3 程序流程图 15
5 系统仿真与分析 16
5.1 系统仿真 16
5.2实现结果 18
结 论 19
参 考 文 献