SOFTWARE软件2023第44卷第1期2023年Vol.44,No.1作者简介:吴廷鑫(1984—),男,河南郑州人,本科,讲师,研究方向:PLC应用技术。基于单片机的电动汽车防酒驾系统吴廷鑫邝爱华(郑州市电子信息工程学校,河南郑州450018)摘要:本设计是基于52单片机的电动汽车防止酒后驾车的系统,其中的基本功能有:酒精浓度检测、酒精浓度液晶显示、无线传输、限制行车、报警等。本系统由52单片机控制运行,酒精浓度检测任务由MQ-3酒精传感器完成,酒精检测后的浓度数值由NRF24L01无线芯片进行浓度数值的发送与接收,酒精浓度的数字信号转换成电压模拟信号的任务由ADC0809模块实现,浓度由LCD液晶屏显示,电动汽车模拟电机控制由L298N电机驱动进行驱动。当司机酒后想要行车时,系统会强制限制其行车,并响起警报,有效的起到防酒驾功能,设计更加具有人性化。关键词:电动汽车;52单片机;防酒驾;无线模块中图分类号:TP216文献标识码:ADOI:10.3969/j.issn.1003-6970.2023.01.037本文著录格式:吴廷鑫,邝爱华.基于单片机的电动汽车防酒驾系统[J].软件,2023,44(01):138-140+175Anti-drinkDrivingSystemofElectricVehicleBasedonMCUWUTingxin,KUANGAihua(ZhengzhouElectronicandInformationEngineeringSchool,ZhengzhouHenan450018)【Abstract】:Thisarticleaimstodesignatheelectricvehiclesbasedon52MCUsystemtopreventdrivingafterdrinking,thebasicfunctionsare:Thedetectionofalcoholconcentration,alcoholconcentration,liquidcrystaldisplay,wirelesstransmission,alarmandothertrafficrestrictions.Thissystemiscomposedof52MCU,thealcoholconcentrationdetectiontaskiscompletedbytheMQ-3alcoholsensor,theconcentrationofalcoholdetectionbynumericalNRF24L01wirelesschipforsendingandreceivingconcentrationvalue,theanalogvoltagesignalisrealizedbytheADC0809taskmoduleconvertsthedigitalsignalsintothealcoholconcentration,concentrationbyLCDdisplay,motorcontrolledbytheL298Nmotordrivenelectricvehiclesimulation.Whenthedriverwantstodrivewhendrunk,thesystemwillrestricthisdrivingandalarm,effectivelypreventdrunkdriving,andmakethedesignmorehumanized.【Keywords】:theelectriccar;52MCU;thedrunkendriving;wirelessmodule设计研究与应用0引言近段时间以来,就电动汽车的酒后驾驶防治系统的开发而言,国外很多国家已经将这件事提上了日程。早在...