网学网为广大网友收集整理了,酒精浓度检测仪的设计,希望对大家有所帮助!
论文编号:CK128 论文字数:12127,页数:44
摘 要
本文介绍一种酒精浓度检测仪的设计方案,以单片机和气敏传感器为核心,实现了不同环境下酒精浓度的检测。本设计作品是基于STC89C52RC单片机,利用MQ3气敏传感器,ADC0809 A/D转换器,实现空气中酒精浓度测量,通过LED数码管显示。当浓度超过设定的阈值时,触动声光报警装置,实现浓度监测报警功能。其可监测出空气环境中酒精浓度值,并根据不同的环境设定不同的阈值,对超过阈值的进行声光报警,来提示危害。本文主要介绍了酒精浓度检测仪的整体结构,系统硬件电路,软件结构。电路主要分为六个部分:酒精浓度测试模块、单片机控制模块、按键输入模块、LED数码管显示模块、声光报警模块和通信模块。
关键词:STC89C52RC,酒精浓度检测仪,MQ3气敏传感器,A/D转换
Abstract
This text introduces an alcohol concentration detector ,which is designed taken single chip computer and gas sensor as kernel .The alcohol concentration can be measured in different environment . The design is based on the STC89C52RC Single -Chip Computer, using MQ3 Gas Sensor and A/D Transformer to realize the alcohol concentration detection .It will be shown through the LED Nixie tube. When the alcohol concentration parameter preponderates over what we set, Single -Chip Computer will drive the alarm module , at the meantime the LED immediately shows the alcohol concentration.So it can measure the alcohol concentration.What’s more, it can remind us of danger.The valve value could be set according to the different environment . In this paper , the whole construct of the alcohol concentration detector is introduced ; the system hardware circuit is designed ; the software flowchart is outlined. The System is made up of seven parts: alcohol concentration measurement module, A/D Transformer module,Single -Chip Computer control module, keyboard input module, LED display module, alarm module and communication module .
Keywords: ST89C52RC,alcohol concentration detector,MQ3 Gas Sensor,A/D Transformer
目录
摘要 I
Abstract II
目录 III
1 前言 1
2 总体方案设计 3
2.1 系统总体结构 3
2.2 系统硬件结构 4
2.3 系统总体软件流程 5
3 酒精浓度测试模块设计 7
3.1 STC89C52RC单片机介绍 7
3.2 MQ3酒精气敏传感器介绍 9
3.3 ADC0809模数转换器介绍 12
4 外围接口电路设计 16
4.1显示模块电路 16
4.2 键盘输入模块电路 18
4.3 声光报警模块电路 20
4.3.1 声光报警模块电路程序设计 21
4.4 通信模块电路 21
4.4.3 Pc机与单片机的通信模块电路图 23
4.5 5V直流电压设计 23
5 硬件软件的调试、测试分析 25
5.1硬件的安装与调试 25
5.2软件的编程与调试 25
6 结论 26
致谢 27
参考文献 28
附录1 系统总原理图 29
附录2 实物图 30
附录3 程序 31