(参考)基于at89s52的出租车计价器1毕业论文.docVIP

  • 5
  • 0
  • 约4.33万字
  • 约 100页
  • 2018-06-08 发布于贵州
  • 举报

(参考)基于at89s52的出租车计价器1毕业论文.doc

(参考)基于at89s52的出租车计价器1毕业论文

目 录 摘 要 I Abstract II 引 言 1 第一章 绪论 2 1.1 课题来源 2 1.2 单片机应用系统开发介绍 3 1.2.1 开发流程 3 1.2.2 开发语言 4 1.3 AT89S52芯片介绍 4 1.3.1 AT89S52引脚功能 5 1.3.2 AT89S52单片机内部结构框图 6 第二章 硬件设计 8 2.1 概述 8 2.2 单片机最小系统 8 2.2.1 时钟电路 8 2.2.2 复位操作 9 2.3 DS1302时钟电路 10 2.3.1 DS1302芯片介绍 10 2.3.2 时钟电路设计 11 2.3.3 存储器的设计 12 2.4 里程测量模块 13 2.4.1 霍尔传感器介绍 13 2.4.2 里程测量原理 13 2.5 键盘控制电路 14 2.5.1 按键的特性 14 2.5.2 键盘电路 15 2.6 显示部分 16 2.6.1 显示器介绍 16 2.6.2 LED数码管原理 16 第三章 软件设计 17 3.1 主程序 17 3.2 信息设定程序 18 3.3 计价显示程序 18 第四章 电路调试 21 4.1 硬件电路调试 21 4.2 软件调试 22 4.3 实例测试 22 结 论 23 致 谢 24 参考文献 25 附 录 26 附录A 电路原理图 26 附录B 时间显示单元测试 27 附录C 计费显示单元测试 28 附录D 主程序清单 29 基于AT89S52单片机的出租车计价器设计 摘要:出租车计价器是乘客与司机双方的交易准则,它是出租车行业发展的重要标志,是出租车中最重要的工具。一个具有良好性能的计价器,无论是对广大出租车司机朋友还是乘客来说都是很必要的。因此,本文设计了一套以AT89S52单片机,A44E霍尔测距传感器为核心的出租车计价系统。系统采用DS1302芯片设计时钟电路,单片机控制LED七段数码管显示,C语言进行编程,实现了功能键分屏控制里程、总金额和时间的动态显示,按键校订计时时钟、起步价及起步里程等基本操作功能。此外,本文还详细阐述了软硬件设计过程中的关键技术提供了设计方法、流程图以及程序代码等。AT89S52;A44E霍尔传感器;DS1302 The Design of Taximeter Based on AT89S52 MCU Abstract: Taximeter is the transaction standards between passengers and drivers, which is an important indicator of the taxi development industry, and is the most important tools for a taxi. A Taximeter with good performance, both for the majority of taxi drivers or passengers is very necessary. Therefore, this paper designed Taximeter system, based on the core of AT89S52 MCU, A44E Hall ranging sensor. By using DS1302 chip design system clock circuit, MCU control LED seven-segment digital display, and using the C programming language, achieve a split-screen function keys control the mileage, the total amount and time of the dynamic display, keypad revision timing clock, starting fare and starting mileage and other basic operating functions. Additionally, this article elaborates detailedly the key technology of designing hardware and software process to provide a design methodology, flow charts and program codes. Key words: Taximeter; AT89S52 MCU; A44E Hall sensors; DS1302 引 言C51系列的单片机,它具有体积小、功能强、性能稳定、价格低廉

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档