单片机出租车计价器的设计.doc
上传人:长春****主a 上传时间:2024-09-11 格式:DOC 页数:46 大小:3.4MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

单片机出租车计价器的设计.doc

单片机出租车计价器的设计.doc

预览

免费试读已结束,剩余 36 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

第PAGE\*MERGEFORMAT1页共PAGE\*MERGEFORMAT1PAGE\*MERGEFORMAT1页出租车计价器微机系统设计摘要:随着社会进步,出租车已经越来越贴近生活,成为我们重要的交通工具,影响着我们现在的生活,出租文化已成为一种显著的文化,成为社会生活的组成部分。出租车计费系统,关系司机和乘客的切身利益,也是问题纠纷的焦点。本设计通过运用单片机设计的出租车计价器,简单易懂,是学习电子课程的一个综合性实验,有助于提高分析问题能力。本电路以AT89S51单片机为中心、附加A44E霍尔传感器测距,实现对出租车计价统计,采用AT24C02实现在系统掉电的时候保存单价和系统时间等信息,输出采用8段数码显示管。本电路设计的计价器不但能实现基本的计价,而且还能根据白天、黑夜、中途等待来调节单价,同时在不计价的时候还能作为时钟为司机同志提供方便。关键词:传感器,AT89S51,中断,单片机,定时器/计数器ComputersystemsdesignTaximeterABSTRACT:Departmentstrengthensthemanagementinrecentyearsofsixkindofkeymeasurementappliancesalongwiththesocialprogress,therentalcaralreadymoreandmoredrewclosetothelife,becameourimportanttransportationvehicle,affectsourpresent'slife,thehiringculturehasbeenbecomingoneremarkableculture,becamethesociallifetheconstituent.Therentalcarcostsystem,relatesthedriverandpassenger'svitalinterest,isalsothequestiondispute'sfocalpoint.Thisdesignthroughutilizationmonolithicintegratedcircuitdesignrentalcarmileagefaremeter,simpleeasytounderstand,isstudiestheelectroniccurriculumacomprehensiveexperiment,ishelpfulintheenhancementanalysisquestionability.Thecircuitwith89S51Single-ChipMicrocomputerasthecenter,additionalA44EHallsensorlocation,andtheTaximeterstatistics,AT24C02usedinthesystemtoachievepower-downwhentheunitpricesandsavetime,andotherinformationsystems,digitaloutputbyparagraph8oftheshow.Thecircuitdesignofthemetercannotonlyachievethebasicpricing,butalsobasedontheday,night,waitingforthehalf-waytoregulatetheprice,whilenotpricingthetimeastheclockcanprovideconveniencefordriverscomrades.Keyword:Sensor,AT89S51,Interrupt,Single-ChipMicrocomputer,Timer/count第PAGE\*MERGEFORMATII页共II页目录TOC\o"1-3"\h\uHYPERLINK\l"_Toc295773970"1绪论1HYPERLINK\l"_Toc295773971"1.1概述1HYPERLINK\l"_Toc295773972"1.2出租车计价器的发展1HYPERLINK\l"_Toc295773973"1.3方案设计2HYPERLINK\l"_Toc295773974"1.4系统原理3HYPERLINK\l"_Toc295773975"2电路的功能单元设计PAGEREF_Toc295773975\h5HYPERLINK\l"_Toc295773976"2.1AT89S51简介PAGEREF_Toc295773976\h5HYPER