基于51单片机的出租车计价器.docVIP

  1. 1、本文档共70页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 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

您可能关注的文档

文档评论(0)

文章交流借鉴 + 关注
实名认证
文档贡献者

妙笔如花

1亿VIP精品文档

相关文档