资源描述:
《基于单片机的出租车计费器的设计与研究》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、现在人们的生活节奏越来越快,人们常常要在不同地方来回奔跑。乘坐出租车已经成为人们出行必不可少的最常使用的工具之一。在各大中城市出租车行业都已普及自动计价器,所以计费器技术的发展已成定局。出租车计费器的普及也是毫无疑问的,所以未来汽车计费器的市场还是十分有潜力的。本电路以STC89C52单片机为中心、用A44E霍尔传感器测量路程,并用LCD液晶屏显示起步价,路程以及消费金额等信息。其中起步价显示两位数,路程显示3位数,其中包括十位、个位和十分位,消费金额显示四位数,其中包括百位、十位、个位和十分位。本电路设计的出
2、租车计费器不但能实现基本的计费功能,而且还能根据白天、黑夜不同时间段来调节单价,可以在运行过程中实现白天黑夜不同单价的转换。并且能调节起步价和单价。初此之外,由于特殊原因,还可以实现等待功能,在等待过程中,计费器的数据保持不变。还可以实现复位功能。出租车计费器设计可以进行里程显示,预设起步价和起步公里数;行程按全程收费,有复位功能和启动功能,启动后,开始计价。计费器采用单片机进行设计,可以用较少的硬件和适当的软件相互配合来实现设计要求,且灵活性强,可以通过软件编程来完成更多的附加功能,应用前景广阔。关键字:单片
3、机霍尔传感器LCDTheTaxiFareRegisterBasedonSingle-chipMicrocomputerHeYifan(CollegeofEngineering,SouthChinaAgriculturalUniversity,Guangzhou510642,China)Abstract:Nowpeopleliferhythmfasterandfaster,peopleoftenhavetorunbackandforthindifferentplaces.Taxihasbecometheessen
4、tialtraveloneofthemostcommonlyusedtools.Inalllargeandmedium-sizedcitieshaveuniversalautomaticmetertaxiindustry,sothedevelopmentofmessagetechnologyisaforegoneconclusion.Thepopularityofthetaxifareregisterisnodoubtaboutit,sothemarketfutureisstillveryhasthepoten
5、tial.Thiscircuitwith89c51asthecenter,withA44Ehallsensormeasurement,andtheLCDscreenwillstartat,andinformationsuchastheconsumptionamount.Fareshowndouble-digit,display3digits,including10,bits,andvery,consumptionamountaccordingtofourdigits,includingonehundred,10
6、,bitsandvery.Taxifareregisterthiscircuitdesignnotonlycanrealizethebasicbillingfunction,butalsoaccordingtothedifferenttimeofdayandnighttoadjusttheunitprice,canberealizedintheprocessofrunningdayandnighttheconversionofdifferentunitprice.Andcanadjustthefareandth
7、eunitprice.Thisearly,duetospecialreasons,itcanimplementwaitforfunction,intheprocessofwaiting,messagedataremainthesame.Alsocanrealizetheresetfunction.Taxifareregistercanbedesignedformileage,accordingtothepresetfareandstartmileage;Tripinchargealltheway,havethe
8、functionsofresetandstart,start,start.Wecanuselessbysinglechipmicrocomputertocarryonthedesign,hardwareandappropriatesoftwareworktogethertoachievethedesignrequirements,andflexibilityisstrong,canbe