基于单片机的出租车计费器系统设计 毕业设计.doc.doc

基于单片机的出租车计费器系统设计 毕业设计.doc.doc

  1. 1、本文档共37页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的出租车计费器系统设计 毕业设计.doc

基于AT80C51单片机的出租车计费系统设计 【摘要】 随着出租车行业的发展,出租车行业已经是城市交通的重要组成部分,对出租车的开发变得尤为重要。 本文阐述了以单片机为基础的出租车计费系统的设计,该系统采用80C51单片机为核心控制器,利用A44E霍尔传感器测车辆行驶距离,输出车辆行驶距离和车费到数码显示管。文章中还介绍了霍尔传感器的工作原理,霍尔传感器以霍尔效应为其工作基础,当霍尔传感器在变化的磁场中时就会产生脉冲波,单片机接收脉冲波从而计算出车辆的行驶距离,然后算出总车费。显示电路中运用了8位数码显示管,其中4位用来显示距离,4位用来显示总车费。该系统不但能实现出租车基本的测距和计价,还能计算中途等待时间来调节车价,同时在空车状态下可对起步价进行设置。文章中不仅详细地介绍了电路各个模块的硬件结构,还对软件设计进行了详细说明。 关键词:出租车,80C51,霍尔传感器 Abstract: As the taxi development, urban taxi industry is an important component of the traffic, developing the taxi becomes more and more important. In this paper, it shows the design of microcontroller-based taxi billing system, the system uses 80C51 microcontroller core, uses A44E Hall sensor measuring vehicle distance and make the vehicle and the fare output to the digital display tube. The article also describes the working principle of the Hall sensor, Hall sensor bases its work on the Hall effect, when the Hall sensor is in a changing magnetic filed it can generate the pluse which is received by microcontroller to calculate the vehicle distance, and then calculate the total fare. The show circuit uses the 8-bit digital display tubes, of which 4 used to show distance,4 to display the total fare. The system can not only achieve the basic taxi distance and fare, but also can calculate the intermediate wait time to adjust the prices, when the taxi is empty the starting can be set.The article not only describes the hardware structure of each module in the circuit in detail,but also describe the software design in detail. Key words: Taxi 80C51 Hall sensor 目 录 1 绪论 3 1.1单片机应用的发展及现状 3 1.1.1单片机概述 3 1.1.2单片机的应用 3 1.2现今对出租车计费系统的有关研究 4 2 出租车计费系统设计目标 5 2.1 出租车计费系统原理概述 5 2.2 出租车计费系统实现的功能 6 3系统硬件设计 7 3.1 系统设计框图 7 3.2.1 80C51单片机的内部逻辑结构 8 3.2.2单片机的引脚 10 3.2.3 单片机的中断系统 12 3.2.4单片机最小系统 14 3.3.1 霍尔传感器介绍 17 3.3.2霍尔效应 17 3.4 I/O扩展电路 21 3.4.1 8155的结构和引脚图 22 3.4.3 8155的工作方式与基本操作 23 3.4.4 8155的地址编码 24 3.4.5 单片机I/O扩展电路 24 3.5.1 74HC244芯片介绍 25 3.5.2 LED显示器介绍 26 3.5.3 数码管显示原理 27 3.5.4 显示电路 28 4 系统软件设计

文档评论(0)

shenlan118 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档