摘要随着近几年来打车的人越来越多,出行打车越来越方便了,打车的人多了, 出租车行业也就越来越繁荣,伴随着这些现象的背后,总是会听到有人质疑出租 车计价的金额是否准确,里程数又是否精确,这是困扰着乘客的最重要的问题。 本文针对这些问题进行研究,采用单片控制出租车计价器的方法,配合数码管显 示来使乘客一目了然的看到自己所乘坐的出租车行驶的里程和消费的金额。72274
在硬件上本设计是以 STC89C51 单片机为核心的一套出租车计价系统,该系 统不仅能精确计量出租车行驶里程,还能准确地计算金额。这是由于单片机拥有 可靠性高,控制功能强,功耗低等一系列优点,而且其开发的周期短,开发软件 投入的少,应用范围广,体积又小,为如何解决了出租车计价不准确,乘客对计 费金额的困惑提供了理论方法,同时现有的单片机开发价格低廉,满足大规模生 产的需要,且系统运行稳定,使得维护管理成本降低。
在软件上采用汇编语言进行编程,汇编语言通常是为特定的计算机或系列计 算机专门设计的。其具有直接和简洁的特点,为有效访问和控制外部端口提供了 支持,同时汇编语言具有执行速度快,占用内存少的优点,改善了单片机执行的 速度和效率。
该论文有图 19 幅,表 2 个,参考文献 31 篇。
毕业论文关键词 STC89C51 单片机 出租车计价器 汇编语言 流程图
The taxi meter design based on single chip microcomputer
Abstract As more and more people take taxi in recent years,Travel by taxi is more and more convenient,Many people take a taxi,The taxi industry is more and more prosperous,Accompanied by behind these phenomena,Always hear some question whether the amount and mileage of taxi valuation is accurate,This is the most important problem plagued by passengers,In this paper,to solve these problems were studied,Adopt the method of single chip control taxi mete,With digital tube display to make passengers be clear at a glance to see their mileage of taxi and consumption amount。
The design on hardware is STC89C51 microcontroller as the core of a taxi valuation system,The system not only can gauge the taxi mileage,also can accurately calculate the amount,This is because the single chip microcomputer with high reliability,strong control function,low power consumption of a series of advantages,Software and its development cycle is short,less investment, application range is wide,and small volume,For how to solve the taxi pricing or inaccurate, passengers puzzled provides a theoretical method of billing amount,At the same time, the existing MCU development cost is low,Meet the needs of the mass production,And the system runs stably,reduces maintenance cost。
Using assembly language programming on the software,Assembly language is usually for a particular computer or series of specially designed computer,It has the characteristics of the direct and concise,Provides support for efficient access and control the external port,Assembly language has quick speed of execution at the same time,the advantages of less memory,To improve the speed of single-chip microcomputer to perform and efficiency。
Key words: STC89C51 Single chip microcomputer The taxi meter Assembly language The flow chart
目 录
摘 要 I
Abstract