没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机设计的自行车测速计系统-毕业(论文)设计.doc
0 下载量 147 浏览量
2023-07-10
10:43:27
上传
评论
收藏 252KB DOC 举报
温馨提示
试读
23页
基于单片机设计的自行车测速计系统-毕业(论文)设计.doc
资源推荐
资源详情
资源评论
1
届 别 2013 届
学 号
毕业设计
基于单片机设计的自行车测速系统
姓 名
系 别、 专 业
导 师 姓 名、职 称
完 成 时 间
2
目录
摘要 .................................................................................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
3
摘要
随着居民生活水平的不断提高,自行车不再仅仅是普通的运输、代步的工具,而是
成为人们娱乐、休闲、锻炼的首选。自行车的速度里程表能够满足人们最基本的需求,
让人们能清楚地知道当前的速度、里程等物理量。本论文主要阐述一种基于霍尔元件的
自行车的速度里程表的设计。以 STC89C52 单片机为核心,A44E 霍尔传感器测转数,实
现对自行车里程/速度的测量统计,并能将自行车的里程数及速度用 LED 实时显示。文
章详细介绍了自行车的速度里程表的硬件电路和软件设计。硬件部分利用霍尔元件将自
行车每转一圈的脉冲数传入单片机系统,然后单片机系统将信号经过处理送显示。软件
部分用汇编语言进行编程,采用模块化设计思想。该系统硬件电路简单,子程序具有通
用性,完全符合设计要求。
关键字:里程/速度;霍尔元件;单片机;LED 显示
Abstract
With the improvement of people's living standard, the bicycle is not only
4
the common transport, transport tool, but as people entertainment, leisure,
exercise of choice.The speed of the bicycle speedometer can satisfy people's
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 subprogram, fully
meet the design requirements.
Key words:Mileage / speed; Holzer element; MCU; LED display
1 绪论
剩余22页未读,继续阅读
资源评论
Mmnnnbb123
- 粉丝: 708
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功