1、 20122012 届毕业设计说明书届毕业设计说明书 计程车里程表系统设计 院 、 部: 电气与信息工程学院 学生姓名: 指导教师: 职 称: 讲师 专 业: 电子信息工程 班 级: 学 号: 2012 年 5 月 I 摘 要 智能仪器仪表技术是一门集电子技术、 单片机技术、 自动化仪表、 自动控制技术、 计算机应用等一体的跨学科的专业技术。自 20 世纪 90 年代初以来,这项技术已逐 步引入到国内工科专业中,如电子信息、通讯、自动化、计算机应用等信息类专业。 随着经济的发展,汽车运输行业也快速发展起来,计程车也成为城市生活中的重要 交通工具。乘车时,乘客与司机之间的交易是通过按里程计价的,
2、里程表的好坏直 接关系到双方的利益,所以设计一个功能合适、性能良好的简易计程车里程表系统 具有实际的应用意义。 本系统采用 ATMEL 公司的 AT89S52 单片机为核心,使用 12MHz 晶振提供时钟信 号,利用霍尔传感器检测车速,通过软件编程的方法实现记时、里程检测、费用计算, 同时通过 LED 数码管将里程数、总费用直观显示出来,从而达到计费的目的。该系 统设有五个按键(清除、查询/确认、停止、单程/往返、功能选择),进行相应的操 作就可实现单程/往返模式选择、停止计费、等待时间查询、清除复位等功能。具有 结构简单、操作方便、显示直观、运行稳定等优点,有较高的推广应用价值。 关键词:
3、计程车里程表;AT89S52;霍尔传感器;硬件设计;软件设计 II ABSTRACT Intelligent instrument technology is a collection of electronic technology and single-chip microcomputer technology, automation instrument, automatic control technology, computer application, one of the professional technical subjects. Since the early 1990
4、s, the technology has introduced gradually to domestic engineering professionals, such as electronic information and communications, automation, computer applications, and other information specialty. With the development of economy, the car transport industry also developed rapidly, the taxi also become the important traffic tools city life. Go by car, passengers, and the driver of transactions between the by pressing the mileage of valuation is,