1、 摘 要 本设计的是一个基于单片机 AT89S52 的出租车自动计费设计,附有复位电路, 时钟电路,键盘电路等。复位电路是单片机的初始化操作,除了正常的初始化外, 为摆脱困境,通过复位电路可以重新开始。 时钟电路采用 12MHz 的晶振,作为系统 的时钟源,具有较高的准确性。 在上电时字符型液晶 1602 显示最初的起步价,里程收费,等待时间收费三 种收费,通过按键可以调整起步价,里程收费,等待时间收费。通过按键模拟出 租车的运行,暂停,停止。在 1602 液晶上可以显示运行的时间,运行时暂停的 时间,通过计算可以得出总共的费用和总的路程。在这里主要是以 AT89S52 单片 机为核心控制器,
2、P0 口接 1602 液晶显示模块,P1 口接按键的,通过按键输入。 关键字 AT89S52;1602液晶;出租车计费器 ABSTRACT The design is based on a monolithic integrated circuit AT89S52 taxi billing design, with reset circuit, clocking circuit, keyboard circuit. Reset circuit is initialized, besides the normal operation of the initial dilemma, as a fo
3、reigner, through the reset circuit can start again. 12MHz adopts the clock circuit, as a system of crystal oscillator, higher clock source. The characters in the crystal that the initial 1602, charges, fees mileage waiting time, three buttons can be adjusted by charging fees, just waiting time, mile
4、age. Through the simulation of the taxi, buttons, stop. Suspension In the liquid crystal display can run 1602, operation time, when suspension can be obtained by the computation of the total cost.here is mainly for the core controller, AT89S52 SCM P0 mouth after 1602 LCD module, P1 mouth after the keys, through the keystroke. Keyword: AT89S52;1602 LCD;Taxi devices 1 目 录 1 课程设计书