1 / 25
文档名称:

基于单片机的出租车计价器的设计.doc

格式:doc   页数:25
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于单片机的出租车计价器的设计.doc

上传人:追风少年 2012/6/1 文件大小:0 KB

下载得到文件列表

基于单片机的出租车计价器的设计.doc

文档介绍

文档介绍:河北工业大学
毕业设计说明书(论文)
作者: 马万鹏学号: 084592
系: 电子系
专业: 电子信息工程技术
题目: 基于单片机的出租车计价器的设计
指导者: 郝海辉
评阅者:
2011年 5月 29日

毕业设计(论文)中文摘要
基于单片机的出租车计价器的设计
摘要:
在交通发展迅速的今天,出租车是我们交通中不可缺少的工具。同时出租车中的计价器是必不可少的一种设备。出租车计价器系统设计的主要内容是通过AT89S52单片机上的数码显示器来模拟出租车计价器的路程显示表,通过单片机上的键盘上的某些键来表示开始、暂停、复位等功能。步骤如下:首先,程序开始做一些必要的初始化工作,等待键盘输入。然后,启动键按下(0)后LED数码管开始记录路程并显示。最后,当需要停止是可按相应的键(F)对路程计数器进行暂停。而且还可以复位(E)。
关键词: 单片机AT89S52;出租车计费器;LED数码管
毕业设计(论文)外文摘要
Title microcontrollers-based design of the taxi meter
Abstract
Today the rapid development in transportation, taxi transportation is an indispensable tool. At the same time the taxi meter is essential in a device. Taximeter system design mainly through the AT89S52 microcontroller to simulate the digital display on the taxi meter distance indicator, through the microcontroller on certain keys on the keyboard to represent the start, pause, reset and other functions. As follows: First, the program began to do some necessary initialization and wait for keyboard input. Then, start key is pressed (0) to start recording after the LED digital tube distance and displayed. Finally, when to stop is to press the corresponding key (F) on the distance counter suspended. But also to reset the (E).
Keywords: microcontrollers AT89S52;Taxi meter;LED digital tube
目次
1 引言……………………………………………………………………………… 1
2 出租车计价系统的计费要求与功能模型……………………………………… 1
出租车计价器设计要求……………………………………………………… 1
系统主要功能及模块组成…………………………………………………… 2
3 出租车计价系统的硬件实现…………………………………………………… 3
出租车计价器设计方案的论证与选择………………………………………… 3
总体设计框图………………………………………………………………… 4
硬件器件选择………………………………………………………………… 5
硬件器件电路设计…………………………………………………………… 11
4 出租车计价系统的软件实现…………………………………………………… 13
模块介绍……………………………………………………………………… 13
主程序模块…………………………………………………………………… 13
定时中断服务程序…………………………………………………………… 15
里程计数中断服务…………………………………………………………… 16
中途等待中断服务程序……………………………………………………… 16
显示子程序…………………………………………………………………… 16
判键子程序…………………………………………………………………… 16
5 系统调试…………………………………………………………………………