1、 I 摘摘 要要 随着城市改革开放的进一步深化,出租车行业迅速发展,出租车计价器的市场需求 量也大大增加。从加强出租车行业管理及服务质量并且节约成本出发,本设计以 AT89C52 单片机为中心、附加 A44E 霍尔传感器测距,实现对出租车计价统计,采用 AT24C02 实现在系统掉电的时候保存单价和系统时间等信息,输出采用 8 段数码显示 管。本电路设计的计价器不但能实现基本的计价,而且还能根据白天、黑夜、中途等待 来调节单价,同时在不计价的时候还能作为时钟为司机同志提供方便。 关键词关键词:出租车计价器 AT89C52 单价调节 软硬件设计 II Taximeter based on sin
2、gle-chip design Abstract Along with the urban reform open further deepening,the rental car profession are expanding rapidly,and the rental car mileage fare meters market demand is also greatly increasing. In order to strengthen the rental car trade management and the grade of service, and saves the
3、cost to embark, The single-chip circuitry to AT89C52 as the center, an additional Hall sensor A44E ranging, to realize Taximeter statistics, using AT24C02 realize when the system power-down unit prices and save information such as system time, the output using 8 digital display tube. The circuit des
4、ign of the meter will not only realize the basic valuation, but also according to the daytime, night, halfway to wait to adjust the unit price, while not denominated as a time clock can also provide convenience for the drivers comrades. Key word: Rental car mileage fare meter、AT89C52 、unit price adjustment、software and hardware design III 目录 摘 要 .I Abstract II 第一章 引言 1 1.1 概述 . 1 第二章 总体方案设计. 3 2.1 方案论证与比较. 3 2.2 单片机系统总体设计. 4 2.3 芯片简介 5 2.3.1 AT89C52 5 2.3.2 AT24C02 11 2.3.3 74HC164 12 2.3.4 DS