APP下载

基于T6963C的出租车计费大屏幕显示屏设计

2014-09-17孔令荣王昊

现代电子技术 2014年17期

孔令荣 王昊

摘 要: 出租车计费器以单片机AT89C51为主控制模块采集时钟芯片DS1302的时间数据,以显示系统时间;以脉冲信号模拟的A44E传感器采集的车轮转动数据脉冲信号作为计费依据;用以T6963C为驱动的液晶显示器LM3229作为显示模块,实现时间、金额、单价等信息的显示。以独立按键实现对该系统的控制,按键有计费开始、计费停止、时间调整、单价调整、计费方式的切换等。

关键词: T6963C; 单片机AT89C51; 计费器; 脉冲信号

中图分类号: TN873?34 文献标识码: A 文章编号: 1004?373X(2014)17?0144?04

Abstract: The taxi charging device taking single?chip microcomputer AT89C51 as its main controller is studied in this paper. It gets time information from the clock chip DS1302 to display the system time. The count is realized by the wheel rotation data pulse simulated the pulse signal and collected by the A44E sensor as billing basis. The liquid crystal display LM3229 driven by T6963C is adopted as the display module to display information of time, total sum and unit price. The independent keyboards are used to control the system. The keyboards have the switch functions of billing begin, billing stop, time adjustment, unit price adjustment and billing mode.

Keywords: T6963C; single?chip microcontroller AT89C51; charging device; puls signal

1 研究背景及意义

出租车计费器是人们在日常出行时经常遇到的电子计费装置,是和人们的日常生活联系很紧密的设备,给人们的生活带来很大方便。出租车计费器就是用单片机实现智能化路程计算和对应路程金额计算的智能装置。首先用传感器采集车轮转动数据,然后用固定的程序计算出行驶里程和对应的消费金额,通过液晶显示屏显示出信息。本系统中应用独立按键进行人机信息交换,实现单价的设置、时间的校正、计费方式的切换和复位功能。

2 硬件电路设计

硬件电路设计部分主要有AT89C51单片机及最小系统设计、LCM3229大屏幕液晶显示模块设计、键盘电路设计、时钟电路设计,传感器电路设计等,总体电路原理框图如图1所示。

总系统工作原理:单片机执行完主程序后在一条指令处循环跳转,等待中断。时间信号采集、行驶里程计算、按键工作均是由各个模块产生的中断请求信号进入中断程序来完成的。……

登录APP查看全文