没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的自行车里程表设计优质资料.doc
7 浏览量
2022-12-01
10:54:54
上传
评论
收藏 3.4MB DOC 举报
基于单片机的自行车里程表设计优质资料.doc
资源详情
资源推荐
资源评论

基于单片机的自行车里程表设
计优质资料
(可以直接使用,可编辑 优质资料,欢迎下载)

摘要
随着居民生活水平的不断提高,自行车不再仅仅是普通的运输、代步的工具,
而是成为人们娱乐、休闲、锻炼的首选。自行车里程表能够满足人们最基本的需
求,让人们能清楚地知道当前的速度、里程等物理量。主要阐述一种基于霍尔元
件的自行车里程表的设计。以 AT89C52 单片机为核心,A44E 霍尔传感器测转数,
实现对自行车里程/速度的测量统计,采用 24C02 实现在系统掉电的时候保存里
程信息,并能将自行车的里程数及速度用 LED 实时显示。文章详细介绍了自行车
里程表的硬件电路和软件设计。硬件部分利用霍尔元件将自行车每转一圈的脉冲
数传入单片机系统,然后单片机系统将信号经过处理送显示。软件部分用汇编语
言进行编程,采用模块化设计思想。该系统硬件电路简单,子程序具有通用性,
完全符合设计要求。
关键词:里程/速度;霍尔元件;单片机;LED 显示

Abstract
With the developing of people’s life, the bicycle is not only the universal tool of
transportation and substitute for walking, but becomes the first choice of
entertainmenting and exercising. The bicycle mileage/speed can fulfill the basic need
of people’s life, so that they can learn the speed and the mileage of the bicycle. In these
paper, the bicycle mileage/speed design based on the Hall element is elaborated. By
AT89C52 as kernel, using A44E Hall element to measure revolution, the measure and
statistic are achieved. The range informations are saved by 24C02 when the power is
off, the bicycle speed can be displayed on LED. In this article, the hardware circuit and
software design of bicycle mileage/speed instrument are introduced in detail. About the
hardware, the pulse number is transmitted of one cycle of the bicycle into Single Chip
Microcomputer system. Then the signal processed by Single Chip Microcomputer
system is sent to display scream. About the software, in assemble language, the
program is designed in the mode of modules. The system has simple hardware,
common sub-program, and meet the demand of design.
Keywords:Mileage / speed;Hall element; Single Chip Microcomputer; LED

目 录
第 1 章绪论 4
1.1 课题产生的背景 4
1.2 课题的主要任务及内容 4
第 2 章自行车里程表总体方案设计 6
2.1 任务分析与实现 6
2.2 自行车里程表硬件方案设计 6
2.3 自行车里程表软件方案设计 10
第 3 章自行车里程表硬件电路设计 12
3.1 概述 12
3.2 传感器及其测量系统 12
3.3 芯片简介 14
3.4 单片机外围电路的设计 20
第 4 章自行车里程表软件程序设计 25
4.1 概述 25
4.2 自行车里程表总体程序设计 25
4.3 中断子程序的设计 27
4.4 数据处理子程序的设计 27
4.5 显示子程序的设计 30
第 5 章系统调试与分析 32
5.1 自行车里程表系统调试 32
5.2 调试故障及原因分析 33
结论 34
参考文献 35
致谢 36
剩余69页未读,继续阅读












资源评论

黑色的迷迭香
- 粉丝: 3
- 资源: 4万+

上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制
