1、 本科毕业设计(论文)本科毕业设计(论文) 基于单片机的出租车计价器设计基于单片机的出租车计价器设计 TheThe DesignDesign ofof TaximeterTaximeter basedbased onon MCUMCU 下属学院 理工学院 专 业 电子信息工程 班 级 08 电子信息工程 I 摘摘 要要 【摘要摘要】本文介绍了基于单片机 STC89C52 的出租车计价器的设计过程。该计价器模仿实际的出租车 计价器所设计,具备时间显示、里程计算、里程显示、金额显示等几大功能。本文首先介绍该计价器的设 计要求和设计思路。其次给出软硬件系统的设计框图和硬件电路原理图。硬件系统主要由液
2、晶显示屏 1602,霍尔传感器 A44E,时钟芯片 DS1302 以及三端稳压集成电路 7805 等构成,软件系统在 keil 中采用 C 语言开发完成。整个系统先在 Proteus 软件中完成验证,然后制作电路板进行硬件验证。结果表明,本 系统正常完成时间显示以及计价等功能,可实现预期效果。 【关键词关键词】单片机;出租车计价器; Proteus;Keil - II - Abstract 【ABSTRACT】This paper introduces the design of taximeter based on MCU STC89C52. The system mimics actual
3、 Taximeter functions such as time display, mileage calculation and display, money display. At first, this paper introduces the requirements of meter design and design ideas. Secondly, the system hardware and software design block diagram are given. The hardware system includes LCD1602, Holzer sensor
4、 A44E, real-time clock chip DS1302 and three terminal voltage regulators IC7805. Software part is developed in Keil developing studio using C language. The verification of the system is completed in Proteus and then realized the board. It turns out that the system performs well. 【KEYWORDS】SCM; taximeter; Proteus; Keil III 目目 录录 1 绪论 . 1 1.1 课题研究的背景 1 1.2 研究的目的及意义 1 1.2.1 设计要求 . 2 1.2.2 设计原理 . 2 1.3 开发环境和开发工具 . 2 1.3.1 Keil 软件 2 1.3.2 Protel DXP 软件 3 2 出租车计价器方案设计 . 5 2.