- 1、本文档共70页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
PAGE
PAGE 37
基于51单片机的出租车计价器
摘 要
这款计价器设计应用场景是用于出租车运营,要求有计程计价的性能。计价器由STC89C52单片机为主体,通过单片机丰富的借口连接,以复位电路,时钟电路,键盘电路等外围芯片为辅助,组成一个整体进行工作。复位电路的意义是重启单片机,任何一款能正常使用的计价器都必备的功能,必要时也能摆脱操作错误的窘境,通过复位电路的功能可以重新进行工作。作为计时部分的12MHz晶体时钟电路的用途,是为计价器提供具有高的精度的系统时钟源。使用了Proteus等仿真软件,对计价器的软硬件部分模拟运行,用于调试。
通过连接上电源,字符型液晶1602可以显示三种收费:最低起步距离内的起步价,超出最低里程后,按公里数以及中途等候时间向,乘客收费。根据应用场景的不同,可以使用按键在里程收费,起步价,等候时间三种模式之间切换。仿照出租车在载客运营的行为模式,暂停与结束。 与至相关的运行时间和暂停时间等信息可以在1602液晶上查看到,总成本和总距离可以通过计算得出来。STC89C52控制器单片机为主体,P0端口与LCD模块1602的显示芯片连接,P1端口为键盘模块的连接端口,按键负责输入。
关键词:AT89S52;1602液晶;出租车计价器;DS1302;K24C02
Taximeter based on 51 microcontroller
ABSTRACT
The application scenario of the meter design is for taxi operation, which requires the performance of the meter to have the range pricing. Meter by STC89C52 MCU as the main body, customs clearance MCU rich excuses connection, togertherwith clock circuit keyboard circuit,reset circuit and other peripheral chips as the auxiliary, constitute a whole to work. The significance of the reset circuit is to restart the MCU, any one of the normal use of the meter are essential functions, when necessary can also get rid of the operating error dilemma, through the function of the reset circuit can work again. The purpose of the 12MHz crystal clock circuit as part of the timing is to provide the meter with a high precision system clock source. Use Proteus and other simulation software to simulate the behavior of the meter hardware and software debugging.
Connected to a power supply, the character LCD 1602 displays three types of charges: the starting price within the minimum starting distance, the official rate beyond the minimum distance and the waiting fare. According to the different application scenarios, you can use the button to switch between three modes: mileage charge, starting price and waiting time. Imitate the behavior pattern of taxi in carrying passengers, pause and end. The pause time is allow to be displayed on the 1602 LCD,as well as the runing time. The total co
您可能关注的文档
- 惠州市某建筑海水源热泵系统设计.docx
- 活塞式空压机部件加工工艺研发-活塞加工及夹具设计.doc
- 活塞式空压机部件加工工艺研发-曲轴加工夹具设计.doc
- 机场旅客服务质量提升策略研究-以白云机场为例.doc
- 机器视觉技术在农产品自动分拣中的应用研究.docx
- 基于 JavaEE的科技商品交易平台.doc
- 基于 SSM 框架的招聘小程序的设计与实现.docx
- 基于“治愈系”体验下空间设计的探索.docx
- 基于5G技术的考勤系统—业务设计教师部分.doc
- 基于51单片机的点阵式LED电子显示屏.docx
- 教科版(2017秋)科学二年级上册2.6 做一顶帽子 教学设计.docx
- 河北高频考点专训四 质量守恒定律的应用教学设计---2024-2025学年九年级化学人教版(2024)上册.docx
- 大单元教学【核心素养目标】6.3 24时计时法教学设计 人教版三年级下册.docx
- 河南省商城县李集中学2023-2024学年下学期九年级历史中考模拟八(讲评教学设计).docx
- 第18章 第25课时 正方形的性质2023-2024学年八年级下册数学课时分层作业教学设计( 人教版).docx
- Module 8 模块测试 教学设计 2024-2025学年英语外研版八年级上册.docx
- 2024-2025学年小学数学五年级下册浙教版教学设计合集.docx
- 2024-2025学年小学劳动四年级下册人民版《劳动》(2022)教学设计合集.docx
- 2024-2025学年小学数学三年级上册冀教版(2024)教学设计合集.docx
- 2024-2025学年高中生物学必修1《分子与细胞》人教版教学设计合集.docx
文档评论(0)