基于51单片机的酒精测试仪设计毕业设计说明书毕业设计(论文)基于51单片机的酒精测试仪设计51MCU-BasedDesignOfTheTesterAlcohol学生姓名学号专业班级指导教师摘要近年来,随着我国经济的发展,人民的生活水平提高,越来越多的人有了自己的私家车,而酒后驾车造成的交通事故也频频发生。如今国家法律出台道路交通安全法规定,饮酒后或者醉酒驾驶机动车发生重大交通事故,构成犯罪的,依法追究刑事责任,并由公安机关交通管理部门吊销机动车驾驶证,终生不得重新取得机动车驾驶证。鉴于人们对于醉酒驾驶的逐渐重视,酒精测试课题便引起了广泛的关注。酒后驾车引起的交通事故是由于司机的过量饮酒造成人体内酒精浓度过高,麻痹神经,造成大脑反应迟缓,肢体不受控制等症状。为本课题研究的是一种以气敏传感器和单片机为主,监测空气酒精浓度,并具有LCD显示功能的空气酒精浓度监测仪。此需要设计一智能仪器能够监测驾驶员体内酒精含量。本课题研究的是一种以气敏传感器和单片机为主,监测空气酒精浓度,并具有声报警功能及LCD显示功能的空气酒精浓度监测仪。其可监测出空气环境中和呼气中酒精浓度值,并根据不同的环境设定不同的阀值,对超过的阀值进行声报警,并显示阀值.来提示危害。从而达到以下目的:(1)有利于社会公共交通安全;(2)提高人们法律意识;(3)使之便捷、安全、准确、高效,便于提高家庭酒精测试的普及化。本作品是基于单片机控制ADC0809对TGS822酒精浓度取样来反映人体血液酒精浓度;以及对DS18B20获取温度关键词:ADC0809;TGS822;DS18B20;单片机AbstractInrecentyears,asChina'seconomicdevelopment,people'slivingstandardsimprove,moreandmorepeoplehavetheirownprivatecarsandtrafficaccidentscausedbydrunkdrivingisalsofrequent.Today,theintroductionofnationallawtheprovisionsoftheRoadTrafficSafetyLaw,motorvehicleafterdrinkingordrunkdrivingmajortrafficaccidents,crimeisconstituted,criminalresponsibilityshallbeinvestigatedbythetrafficcontroldepartmentofpublicsecurityorgandrivinglicenserevokedforlifemaynotregainadrivinglicense.Givenpeople'sincreasingemphasisonthedrinkdriving,alcoholtestsubjecthasarousedwidespreadconcern.Drunkdrivingaccidentscausedbyexcessivedrinkingiscausedbecausethedriver'salcohollevelistoohighthebody,paralysisofnerves,resultinginslowresponsetothebrain,bodyoutofcontrolandothersymptoms.Basedresearchisakindofgassensorandmicrocontroller-based,monitoringofairalcoholconcentration,andwithLCDdisplaymonitorairalcoholconcentration.Theneedtodesignanintelligentinstrumentstomonitorthedriver'salcoholcontent.Thisresearchisakindofgassensorandmicrocontroller-based,monitoringofairalcoholconcentration,andwithsoundalarmandLCDdisplaymonitorstheairalcoholconcentration.Theenvironmentcanbemonitoredfromtheairandbreathalcoholconcentration,andaccordingtodifferentenvironmentssetdifferentthresholdthanthethresholdoftheacousticalarm,anddisplaythreshold.TopromptthehazardSoastoachievethefollowingpurposes:1infavorofpublictransportsafety;2toraiseawarenessoflegalconsciousness;3tomakeitconvenient,safe,accurate,efficient,easytoincreasethepopularityofhomealcoholtestThisworkisbasedontheTGS822ADC0809microcontrollersamplingtoreflectthebodyalcoholconcentrationbloodalcoholconcentration;andtoobtainthetemperatureDS18B20Keywords:ADC0809;TGS822;DS18B20;MCU目录第1章绪论11.1精测试仪现状和发展趋势11.2研究内容2第2章总体设计32.1本课题的设计任务及要求32.1.1设计任务32.1.2设计要求32.2系统整机原理图分析4第3章硬件设计53.1单片机模块53.2ADC0809资料63.3酒精传感器模块83.3.1传感器性能分析83.3.2呼出酒精气体浓度与血液酒精浓度关系113.4LCD模块12第4章系统软件144.1整机系统流程图154.1.1ADC程序流程图154.1.2LCD程序流程图16第5章总结与展望17参考文献18致谢19附录1酒精...