设计说明书
总字数:14000+
随着国民经济的提高,出租车数量日益增多,计价器为车辆定期的保养、维护以及报废提供依据。本文针对现有车用计价器检定中缺少条件、因素干扰多、可靠性低等问题,利用单片机技术开发了一款智能出租车计价器,在降低成本的前提下完成智能计价功能。本设计采用STC89C52单片机作为主控芯片,设计一款较为智能的出租车计价器,有效解决夜晚和白天收费不一样的问题,此次设计有两种模式,白天和夜晚,白天的起步价为8元,超过2.5公里为每公里1.7元/公里,在顾客到达的时候,司机按下暂停的时候,停止计价,在顾客进行下车后可以进行清零,然后下一位顾客上车的时候重新开始。在夜晚的时候,起步价为9元,超过2.5公里之后每公里1.7元。此次设计通过软件和硬件进行结合,最终可以解决目前出租车乱收费的问题,并且出租车司机可以通过显示屏查看当前的时间、速度、总公里、单价、总金额,而且此次设计稳定性也较强,设备的成本较低,可靠性也较强。
关键词 出租车、计价器、单片机、夜间模式、白天模式
With the improvement of the national economy, the number of taxis is increasing, and the meter provides a basis for the regular maintenance, maintenance and scrapping of vehicles. Aiming at the problems of lack of conditions, interference factors and low reliability, this paper develops an intelligent taxi meter by using single chip microcomputer technology, and achieves intelligent pricing function under the premise of reducing cost.This design uses STC89C52 single chip microcomputer as the main control chip to design a more intelligent taxi meter, which effectively solves the problem that night and day charges are not the same, the design has two modes, day and night, the starting price of 8 yuan during the day, more than 2.5 kilometers for 1.7 yuan/kilometer, when the customer arrives, When the driver presses pause, the fare stops, can be cleared after the customer gets off, and then restarted when the next customer gets on. At night, the starting price is 9 yuan and 1.7 yuan per kilometer after 2.5 kilometers. Through the combination of software and hardware, the design can finally solve the problem of the current taxi charging, and the taxi driver can view the current time, speed, total kilometers, unit price, total amount through the display screen, and the design stability is also strong, the cost of equipment is low, and the reliability is also strong.
Keywords Taxi, meter, MCU, night mode, day mode
目 录
摘 要
Abstract
第一章 设计概述
1.1 研究背景及其意义
1.2 国内外研究现状
1.3 此次设计实现的功能
第二章 系统设计方案
2.1 系统设计方案
2.2 主要元器件选择
2.2.1 主控芯片方案
2.2.2 显示模块方案
2.2.3 按键模块方案选择
第三章 硬件设计
3.1 主控模块电路
3.2 电机驱动模块电路
3.3 LCD12864显示模块电路
3.4测速模块(74HC14D)
3.5 按键模块
3.7 时钟模块电路
第四章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 时钟模块子流程
4.4 直流电机-MX1508驱动模块子流程
4.5 LCD12864显示模块子流程设计
4.6独立按键
第五章 仿真测试
5.1 整体仿真图
5.2 上电仿真测试
5.3 出租车计价仿真测试
5.4 设置时间仿真测试
第六章 实物测试
6.1整体实物图
6.2 上电实物测试
6.3 出租车计价实物测试
6.4 设置时间实物测试
总结
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!