摘要:随着城市建设日益加快,象征着城市面貌的出租车行业也将加速发展。现在各大中城市出租车行业都已普及自动计价器,所以计价器技术的发展有很好的前景。尽管小城市尚未普及,但计价器的普及也是毫无疑问的,所以未来汽车计价器的市场还是十分有潜力的。
出租车计价器是单片机的一种典型应用。基于单片机的计价器是由单片机和外部电路组成。包括检测模块,控制模块,人机模块。里程检测模块和红外对侧传感器构成,控制模块包括STC89C52单片机和红外对侧传感器,人机模块包括独立键盘和LED动态显示。
关键词:STC89C52;红外对侧传感器;独立键盘和LED显示
ABSTRACT:Along with the city construction is accelerating, symbolizing the city landscape taxi industry will also accelerate the development of. It is now the major city taxi industry have universal automatic meter, meter technology development has a very good prospect. Despite the small city has not yet universal, but the popularity meter is no doubt, so the future of the automobile market valuation is still potential.
MCU Taximeter is a typical application of. Based on microcontroller Taximeter is composed of a single-chip microcomputer and the external circuit. Includes detection module, control module, man-machine module. Mileage detecting module and an infrared sensor. On the side, the control module includes STC89C52 SCM and infrared contralateral sensor, man-machine module includes independent keyboard and LED dynamic display.
Key words: STC89C52; infrared sensor on the side; independent keyboard and LED display
通过对基于Proteus 7.5的仿真和实际电路的测试结果分析,表明用此方法设计的计价器。实现了计价功能,此外还增加了等待计时功能,,并且能实时显示总金额,运行单价等详细信息;且能很方便的在不改变硬件电路的情况下通过改变软件实现计价精度的提高,进行功能上的扩展,如可把现有的计价器转变为计速器,完善的功能使得基于STC89C52单片机的出租车计价器的通用性和实用性有着无可比拟的优势,具有很高的现实意义和很好的市场前景。