文档详情

基于单片机设计的自行车测速计系统_毕业论文设计.doc

发布:2015-12-14约1.17万字共23页下载文档
文本预览下载声明
届 别 学 号 毕业设计 基于单片机设计的自行车测速系统 姓 名 系 别、 专 业 导 师 姓 名、职 称 完 成 时 间 目录 摘要 3 Abstract 4 1 绪论 5 1.1 课题背景 5 1.2 课题主要任务及内容 5 1.3 任务分析与实现 5 2 系统设计 6 2.1 硬件方案设计 6 2.2 软件方案设计 7 2.3 硬件电路设计 8 2.3.1 概述 8 2.3.2 系统总电路图 9 2.3.3 单片机简介 9 2.3.4 单片机的引脚功能介绍 10 2.3.5 单片机中断系统介绍 10 2.3.6 传感器及其测量系统 11 2.3.7 霍尔传感器的测温原理 11 2.3.8 集成开关型霍尔传感器 12 2.4 单片机外围电路的设计 13 2.4.1 时钟电路的设计 13 2.4.2 复位电路的设计 14 2.4.3 显示电路的设计 15 3 软件程序设计 16 3.1 概述 16 3.2 总体程序设计 16 3.3 中断子程序设计 18 结 论 19 参考文献 20 致谢 20 附件一:总体原理图设计 21 摘要 随着居民生活水平的不断提高,自行车不再仅仅是普通的运输、代步的工具,而是成为人们娱乐、休闲、锻炼的首选。自行车的速度里程表能够满足人们最基本的需求,让人们能清楚地知道当前的速度、里程等物理量。本论文主要阐述一种基于霍尔元件的自行车的速度里程表的设计。以 单片机为核心,A44E 霍尔传感器测转数,实现对自行车里程/速度的测量统计,并能将自行车的里程数及速度用LED实时显示。文章详细介绍了自行车的速度里程表的硬件电路和软件设计。硬件部分利用霍尔元件将自行车每转一圈的脉冲数传入单片机系统,然后单片机系统将信号经过处理送显示。软件部分用汇编语言进行编程,采用模块化设计思想。该系统硬件电路简单,子程序具有通用性,完全符合设计要求。 Abstract With the improvement of peoples living standard, the bicycle is not only the common transport, transport tool, but as people entertainment, leisure, exercise of choice.The speed of the bicycle speedometer can satisfy peoples most basic needs, so that people can clearly know the current speed, mileage.This paper mainly expounds the design of a Holzer element based on the speed of the bicycle odometer.The STC89C52 microcontroller as the core, measuring speed A44E Holzer sensor, the measurement of bicycle mileage / speed, and can be bicycle mileage and speed with the LED real-time display.This paper introduces the hardware circuit and software design of bicycle speed odometer.The hardware part using Holzer element will bike every pulse number of incoming MCU system in a circle, and then the signal processed by SCM system is sent to display.The software is programmed with assembly language, uses the modular design thought.The system hardware circuit is simple, with a generic subpr
显示全部
相似文档