1、 摘要 随着社会的发展,从工厂企业到居民家庭,酒精泄露的检测、监控以及对酒 后驾车的监测对居民的人身和财产安全都是十分重要且必不可少的。同时,随着 人民生活水平的迅速提高,越来越多的人有了自己的私家车, 而酒后驾车造成的 交通事故也频繁发生,为此,我国将酒驾列入刑法范围内。由于人们的安全意识 增强,以及对环境安全性和生活舒适性要求的提高,为了防止机动车辆驾驶人员 酒后驾车,现场实时对人体呼气中酒精含量的检测已日益受到重视,酒精浓度测 试仪逐渐得到广泛应用。此外,酒精测试仪也可应用于食品加工、酿酒等需要监 控空气中酒精浓度的场合。如今,气体传感器向低功耗、多功能、集成化方向的 发展,因此,酒精浓
2、度检测仪具有十分广阔的现实市场和潜在的市场要求。 本文研究设计了一种基于单片机的酒精浓度测试仪。它采用 MQ-3 乙醇气体 传感器对酒精浓度进行检测,利用单片机 STC12C5A16AD 对检测信号进行模数转 换和处理,再通过液晶屏对信号进行输出显示。此酒精浓度测试仪还具有醉酒阈 值设定功能,可以根据法律法规或用户需要设定修改醉酒阈值,当乙醇浓度超过 设定的阈值,系统就会使红灯闪烁进行报警。 关键词: MQ-3 气体传感器;单片机;模数转换;液晶显示;可擦除只读存储器 ABSTRACT With the development of society, from the factories an
3、d enterprises to households, the alcohol leak detection,monitoring, and monitoring of drunk driving is very important and essential to personal and property safety of the residents. Meanwhile, with the rapid improvement of peoples living standard, more and more people have their own private car, and
4、 traffic accidents occur by drunk driving also frequently, to this end, the wine driving are included in the criminal law in China. As the peoples security consciousness enhancement and the people to the environment safety and life comfort requirements increase , in order to prevent the motor vehicl
5、e drivers drunk driving, detection of human breath alcohol content on the spot has received increasing attention, alcohol concentration tester is gradually widely used. In addition, alcohol tester can also be used in food processing, brewing and other occasions who need to monitor the alcohol concen
6、tration in the air. Today, the development of the gas sensor to the low-power, multi-functional, integrated direction, therefore, the alcohol concentration detector has a very broad market and potential of the market requirements. I design a alcohol concentration tester based on MCU in this paper. It uses the MQ-3 ethanol gas sensor to detect the alcohol concentration, and analog to digital conversion and processing of signal detection with the microcontroller STC12C5A16AD, through the LCD scr