1 / 33
文档名称:

毕业设计(论文)-基于AT89C52单片机的自行车里程与速度计的设计.doc

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

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

分享

预览

毕业设计(论文)-基于AT89C52单片机的自行车里程与速度计的设计.doc

上传人:3346389411 2013/3/10 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-基于AT89C52单片机的自行车里程与速度计的设计.doc

文档介绍

文档介绍:自行车里程与速度计的设计
摘要
本论文主要阐述一种基于单片机的自行车里程/速度计的设计。主要分为三个部分:硬件设计,软件设计和模拟仿真。硬件设计以AT89C52单片机为核心,主要包括复位电路、显示电路、时钟电路、报警电路的设计。本设计采用霍尔传感器测量自行车转速脉冲, 经处理后由LED数码管显示,最多可显示4位数;报警电路是当没有输入周长或超速时发出光、语音报警提示。软件设计主要是通过单片机编程软件Keil C设计计算自行车行驶里程和实时速度的程序,以及速度和里程的显示程序;模拟仿真是利用仿真软件Proteus对所设计的硬件电路和程序进行测试。
本论文对设计当中所需元件作了详细介绍,对设计中存在的问题进行了说明,而后对硬件和软件部分的设计和实现作了认真的分析,并在此基础上进行了控制仿真。本设计由于使用了串口液晶显示以及高效快速算法,因而可在节约系统资源和简化程序设计的基础上保证测量精度和系统实时性,而且具有结构简单,成本低廉,显示清晰,稳定可靠等优点。
关键词:AT89C52单片机;LED;霍尔传感器
THE DESIGN OF ODOMETER AND VELOCITY GAUGE
Abstract
This paper mainly tells the design of odometer and velocity gauge on bicycles based on are three part in the thesis:hardware design,software design and hardware design use with the core of AT89C52 as controler, includes the designs of Reset circuit, display circuit, clock circuit and alarm hall sensor is usued to measure the pulse of rotating speed of the wheel,which is displayed by LED after processing,being able to display four alarm circuit can give a light or sound alarm when there is an overspeed or no perimeter software design mostly includes the design of program on caculating the mileage and real-time speed of the bicycle with Keil C as The simulation is finished by testing the designed hardware circuit and program with the simulation software Proteus.
This paper introduces the ponents of the design in details,explaining the existing problems in the design,and seriously analyzes the design of both hardware and software,then takes the simulation here on the design can guarantee the precision measurement precision and owns high real-time performance on the basis of the system resource saving and the process of programming. it has a simple strcture, that is low cost, clear display, stable and reliable.
Keywords: AT89C52;LED;hall sensor
目录
摘要 I
Abstract II
1 绪论 1
课题背景、发展及意义 1
系统设计概述 1
任务分析与实现 1
2 自行车里程速度计的设计方法与原理 3
硬件方案设计 3
软件方案设计 5
仿真软件 6
3 自行车里程