基于单片机的汽车油箱测控电路的设计(含电路图,程序清单)
以下是资料介绍,如需要完整的请充值下载.
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
密 惠 保
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
密 惠 保
资料介绍:
基于单片机的汽车油箱测控电路的设计(含电路图,程序清单)(论文12000字)
摘 要
随着汽车电子进程的加快,利用微电子技术和现代传感理论设计的汽车运行监控系统,取代了传统的机械原理的监控方式,避免了由机械部件磨损造成的监测失灵,提高了监控监测系统的稳定性和可靠性。本文设计一款基于单片机的油箱测控系统,以STC89S52为主控芯片,通过采集温度传感器(DS18B20)和油位传感器(CW15)的输出值,实现对油箱温度和油箱油位高度的实时测量,温度传感器采用单总线接口和单片机进行通讯,油位高度采集采用AD8420和AD0832组成油位高度的检测电路,将传感器输入的模拟信号转换为数字信号传输给单片机,单片机通过接到数据后,送入显示LCD1602显示屏进行显示。通过设置三个按键对系统参数的上下限进行设置,利用蜂鸣器实现对报警输出功能。本设计油箱测控系统由硬件和软件两部分组成。硬件设计中利用protel软件设计原理图,并对各功能模块的工作原理进行了详细的说明;软件中首先设计系统的工作主流程,根据主流程执行的过程,利用keil软件编写代码,实现对硬件电路的驱动。通过软件和硬件的协调工作,完成系统设计目标。本设计具有电路简单、稳定强的优点,能够转准确的采集汽车油箱的温度和油位高度,可以广泛应用于机动车的油箱的测控系统中。
[来源:http://www.think58.com]
关键词 单片机 温度传感器 油位传感器 液晶显示
Abstract
With the acceleration of the process of the automobile electron, using microelectronic technology and modern sensing theory to the design of vehicle running and monitoring system, replacing the mechanical principle of traditional way of monitoring, avoid the components by mechanical wear caused by monitoring failure, improve stability and reliability of the monitoring and control system. This paper design a based on oil tank measurement and control system based on single chip microcomputer to STC89S52 as the main control chip and values through the acquisition of the temperature sensor (DS18B20) and the oil level sensor CW15 output, the implementation of oil temperature and oil level height of the real-time measurement, temperature sensor with single bus interface and a single-chip microcomputer communication. The oil level height acquisition by AD8420 and ad0832 composition of oil level detection circuit, and the sensor input analog signal conversion to digital signal transmission to the microcontroller, microcontroller through the received data into the display LCD1602 display. Set by set three key parameters of the system of upper and lower using a buzzer to achieve the alarm output function. The design of measurement and control system of oil tank is composed of two parts, hardware and software. Hardware design using Protel to design schematic diagram, and the working principle of each function module are described in detail[9]; software first design system The main process, according to the mainstream in the process of implementation of the process, using keil software code, realize the hardware circuit of driving[10]. Through the coordination of software and hardware, completed the design target of the system. The design has the advantages of simple circuit, the advantages of strong stability, can accurate turn collecting automobile oil box temperature and height of the oil level can widely used in measurement and control system of motor vehicle fuel tank. [来源:http://www.think58.com]
Keywords Single chip temperature sensor level sensor for liquid crystal display
本课题是设计基于STC89C52单片机控制的汽车油箱的测控系统,利用温度传感器实现对油箱周围环境温度的检测,当采集温度值超过设置值,发出报警提示音;利用液位传感器实现对油箱液位高度的测量,当油箱液位低于设置最小液位高度时发出报警提示音。
1)选择合适的液位传感器,设计油箱液位采集电路;
2)选用合适的温度传感器,设计油箱温度采集电路;
3)设计电源管理系统;
4)设计显示模块和蜂鸣器报警系统;
5)编写软件程序;
6)调试与完善硬件与软件功能;
7)编程且整体调试。
[资料来源:THINK58.com]
目 录
摘要 I
Abstract II
第1章 绪论 1
1.1 课题背景 1
1.2 研究现状 1
1.3 主要研究内容和方法 2
[来源:http://www.think58.com]
1.4 本文结构安排 2
第2章 系统总体结构 3
2.1 系统设计目标 3
2.2 系统总体设计方案 3
2.3 主要器件选型 4
第3章 系统硬件设计 8
3.1 电源电路设计 8
3.2 单片机最小系统 8
3.3 数据采集电路设计 9
3.4 键盘和显示电路 11
3.5 提示音电路 12
第4章 软件设计 14
4.1 开发环境介绍 14
4.2 主程序设计 15
4.3 键盘程序设计 16
4.4 显示程序设计 19
4.5 温度读取程序设计 21
4.6 油位高度读取程序设计 24
4.7 报警子程序设计 26
5系统调试 28
5.1硬件调试 28
5.2软件调试 28 [资料来源:www.THINK58.com]
结 论 30
参 考 文 献 31
附录 程序清单 32 [资料来源:http://THINK58.com]