摘要:伴随着居民生活水平的不断提高,自行车已经不仅仅是普通的代步、运输工具,而是成为人们娱乐、休闲、锻炼的首选。自行车简易数字里程表能够满足人们最基本的需求,让人们能清楚地知道当前的速度、里程等物理量。本论文主要阐述一种基于霍尔元件的自行车速度里程表的设计。以 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 仿真结果

上一篇:MATLAB频谱分析和信号去噪仿真研究
下一篇:STC89C52单片机温室自动监测系统的设计+电路图+程序

热环境对磁记忆信号的影响ANSYS有限元分析

单片机数字红外测距系统设计+电路图+程序

连续-离散型状态观测器设...

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

《醉青春》导演作品阐述

辩护律师的作证义务和保...

浅谈新形势下妇产科护理...

国内外无刷直流电动机研究现状

拉力采集上位机软件开发任务书

谷度酒庄消费者回访调查问卷表

多元化刑事简易程序构建探讨【9365字】

浅谈传统人文精神茬大學...

高校网球场馆运营管理初探【1805字】

中国古代秘书擅权的发展和恶变