自行车里程与速度计的设计_毕业设计.docVIP

  • 3
  • 0
  • 约4.41万字
  • 约 57页
  • 2017-04-11 发布于辽宁
  • 举报

自行车里程与速度计的设计_毕业设计.doc

自行车里程与速度计的设计_毕业设计

题 目 自行车里程与速度计的设计 学生姓名 学号 所在学院 物电学院 专业班级 电子信息工程 指导教师 完成地点 物电学院实验室 2016 年 5 月 22 日 自行车里程与速度计的设计 作者:王 (陕西理工学院 物理与电信工程学院 电子信息工程专业,2012级3班,陕西 汉中 723000) 指导教师: [摘要]设计主要阐述一种基于霍尔元件的自行车速度里程表的设计。以 STC89C51单片机为核心,A44E 霍尔传感器测转数,实现对自行车里程/速度的测量,采用LCD1602显示自行车的里程数及速度。文章详细介绍了自行车的速度里程表的硬件电路。硬件部分利用霍尔元件将自行车每转一圈的脉冲数传入单片机系统,然后单片机系统将信号经过处理送显示。软件部分用C语言进行编程,采用模块化设计思想。该系统硬件电路简单,子程序具有通用性,完全符合设计要求。 [关键字]里程/速度;霍尔元件;单片机;LCD显示 Design of the bicycle mileage and speed meter Author:ZhongJianWang (Grade12,Class3,Major electronics and information engineering,School of Physics and Telecommunication Engineering,Shaanxi University of Technology,Hanzhong 723000,Shaanxi) Tutor: FangLiang [Abstract] In this paper, the bicycle mileage/speed design based on the Hall element is elaborated. By STC89C52as 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. [Key words] Mileage / speed; Hall element; Single chip microcomputer; LCD 目录 1 引 言 1 1.1 自行车的历史与发展 1 1.2本设计研究的方法与意义 1 2 系统硬件平台的设计 2 2.1 总体设计方案说明 2 2.2 单片机最小系统 3 2.2.1 AT89C51单片机 4 2.2.3 复位电路 5 2.3 显示模块 6 2.4 霍尔传感器的测量原理 7 2.5 DS1302时钟芯片 8 3 系统软件的设计与实现 9 3.1 主程序流程图 9 3.2 显示流程图 9 3.3 速度里程计算和处理流程图 10 3.4 电路仿真 11 3.4.1 仿真软件简介 11 3.4.2 仿真结果 11 4 安装调试与性能分析 13 4.1系统仿真调试 13 4.2 调试故障及原因分析 14 5

文档评论(0)

1亿VIP精品文档

相关文档