"基于STC89C52单片机的出租车计价器设计与实现"

1 下载量 198 浏览量 更新于2024-01-26 收藏 1.39MB DOC 举报
he taxi industry, which symbolizes the urban landscape, is also accelerating. Now, automatic meters are popular in major cities, so the development of meter technology has a good prospect. Although it has not been popularized in small cities, the popularization of meters is inevitable, so the future market for car meters is still very promising. The taximeter is a typical application of the single-chip microcomputer. The meter based on the single-chip microcomputer is composed of a single-chip microcomputer and an external circuit, including the detection module, control module, and human-computer module. The mileage detection module is composed of A44E, the control module includes STC89C52 single-chip microcomputer and AT24C02, and the human-computer module includes an independent keyboard and LED dynamic display. The system performance indicators are: 1. Set the price; 2. Display the current unit price, driving distance, and total amount; 3. The mileage is accurate to 0.1 kilometers. The system performance meets the design requirements through multiple adjustments. Keywords: STC89C52, Hall sensor A44E, I2C bus, dynamic display. 这篇论文主要介绍了基于STC89C52单片机的出租车计价器设计。由于城市建设的快速发展,出租车行业也在加速发展。现在,各大城市普遍使用自动计价器,因此计价器技术的发展前景十分广阔。尽管小城市尚未普及自动计价器,但出租车计价器的普及势在必行,因此汽车计价器的市场潜力依然巨大。文章介绍了计价器由单片机和外部电路组成,包括检测模块、控制模块和人机模块。里程检测模块由A44E构成,控制模块包括STC89C52单片机和AT24C02,人机模块包括独立键盘和LED动态显示。系统性能指标包括设定价格、显示当前单价、行驶里程和总金额、里程精确到0.1公里。通过多次调试系统性能达到设计要求。关键词:STC89C52,霍尔传感器A44E,I2C总线,动态显示。 总的来说,出租车计价器的设计是基于STC89C52单片机的典型应用,随着城市建设的发展,该行业也迎来了快速发展。通过本设计,可以实现对出租车费用的准确计算和显示,为出租车行业的发展提供了便利,同时也展示了单片机在实际应用中的重要作用。