摘要随着人们生活质量不断提高,家用车辆不断增多,酒后驾驶也随之增加,酒精浓度测量成了当下的热点。
本文设计了一款基于单片机的便携式酒精浓度检测仪,具有便携、低功耗以及智能化的特点,采用5V供电,LCD显示和独立键盘,操作方便。
检测仪由传感器模块、AD转换模块、报警模块、显示模块和单片机模块等部分,可实现数据采集与处理、限定值设置以及报警功能。软件编程采用C语言来实现控制功能。61184
毕业论文关键词 酒精浓度检测 单片机 LCD显示
毕业设计说明书(论文)外文摘要
Title Microcontroller-based Alcohol Concentration Detector
Abstract With the development of industry and technology and the rising of quality of life, household vehicles are increasing day by day. So that drink-driving has also increased, and the alcohol concentration measurement has become the hot spot.
This design of alcohol concentration detector has the characteristics of portable, low power consumption and intelligent features.It uses a 5V power supply, LCD display and separate keypad to be easy to operate
The alcohol concentration detector is controlled by buttons, which can realize data acquisition and processing, limit settings and alarm functions. System includes a sensor module, a AD converter module, a alarm module, a display module, a microcontroller module and other parts. Device is the core microcontroller,and microcontroller uses C programming language, allowing simple language.
.
Keywords The alcohol concentration detection Single-chip Low-power Portable
目录
1 绪论 1
2 基本原理及总体方案 3
2.1 酒精测试仪的基本工作原理 3
2.2 酒精浓度检测仪的总体设计方案 4
3 酒精浓度检测仪的硬件电路 6
3.1 酒精浓度检测模块 6
3.1.1 调理电路元件选择 6
3.1.3 MQ303A调理电路 7
3.2 A/D转换电路 8
3.2.1 A/D转换器选型 8
3.2.2 ADC0804的电路连接 8
3.3 温度补偿电路 10
3.3.1 数字式温度传感器DS18B20简介 10
3.3.2 DS18B20的电路连接 10
3.4 键盘及报警电路 11
3.5 LCD显示电路 12
3.5.1 HJ1602A概述 12
3.5.2 LCD电路连接 12
3.6 单片机系统 13
3.6.1 89C52单片机简介 13
3.6.2 89C52单片机的管脚说明 14
3.6.3 89C52单片机的电路连接 14
4 软件系统 15
4.1 酒精检测子程序 15
4.2 键盘子程序 17
4.3 温度测量子程序 18
4.3.1 DS18B20的存储形式 18
4.3.2 温度显示子程序设计