基于单片机的酒精浓度检测仪的设计
无需注册登录,支付后按照提示操作即可获取该资料.
基于单片机的酒精浓度检测仪的设计(论文8000字)
摘 要
随着经济的发展,越来越多人拥有了自己的车,家庭用车进入人民的视野。 在本文中,研究了一种具有检测和报警功能的公共酒精浓度检测器。 AT89C51微控制器通过A / D转换系统第一传感器输出信号处理电路MQ3酒精浓度传感器设计,微控制器进行数据处理,最后通过LCD显示酒精浓度,以便在合理的安全驾驶条件下通知司机。
鉴于酒后驾驶安全的重要性,车辆安全速度与驾驶力关系的研究引起了广泛的关注。 本研究是基于汽车安全速度和酒后驾驶的单片机,单片机是核心逻辑控制,通过酒精传感器MQ-3,ADC0804数字模拟转换,并通过LCD实时显示来检测车辆中的酒精浓度。 通过监控整个系统的汽车酒精浓度值智能控制车辆速度,根据不同环境设定不同阈值和显示阈值,超过报警阈值,制动,从而减少酒后驾驶带来的危害。
关键词:酒精浓度传感器;单片机;数模转换; 硬件设计;报警
Abstract
In recent years, along with our country economy development, more and more private cars have come into the vision. While drunk driving traffic accidents caused by the repeated.This paper used for public inspection and overrun with the functions of alcohol concentration intelligent tester. Design scheme based on 89C51 and MQ3 alcohol concentration sensor, the system will be the first sensor output signal through the A/D converter circuit after treatment, then the MCU data processing, and finally by LCD display alcohol leel. Thus told people in the safety of reasonable driving can drive.
In view of the importance of drunk driving safety, the research on the relationship between vehicle safety speed and driving force has aroused wide concern. This study is based on the SCM of automobile safety speed and drunk driving, singlechip is the core logic control, detect the alcohol concentration in the vehicle by alcohol sensor MQ-3, ADC0804 digital analog conversion, and through the LCD real-time display. Through monitoring the car alcohol concentration value of the whole system in intelligent control of the vehicle speed, according to the different environment set different threshold and display threshold, to exceed the threshold for alarm, brake, thereby reducing the harm caused by drunk driving.
Keywords: Alcohol;Concentrationsensor; microcontroller analog-to-digital conversion ;hardware design;alarm
目 录
1 引 言 1
1.1 酒精浓度检测仪的背景 1
1.2 酒精浓度检测仪现状及发展趋势 1
1.3 本课题实现目标 1
2 设计方案和元器件选择 2
2.1 设计方案 2
2.2 单片机的选择 2
2.3 传感器 4
2.4 数模转换器 5
2.5 AT24C02存储器 6
2.6 LCD显示模块 6
3 系统硬件设计 8
3.1 硬件设计原理 8
3.2 硬件设计外围电路 9
3.2.1 晶振电路、复位电路设计 9
3.2.2 报警电路设计 11
3.2.3 电源电路设计 11
3.2.4 信号调制电路设计 12
3.2.5 A/D转换电路设计 13
3.2.6 外围扩充存储器电路设计 14
4 系统软件设计 15
4.1 主程序流程图 15
4.2 A/D转换模块程序流程图 15
4.3 按键程序流程图 16
4.4 液晶显示程序流程图 17
5 本设计总结与展望 18
参考文献 20
致 谢 21