文档详情

出租车计费系统设计讲述.doc

发布:2017-03-23约4.19万字共66页下载文档
文本预览下载声明
绵阳师范学院 本科生毕业设计(论文) 题 目 出租车计费系统设计 专 业 电子信息科学与技术 院 部 物理与电子工程学院 学 号 0909030236 姓 名 包政宏 指 导 教 师 肖 敏 答 辩 时 间 2013年5月 工作时间:2012年12月 至 2013年5月 出租车计费系统设计 学 生:包政宏 教 师:肖 敏 摘 要:本设计基于单片机STC89C52完成出租车自动计费设计。通过对现有的出租车计费系统的研究,在原有功能基础上,增加日期和时间功能,车速显示功能,增强出租车的实用性。数据显示使用一块1602液晶屏作为显示器,实现空车、载客、到站及对各状况的费用的计算、统计和显示等功能。加入电机和霍尔传感器来模拟真实的出租车的行驶状态,进行测距实验。通过实验,验证出租车计费系统设计成功,掌握了原理和构造。 关键字:STC89S52;1602液晶屏;出租车计费系统;霍尔传感器; Taximeter Design Undergraduate:Baozhenghong Supervisor:Xiaomin Abstract:The design is based microcontroller STC89C52 complete design of taxi automatic billing. study of the existing taximeter, on the basis of the original function, add the date and time functions, speed display function, and enhance the practicality of the taxi. The data show a 1602 LCD screen as a display.Empty passenger station and the calculation of the cost of each situation, statistics and display functions. Join the running state of the motor and Hall sensors to simulate real taxi, ranging experiments. Through an experiment to test the success of taximeter design, to grasp principle and structure. Keyword:STC89C52;1602 LCD;Taximeter; Hall sensor 目 录 1 前言 1 1.1 概述 1 1.2 出租车计费系统设计任务与要求 1 1.2.1 计费系统设计任务 1 1.2.2 计费系统设计要求 1 1.3 计费系统系统设计整体思路 2 1.3.1 系统设计整体思路 2 1.3.2 系统整体方案的论证 2 1.3.3 系统整体方案结构图 2 2 计费系统硬件设计 3 2.1 系统的硬件构成及功能 3 2.1.1系统主要功能 3 2.1.2系统的硬件构成 3 2.2 STC89C52单片机及其外围电路设计 3 2.2.1 STC系列单片机设计 4 2.2.2 震荡电路设计 4 2.2.3 复位电路设计 4 2.3 3144霍尔传感器检测单元 5 2.3.1 传感器电路设计介绍 5 2.3.2 传感器的实际使用 6 2.4 显示硬件设计 7 2.5 时钟电路设计 10 2.5.1 DS1302引脚 11 2.5.2 DS1302片内寄存器 11 2.6 键盘电路 12 2.7 555调速电路 14 2.8 电源电路 16 3 系统的软件设计 17 3.1 里程计数中断服务程序 18 3.2 中途等待中断服务程序 18 3.3 键盘服务程序 19 3.4 软件程序设计 20 4 系统测试 22 4.1 模拟仿真 22 4.
显示全部
相似文档