基于单片机控制的车速里程表设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

摘要

近年来随着计算机在社会领域的渗透, 单片机的应用正在不断地走向深入,同时带动传统控制检测日新月益更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,以作完善。模拟多通道压力系统是利用压力传感器采集当前压力并反映在显示器上,它可以分析压力过量程,并发出报警。并采用电子秤原理可根据输入单价准确的计算出物体的金额。本篇论文讨论了简单的倒计时器的设计与制作,对于倒计时器中的四位LED数码显示器来说,我为了简化线路、降低成本,采用以软件为主的接口方法,即不使用专门的硬件译码器,而采用软件程序进行译码。

关键词单片机,AT89S51, LED数码管显示器, keil C51,倒计时器

ABSTRACT

Permeate in the social realm along with the calculator in recent years, single slice the application of the machine just at constantly alignment thorough, arouse a traditional control an examination a day a new moon benefit renewal in the meantime.In solidly the hour the examination the single slice that controls with auto the machine the application the system, single slice machine usually Be a core parts to use, only single slice the machine aspect knowledge is not enough, return should according to concrete the hardware structure, and aim at concrete application the software of[with] the object characteristics combine to make perfect. Imitating many passage pressure systemses is to make use of pressure to spread the feeling machine to collect current pressure combine the reflection is on the display, it can analyze the pressure surfeit distance, erupting to report to the bine the adoption electronics steelyard principle can according to input the amount of money that the unit price computes an object accurately

This thesis discuss that pour the design and creation of the timer in brief, for pour four LED figures displays in the timer to say, I am for the sake of the simplification circuit,decline low cost, adopt to take software as the connect of lord a people's method, do not use specialized hardware to translate the code machine namely, but adopt the software procedure to carry on translating code.

Keyword:single slice machine,AT89 S51,The LED figures tube display,Keil C51,Pour timer

目录

第 1 章绪论 (1)

1.1课题背景 (1)

1.2车速里程表的简介组成及原理 (1)

1.3设计的整体思路 (3)

第 2 章硬件的设计 (6)

2.1单片机简介 (6)

2.2 AT89C52系列单片机的介绍 (7)

2.3里程表各部分电路介绍 (9)

2.3.1霍尔传感器电路 (9)

2.3.2定时计数器电路 (11)

2.3.3外部中断 (12)

2.3.4 74HC573驱动器 (13)

2.3.5LED显示模块电路 (15)

第 3 章软件的设计................................................................................................ ........................................................................................................ 错误!未定义书签。

3.1普遍系统的总体设计....................................................... 错误!未定义书签。

3.2单片机应用软件的一般设计........................................... 错误!未定义书签。

3.3车速里程表的软件设计................................................... 错误!未定义书签。

3.3.1总体设计思路........................................................... 错误!未定义书签。

3.3.2子程序和主函数的设计........................................... 错误!未定义书签。第 4 章软件调试 .................................................................. 错误!未定义书签。

4.1程序的检测与调试........................................................... 错误!未定义书签。

4.2PROTEUS仿真过程............................................................. 错误!未定义书签。结束语.......................................................................................... 错误!未定义书签。参考文献..................................................................................... 错误!未定义书签。致谢.......................................................................................... 错误!未定义书签。附录一硬件设计原理图....................................................... 错误!未定义书签。附录二程序清单..................................................................... 错误!未定义书签。附录三元器件清单................................................................ 错误!未定义书签。毕业设计诚信声明 .................................................................. 错误!未定义书签。

相关文档
最新文档