- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
酒精浓度探测仪设计
摘 要
本设计实现了对不同浓度酒精的检测和显示,通过适当改进可以用于检测酒后驾车。设计用AT89S51单片机与MQ-3型气体传感器实现了对酒精浓度的测量,并对测量数据进行显示,同时利用LCD简单显示浓度的高低,在超过允许值时发出报警,并且可以根据具体情况通过按键改变报警阀值。
硬件方面主要研究了MQ-3气体传感器技术参数的检测和将它接入到酒精浓度检测模块中;将模拟电压信号通过LCD显示,并且驱动发光二极管点亮与蜂鸣器报警;软件方面主要研究了电压到浓度的线性转换和最终浓度值的LCD显示。设计的传感器对酒精气体反应灵敏,能在有效范围内测量它的浓度值。并且在检测低浓度酒精时误差较小。
本设计的传感器可以检测不同浓度的酒精气体,改进之后对解决酒后驾车事故和特殊场合酒精检测都可以使用。
关键词:气体传感器,模数转换,单片机
Abstract
The design and implementation of the different concentrations of alcohol detection and display, through appropriate improvements can be used to detect drunk driving.?Designed AT89S51 microcontroller and MQ-3-type gas sensors to achieve a measure of alcohol concentration, and measurement data show that while using a simple LCD display concentration level of alarm when exceeding the allowable value, and can be based on the specific circumstances through the key?change the alarm threshold.?The main hardware detection MQ-3 gas sensor technology parameters and its access to the alcohol concentration detection module; analog voltage signal through the LCD display, and the drive LED lights and buzzer alarm; major research software?voltage conversion, and the concentration of the final concentration of linear LCD display.?Alcohol gas sensor design for responsive, able to measure its concentration within the valid range.?And a low concentration of alcohol in the detection error is small.?The design of the sensor can detect different concentrations of ethanol gas, after improvements to solve drunk driving accidents and special occasions can be used to detect alcohol.?
Key Words: Gas sensor, A/D conversion, Single-chip Microcomputer
目 录
第1章 绪论 1
1.1 设计背景 1
1.2 气敏传感器的研究现状 2
1.3 设计酒精浓度探测仪的意义 3
1.4 本文主要研究工作 3
第2章 方案选择与分析 4
2.1方案选择 5
2.1.1控制器选择分析 5
2.1.2显示模块的选择分析 6
2.1.3传感器模块的选择分析 7
2.2 可行性分析 8
第3章 硬件电路设计与实现 9
3.1 单片机最小系统 9
3.2 信号采集电路 13
3.3 信号转换电路 15
3.4 发光二极管显示与蜂鸣器报警电路 17
3.5 LCD1602显示电路 18
3.6 按键 20
第4章 软件编程 21
4.1 开发环境 21
4.2 主程序流程 21
4.3 程序代码编写 23
4.3.1程序初始化 23
4.3.2 按键设计 23
4.3.3 模数转换设计 24
第5章 电路调试与测试结果 26
文档评论(0)