基于单片机的出租车计费器系统设计毕业设计5ceuoz46.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 目 录
1 绪论....................................................................................................................3
1.1单片机应用的发展及现状.............................................................................3
显示全部