酒精浓度测试仪的设计
来源:56doc.com 资料编号:5D26676 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D26676
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 密 保 惠 帮助
资料介绍
酒精浓度测试仪的设计(任务书,论文12000字)
摘 要
20世纪后期至今,随着中国经济的飞速发展,人们的生活水平也有了突飞猛进的进步。随着经济的发展同时使得汽车产业迅速崛起,私家车的数量逐年增长,汽车已经成为了现代人出行必不可少的代步工具。凡事都有利弊,汽车广泛使用缩短了人与人之间的距离但也给交通行驶安全带来了许多不确定的因素。依据近几年的事故调查表明,五成以上的交通事故都和酒驾有关,酒后驾驶已经被公认为是威胁他人安全的重大隐患。要查处就会涉及到人体内所含的酒精浓度,酒精浓度测试仪可以把气体转换成电信号,能够有清楚的数据分析是否酒驾。这给交警执法中提供了强有力的依据。
本文研究开发了一种能够实现通信的酒精检测仪,当气体中的酒精浓度超出当地的相关标准后蜂鸣器发出报警提示酒精浓度超标,并且利用无线传输将检测到的数据发送至电脑。实验的研究过程选择52型单片机为微处理器,MQ-3酒精浓度传感器设计。当酒精传感器采集到酒精浓度信号后发送到AD0832,A/D转换器将收集的电信号转换为单片机能够处理的数字信号,单片机对信号处理完成后传送到LCD上显示,并且通过NRF24L01将数据传输至电脑 。
关键词:89C52单片机 A/D转换器 MQ-3酒精传感器 无线传输
Alcohol tester design
Abstract
Since the late 20th century,the rapid development of Chinese economy people's living standard has also been rapid progress.Economic development so that the rapid rise of the automobile industry,the number of private cars increased year by year, the car has become an essential means of transport for the modern travel.Everything has its pros and cons,Cars are widely used to shorten the distance between people but also to the traffic driving safety has brought many uncertainties.According to the relevant departments of the accident investigation show,50% accidents and drunk driving related.Drinking and driving has been listed as a major cause of death in a car accident.To investigation will involve alcohol contained in the human body,Alcohol tester can put gas into electrical signals, to have a clear analysis of the data whether drunk driving.This gives police enforcement provides a strong basis.
In this thesis, we developed a way to communicate the alcohol detector,When the alcohol concentration exceeds the set alarm buzzer excessive alcohol, and the use of wireless transmission of the detected data is sent to a computer.the experimental program was based on 52 microcontroller, MQ-3 alcohol concentration sensor.When the alcohol concentration of alcohol sensor to signal to the AD0832,microcontroller for signal processing after completion of the transfer to the LCD display, and by NRF24L01 data transfer to PC.
Key words: MCU89C52; A/D converter; MQ-3 alcohol sensor; Wireless transmission
目 录
摘 要 I
Abstract II
第一章 绪论 1
1.1 酒精浓度测试的背景 1
1.1.1什么叫做酒后驾驶 1
1.1.2酒精浓度测试仪设计的意义 1
1.2酒精浓度测试仪的设计内容 1
第二章 总体方案设计 3
2.1总体设计基本结构 3
2.2主要模块的选择 3
2.2.1 STC89C52单片机 3
2.2.2 LCD1602液晶显示 5
2.2.3 AD转换器 9
2.2.4 NRF24L01 10
2.2.5 时钟和报警模块 11
2.3 小结 12
第三章 硬件设计 13
3.1单片机的最小系统 13
3.2 数据采集设计 13
3.2.1 MQ-3酒精传感器 14
3.2.2 A/D转换器 16
3.3 按键设计 16
3.4 NRF24L01模块设计 17
3.5 报警设计 18
第四章 软件设计 19
4.1软件介绍 19
4.2 主程序模块 22
4.3 A/D转换模块 22
4.4 按键输入模块 24
4.5 报警模块 24
4.6无线传输模块 25
4.7 LCD显示模块 25
第五章 系统调试 27
5.1系统仿真调试 27
5.2 系统硬件调试 27
5.3 调试故障及分析 28
5.4 成品功能演示 28
第六章 结论 30
6.1 设计体会与结果 30
6.2 总结 30
致谢 31
参考文献 32
附录 实物图 34
|