- 1、本文档共25页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
汽车速度里程表的设计
摘要:关键字:
Abstract: In the process of high-speed vehicles, vehicle speed odometer is important instrument driver to provide dynamic driving information, which directly affects the running safety of vehicles. The speedometer tradition has two defects: one is the traditional speedometer flexible shaft driving the vehicle high speed running condition, the shaft rotating speed, the flexible shaft steel wire stress limit, often resulting in fatigue fracture of the wire flexible shaft, so that the speedometer failure; two is a flexible wiring is too long due to deformation, appear too large and the motion lag, lead to dynamic indicating slow or indication error. In order to be more reliable and timely to the drivers driving dynamic information, guarantee the driving safety, the problem of high failure rate, the speedometer dynamic indicating slow service traditional flexible shaft driving, the use of electronic technology, sensor technology and computer intelligence technology advanced, the improvement of the traditional odometer is very necessary.
Key words:The microcontroller, hall sensors, memory,The speedometer目 录
前 言 1
1 系统概述 2
2 基本原理与设计方案 2
2.1 霍尔传感器简介 3
2.2 AT89C2051芯片简介 4
2.3 液晶显示模块SED1520芯片介绍 5
2.3.1 SED1520芯片介绍 5
2.3.2 SED1520的特性 6
2.3.3 SED1520指令与显示RAM结构 6
2.4 定时器/计数器的结构 7
2.5 定时计数器的原理 7
2.6 频率测量 8
3 系统硬件设计 8
3.1 信号预处理电路 8
3.2 施密特触发器 9
3.3 液晶显示电路和数据存储电路 10
4 系统软件设计 11
4.1 电机转速控制模块程序设计 12
4.2 频率测量模块程序设计 12
4.3 液晶显示程序的设计 15
4.4 速度、里程显示程序的设计 15
4.5 模块程序设计 18
5 软件调试 20
5.1 程序的查错手段 20
5.2 源程序的检测 21
5.3 源程序的调试 21
6 设计总结 22
参考文献 23
前 言
汽车是现代生活中不可或缺的一种重要交通工具,传统的指针式里程表伴随着汽车的诞生就一直为人们喜爱,不过,新生事物不会因传统的存在而停止它前进的步伐。数码科技在今天已渗透到工业,农业,民用等产品的点点滴滴。新概念的车速里程表最直观的变化就是用大屏幕的液晶取代指针式表盘,直接用数字显示速度和里程,以及其他一些诸如油耗、时钟、环境温度等参数,直观的呈现给使用者。同时,它还具有成本低廉,显示清晰,稳定可靠等优点。
由于单片机体积小,可以把它做到产品的内部,取代老式机械零件,缩小产品体积,增强功能,实现智能化。因此被广泛地用在智能产品中。Intel公司的MCS-51系列单片机近年来得到了广泛流行。本文即介绍一种基于AT89C2051单片机的汽车速度与里程表的设计和实现。
本设计以AT89C2051为核心,利用单片机的运算和控制功能,采用串口液晶显示模块实时显示所测汽车的速度和里程设计方案。由于使用了串口
文档评论(0)