洛 阳 理 工 学 院 毕 业 设 计 ( 论 文 ) I 毕 业 设 计 论 文 基 于 STC89C52 单 片 机 出 租 车 计 价 器 设 计 摘 要 随 着 城 市 建 设 日 益 加 快 , 象 征 着 城 市 面 貌 的 出 租 车 行 业 也 将 加 速 发 展 。 现 在各 大 中 城 市 出 租 车 行 业 都 已 普 及 自 动 计 价 器 , 所 以 计 价 器 技 术 的 发 展 有 很 好 的 前景 。 尽 管 小 城 市 尚 未 普 及 , 但 计 价 器 的 普 及 也 是 毫 无 疑 问 的 , 所 以 未 来 汽 车 计 价器 的 市 场 还 是 十 分 有 潜 力 的 。 出 租 车 计 价 器 是 单 片 机 的 一 种 典 型 应 用 。 基 于 单 片 机 的 计 价 器 是 由 单 片 机 和外 部 电 路 组 成 。 包 括 检 测 模 块 , 控 制 模 块 , 人 机 模 块 。 里 程 检 测 模 块 由 A44E 构 成 ,控 制 模 块 包 括 STC89C52 单 片 机 和 AT24C02 , 人 机 模 块 包 括 独 立 键 盘 和LED 动 态显 示 。 系 统 性 能 指 标 1.设 定 价 格 ; 2.显 示 当前 单 价 、行 驶里 程 和 总金额; 3.里 程 精确到 0.1公里 。 通过多次调试系 统 性 能 达到设 计 要 求。 关键 词:STC89C52 , 霍尔传感器 A44E , I2C 总线, 动 态 显 示 洛 阳 理 工 学 院 毕 业 设 计 ( 论 文 ) II Design of Taximeter Based on STC89C52 ABSTRACT With the rapid development of city constriction, the taxi industry which symbolizes the cityscape also has an accelerated progress. Nowadays the automatic taximeter has been widely used in taxi industry in many cites. Therefore, the development of automatic taximeter is doomed. Although automatic taximeter is not spread in some towns, there is no doubt that it would be popularized. Thus, in future the business of automatic taximeter is still potential. One typical application of single chip computer is automatic taximeter. The hard...