毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C51单片机的自行车里程表的设计+电路图

时间:2024-02-14 09:47来源:毕业论文
AT89C51单片机的自行车里程表的设计。以 AT89C51单片机为核心,A44E 霍尔传感器测转数,实现对自行车里程/速度的测量,采用1602LCD显示自行车的里程数及速度

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

毕业论文关键词:里程/速度;霍尔元件;单片机;LCD显示

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 entertainment 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 this paper, the bicycle mileage/speed design based on the Hall element is elaborated。 By AT89C51 as kernel, using A44E Hall element to measure revolution, the measure and statistic are achieved。 Saved by 1602LCD , the bicycle speed can be displayed on LED。 In this article, the hardware circuit 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 C language; the program is designed in the mode of modules。 The system has simple hardware, common sub-program, and meets the demand of design。源C于H优J尔W论R文M网WwW.youeRw.com 原文+QQ752-018766

Keywords: Mileage / speed; Hall element; Single chip microcomputer; LCD

目录

1 引言 4

1。1 选题背景 4

1。2 选题的目的及意义 4

1。3 总体设计思路 5

2。硬件设计 6

2。1 单片机最小系统 6

2。1。1 AT89C51单片机 6

2。1。2 时钟电路 8

2。1。3 复位电路 9

2。2 显示模块 9

2。3 霍尔传感器 11

2。4 DS1302时钟芯片 11

3。软件设计 12

3。1 主程序流程图 12

3。2 中断子程序设计 14

3。3 数据处理子程序的设计 14

3。3。1 里程计算子程序设计 14

3。3。2 速度计算子程序设计 14

3。3。3 程序代码 15

3。4 显示子程序的设计 17

4 系统调试与分析 17

4。1 仿真软件简介 17

4。2 仿真结果 AT89C51单片机的自行车里程表的设计+电路图:http://www.youerw.com/zidonghua/lunwen_201710.html

------分隔线----------------------------
推荐内容