酒精浓度检测仪的设计
2023-03-09 08:54:44
论文总字数:29914字
摘 要
改革开放以来,中国经济进入一种高急速发展状态,人民生活水平得到了质的飞跃,社会也越加稳定和谐。这些年,党和政府一直把人民的利益放到最高点,做到依法治国,从严治党。党带领着人民奔向小康,所以人们的经济水平得到提高,纷纷住进了小洋房,开起了小汽车。当然,中国的经济在不断的发展,但是却引发很多尖锐的问题,其中就有交通事故的发生这一问题。
据报道,在很多国家,车祸已超越癌症,成为第一位死亡原因。城市道路的大幅度扩宽,也赶不上汽车数量的增加,人们的交通意识也越发淡泊,常常酒后驾车,从而造成一次次交通事故的悲剧,每每让人心痛不已。这就有必要来实施一些方法来遏制此类事情的发生。要查处这一问题,就要了解到检测人体内的酒精含量,因而需要这方面的设备。
本文就是设计出一种设备,能够集检测和报警于一身的酒精浓度检测仪。这个酒精浓度检测仪是基于STC89C52单片机,利用MQ-3酒精传感器检测空气中乙醇气体,再通过ADC0832模数转换,进而把数据显示在LCD上,如果超过指定值,蜂鸣器报警。对此,该检测仪还增加了存储和计时功能,可以事后把数据上传电脑,进行记录。交警可以手持该设备,来预防驾驶员喝酒后驾车这一行为,能够大大保障人民的生命利益,也是对社会负责,对民族负责,对国家负责。
关键词:酒精浓度传感器(MQ3);单片机;ADC0832;软件设计;硬件设计
Design of Alcohol Concentration Detector
Abstract
Since the reform and opening up, China"s economy has entered a high-speed development state, the people"s living standards have been a qualitative leap, the community is more stable and harmonious. In these years, the party and the government have always put the interests of the people at the highest point, so that the rule of law, strict governance of the party. The party led the people toward a well-off, so people"s economic level has been improved, have been admitted to a small house, opened a car. Of course, China"s economy is constantly developing, but it raises a lot of sharp problems, including the occurrence of traffic accidents.
According to reports, in many countries, a car accident has gone beyond cancer, becoming the first cause of death. Urban roads widening, but also keep up with the increase in the number of cars, people"s traffic awareness is more indifferent, often drunk driving, resulting in a tragedy of traffic accidents, often people heartache. It is necessary to implement some methods to curb the occurrence of such things. To investigate this problem, it is necessary to understand the detection of alcohol content in the human body, and thus need this equipment.
This article is to design a device that can set the detection and alarm in one of the alcohol concentration detector. The alcohol concentration detector is based on STC89C52 microcontroller, the use of MQ-3 alcohol sensor to detect air in the ethanol gas, and then through the ADC0832 analog conversion, and then the data displayed on the LCD, if more than the specified value, the buzzer alarm. In this regard, the detector also increased the storage and timing functions, you can later upload the data to the computer, to record. Traffic police can hold the equipment to prevent the driver to drink driving this behavior, can greatly protect the people"s life interests, but also responsible for the community, responsible for the nation, the state is responsible.
Keywords: Alcohol concentration sensor (MQ3); Single chip microcomputer; ADC0832; Software design; Hardware design
目 录
摘 要 III
Abstract IV
第一章 绪 论 1
1.1 酒精浓度检测仪开发背景及意义 1
1.2 酒精浓度检测仪的现状 1
1.3 设计任务 1
1.4 本文结构 1
第二章 总体方案设计 3
2.1 系统方案设计 3
2.1.1单片机方案设计 3
2.1.2 酒精传感器的选择 3
2.1.3 显示模块的方案设计 4
2.1.4 AD模块的方案设计 4
2.1.5 存储芯片的方案设计 4
2.2 本章小结 4
第三章 系统的硬件部分 5
3.1 主控模块设计 5
3.1.1 STC89C52芯片的介绍 5
3.1.2 最小系统设计 5
3.2 MQ-3传感器模块设计 7
3.2.1 传感器的介绍 7
3.2.2传感器的电路设计 7
3.3 AD模块设计 8
3.3.1 ADC0832的介绍 8
3.3.2 ADC0832的电路设计 9
3.4 LCD模块设计 9
3.4.1 LCD模块介绍 9
3.4.2 LCD模块电路设计 10
3.5 报警电路设计 11
3.5.1 蜂鸣器模块的介绍 11
3.5.2 蜂鸣器模块电路设计 12
3.6 按键电路设计 12
3.7 存储电路设计 13
3.8 时钟电路设计 13
3.9 电源电路设计 14
第四章 系统软件设计 15
4.1软件开发语言及开发工具 15
4.2 系统总体软件设计 16
4.3 浓度测量模块设计 17
4.4 1602LCD显示模块设计 17
4.5 报警模块软件设计 18
4.6 按键模块设计 19
4.7 本章小结 20
第五章 系统调试 21
5.1 硬件的调试 21
5.2 软件的调试 21
5.3 本章小结 22
第六章 总结与展望 23
致 谢 24
参考文献 25
附 录 26
附录一 硬件设计原理图和PCB图 26
剩余内容已隐藏,请支付后下载全文,论文总字数:29914字