1、 目 录 摘 要 II Abstract III 第一章 绪 论 . 1 1.1 酒精浓度检测仪的背景 . 1 1.2 酒精浓度检测仪的现状及发展趋势. 1 1.3 本课题实现的的目标 . 1 第二章 系统方案设计 2 2.1 系统的工作原理及其原理图 2 2.2 单片机控制模块 3 第三章 硬件设计 7 3.1 数据采集设计 7 3.2 A/D 转换电路 8 3.3 按键电路 9 3.4 LED 显示电路 . 9 3.5 报警电路. 11 3.6 电源电路设计 . 11 第四章 软件设计.12 4.1 主程序模块 .12 4.2 数据采集模块 .12 4.1 按键模块.12 4.2 报警模块
2、.12 4.1 液晶显示输出模块 12 第五章 软件设计.12 5.1.调试工具.12 5.2 调试过程.12 第六章 结 论 15 参考文献16 附录一 .16 附录二 错误错误!未定义书签。未定义书签。 致 谢. 27 山东科技大学学生毕业设计 基于单片机的酒精浓度测试 摘 要 本文设计了一种公共场所用的测试和酒精浓度超限报警功能的智能酒精测试测试仪。该设 计方案基于 89C51 单片机, MQ3 酒精浓度传感器。由 A / D 转换器电路调节该系统的传感 器输出信号,通过单片机进行数据处理,最终由 LCD 所显示的最终酒精浓度值。文中详细 介绍了数据采集子系统、数据处理过程及报警电路和数
3、据显示子系统的设计方法和流程。 系统对的采样地点超出规定的酒精浓度时二极管报警提醒。同时测试仪特定的上限报警点 可以由单片机编程进行设置。 大量的验证后,基于 51 单片机的酒精浓度检测仪比传统的酒精计或机械检测仪灵敏,高 监测精度,可靠性好,准确方便,扩展简单,灵敏度高,控制功能强大。超过阈值的声光 报警,直观和准确。因此,基于单片机的酒精浓度检测仪研究具有一定的价值。 关键词: 酒精浓度传感器 单片机 数模转换 硬件设计 数码管显示 关键词:智能电动小车;STC89C52;传感器 山东科技大学学生毕业设计 Abstract This paper studies has been desig
4、ned for public inspection and overrun alarm function with the alcohol concentration intelligent tester. Its design scheme based on 89C51, MQ3 alcohol con centration sensor. System will sensor output signal through the A/D circuit recuperation, data pro cessing byMCU, finally by LCD display alcohol c
5、hroma value. This paper describes the data acquisition subsystem, data processing and data display subsystem and alarm circuit design methods and processes. System requirements for the sampling sites exceeding the alcohol concentration diode reminder alarm circuit monitors. Meanwhile, the operator s
6、pecific alarm point for the upper limit set by MCU programming. Alcohol tester will bring a driving signal prior to a safe. After a great deal of verification, based on SCM alcohol concentration monitor detector tha n traditional mechanical detector or alcohol plans, monitoring high precision, sensitivity, good de pendability, precise convenient extended simple, control powerful functions. Beyond the value o f acousto-optic alarm, intuitive accurate. So based on SCM alcohol concentration mo