I摘要随着社会经济的发展,交通运输越来越发达,汽车行业空前发展,人们出行也越来越多,出行方式由之前的步行、自行车改为出租车,因此加快了出租车行业的发展。城市出租车行业的发展,势必方便人们的出行,增强城市的建设。如何计算顾客乘坐出租车里程费用,需要一款智能的打车计费系统,实现智能化,简洁化,准确化的计算乘客打车金额,因此出租车计价器将具有广阔的市场价值。本设计是一款基于单片机的打开计费系统,主要采用单片机结合外围电路模块来实现计费功能。本系统功能强大,有两种计费方法,分为白天和夜晚两种模式,夜晚价格相对较高。同时支持按时间和里程收费,收费方式灵活。同时采用电机来模拟出租车是否载有乘客。当没乘客乘坐时,液晶屏显示时间和日历,电机不工作。当有乘客乘坐后,液晶界面转到计费界面,电机工作,模拟汽车正常行驶。本系统通过按键来设置各个计费价格,包括起步价,超过起步价后每公里价格,以及白天和夜晚价格,且具有掉电保存功能。计价器关系到乘客的经济利益,在实际生活中很有必要,因此本设计的研究价值很高。关键词:计价器;时钟;单片机IIAbstractWiththedevelopmentofsocialeconomy,transportationismoreandmoredeveloped,unprecedenteddevelopmentofautomobileindustry,peopletravelmoreandmore,thewayoftravelfromthepreviouswalk,bicycletotaxi,sothedevelopmentofthetaxiindustry.Thedevelopmentofurbantaxiindustryisboundtofacilitatepeople'stravelandenhancetheconstructionofthecity.Howtocalculatethecostofcustomers'taximileagerequiresanintelligenttaxibillingsystem,whichcanrealizetheintelligent,conciseandaccuratecalculationofpassengers'taxiamount.Therefore,thetaximeterwillhavebroadmarketvalue.Thisdesignisbasedonasinglechipopenbillingsystem,themainuseofsinglechipcombinedwiththeperipheralcircuitmoduletoachievebillingfunction.Thissystemhaspowerfulfunctionsandtwobillingmethods,whicharedividedintodayandnightmodes,andthenightpriceisrelativelyhigh.Atthesametimesupportbytimeandmileagecharges,chargesflexible.Electricmotorsarealsousedtosimulatewhetherataxiiscarryingpassengersornot.Whentherearenopassengers,theLCDscreendisplaysthetimeandcalendar,andthemotordoesnotwork.Whenpassengersareonboard,theLCDinterfaceturnstothebillinginterface,andthemotorworkstosimulatethenormalrunningofthecar.Thesystemcanseteachbillingpricebypressingthebutton,includingthestartingprice,thepriceperkilometerafterexceedingthestartingprice,andthedayandnightprice,andhasthefunctionofpoweroffandsaving.Themeterrelatestotheeconomicinterestsofpassengers,whichisnecessaryinreallife,sotheresearchvalueofthisdesignisveryhigh.Keywords:meter;clock;SCM目录第1章绪论..................................................................................................................11.1选题概述..........................................................................................................11.2单片机概述......................................................................................................1第2章实施方案设计..................................................................................................32.1设计任务要求..................................................................................................32.1.1设计任务..........................................................................................32.1.2设计要求...........................................................................................32.2设计的主要功能..............................................................................................32.3方案的确定...................