基于单片机的酒精浓度测试仪设计
无需注册登录,支付后按照提示操作即可获取该资料.
基于单片机的酒精浓度测试仪设计(论文14500字)
摘要:近年来,伴随着国内经济的不断成长,人民生活水平随之逐渐改善,酒精消费量呈直线上升趋势,随之引来一系列社会问题,酒后驾车造成的交通事故尤为严重,所以很多类型的酒精浓度测试仪在保证交通安全层面担负着关键的作用。本设计通过将STC89C52单片机当作主体,设计出一个能够测量气体酒精浓度并且在高出设定浓度阈值的情形下发出声光报警的酒精浓度测试仪,本设计采用酒精浓度传感器MQ-3,把酒精浓度变换成电讯号,再利用ADC0809转换器变换成数字讯号并将数据传给单片机,设计相应的程序,最后将测得的酒精浓度显示于LCD1602液晶上,假若高出设置的酒精浓度值的情形下本系统发出声光报警提醒。本测试仪高效便捷,可大大促进社会公共安全的改善。
关键词:单片机;ADC0809转换器;MQ-3传感器;酒精浓度测试仪
Design of Alcohol Concentration Tester Based on Single Chip Microcomputer
Abstract:In recent years, along with the continuous growth of the domestic economy, people's living standards gradually improved, alcohol consumption continued to rise, followed by a series of social problems, drunk driving traffic accidents caused by particularly serious, so all kinds of alcohol concentration tester to ensure that traffic safety plays an important role. In this paper, the STC89C52 microcomputer as the main body, designed to detect alcohol concentration and over the set alcohol concentration threshold for the sound and light alarm alcohol concentration tester, the design of the alcohol sensor MQ-3, the detection of alcohol the value of the value converted to electrical signals, the use of ADC0809 converter for electrical signal to digital signal conversion and data transmission to the microcomputer, the design of the corresponding procedures, and finally the measured alcohol concentration displayed on the LCD1602 , if higher than the value of the set of alcohol concentration in the case of the system sound and light alarm to remind. The tester is convenient and practical, can greatly promote the improvement of social public safety.
Key words:Single chip microcomputer; ADC0809 converter;MQ - 3 sensors; Alcohol tester
目 录
1 绪 论 1
1.1 课题背景与意义 1
1.2 国内外研究现状与发展 1
2 酒精浓度测试仪总体设计 3
2.1 系统设计要求分析 3
2.2 酒精浓度检测仪设计方案 3
3 系统硬件设计 5
3.1 硬件分析 5
3.2 模块设计 6
4 系统软件设计 19
4.1 Keil与Protel DXP 2004介绍 19
4.2 程序设计 20
5 系统调试与分析 24
6 总结与展望 26