- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘 要
随着科技的迅速发展,单片机的使用也越来越广泛,并带动传统控制检测技术不断更新。现在的车速表大多是电子式的,用LED数码管或LCD即时显示,显示更加直观。电子式车速表采用接触车速传感器代替软轴传动,可使车速表的安装位置不受距离限制,进一步有效地克服了机械式车速表中的诸多不足。
本次设计给出了以AT89S51为核心,利用单片机的运算和控制功能,并采用系统化LCD显示模块实时显示所测速度的设计方案以及系统软件。
该方案由于使用了LCD显示模块,以及高效快速算法,因而可在节约系统资源和简化程序设计的基础上保证测量精度和系统实时性 。速度显示部分采用LCD显示, 因而节省了所需单片机的口线和外围器件, 同时也简化了显示部分的软件编程。案实现了电动车速度即时显示。
关键词:单片机;霍尔传感器;LCD显示
Abstract
Along with the quick development of science and technology, the application of SCM and more extensive, drive traditional control test technology constantly updated. Now the speed table is mostly electronic, use LED digital tube or LCD instantly shows, show more intuitive. Electronic speed table by using the contact speed sensor instead of soft shaft transmission speed table, can make the installation position of not affected by distance limit, further effectively overcome the speed to the table of mechanical some shortcomings.
This design is given based on AT89S51 as the core, of the microcontroller calculation and control function, and by using the systematic LCD display module real-time display measured the speed of design program and system software.
The scheme by using LCD display module, and quick and efficient algorithm, thus in saving system resources and simplify programming based on guarantee measuring precision and real-time system. Speed shows part adopts LCD display, thereby saving the required microcontroller mouth lines and peripheral equipments, simultaneously also simplifies shows part of the software programming. Case realized the electric car speed instantly shows.
Keywords: SCM, Hall sensors; LCD display
目 录
TOC \o 1-1 \t 标题 2,2,标题 3,3 摘 要 I
Abstract 错误!未定义书签。
1 引 言 1
1.1 选题背景 1
1.2 研究意义 1
1.3 研究内容 2
2 总体设计方案 3
3 系统单元模块概述 4
3.1 传感器选择 4
3.2 单片机选型 7
3.3 显示模块选型 9
3.4 速度算法概述 12
4 系统硬件设计 17
4.1 单片机的外部结构-引脚功能 错误!未定义书签。
4.1 液晶显示电路的原理和设计 17
4.1霍尔传感器电路的设计 错误!未定义书签。
4.1.3 晶振电路 错误!未定义书签。
4.3 数据处理过程 37
5 系统仿真和分析 39
5.1仿真结果 39
5.2仿真分析 39
6 系统软件设计 40
6.1 系统软件总流程图 40
6.2 速
文档评论(0)