乓乒球发球机控制器软件设计 --本科毕业设计.docVIP

  • 6
  • 0
  • 约2.19万字
  • 约 61页
  • 2017-01-08 发布于辽宁
  • 举报

乓乒球发球机控制器软件设计 --本科毕业设计.doc

乒乓球发球机控制器软件设计 摘 要 本文针对乒乓球发球的特点,模拟设计了一种乒乓球发球机控制器。该发球机控制器由8位单片机STC89C51为核心的硬件电路和相关软件编程组合而成。实现改变发球速度、发球高度及角度等的功能,以满足练习者的不同技术需求,同时设置了随机发球模式,实现落球点的随机变化。 本课题的软件设计采用了主函数调用各状态子程序的方法,完成了按键控制、液晶显示、驱动电机调速的功能。配合本组同学的硬件设计完成了单片机外围硬件电路的设计,其中包括电动机驱动模块、键盘模块及液晶显示模块。最后我们在完成硬件电路的分析和软件模块调试的基础上,进行了联机调试,对各模块电路实行软硬件检测,有效地将两者结合起来,完成了系统的整体控制。 关键词:乒乓球发球机,控制器,发球模式,单片机 ABSTRACT Considering the characteristics of the table tennis served,the thesis designs a kind of table tennis serving controller. It is consist of traditional 8 monolithic integrated circuits STC89C51 for the hardware circuit design and related software C51 for programming design. It can accomplish the function of changing the balls speed,,he random serving patten was designed and the fall points of the table tennis become randomly. The software in this essay is designed using the form that the main function calls a subroutine,and finishing the function of button control,liquid crystal display,drive motor speed regulation.The hardware design produced a peripheral circuit of monolithic integrated circuits including the drive motor module, module and LCD display module. Finally,on the basis of finishing hardware circuit analysis and software module debug, we match the soft and hardware and test all modules carefully, then the basic function of the system achieves the desired effect. KEYWORDS: the table tennis serving machine,serving pattern,single chip microcomputer 目录 第一章 绪论 1 1.1本课题的研究背景和意义 1 1.2国内外乒乓球发球机的研究现状 1 1.2.1国外乒乓球发球机的研究现状 2 1.2.2国内乒乓球发球机的研究现状 4 1.3 本课题研究内容与设计步骤 5 1.3.1本课题研究内容 5 1.3.2本课题设计步骤 6 第2章 乒乓球发球机控制器设计分析 8 2.1乒乓球发球机的结构及电动机选择 8 2.2主控单片机的选型 9 2.2.1单片机的主要特性 9 2.3液晶显示芯片的选择 10 2.3.1 LCD12864引脚说明 11 2.3.2 LCD12864工作时序 12 2.4驱动芯片的选择 13 2.4.1 L298N引脚说明 13 2.5步进电机的调速方法 15 2.5.1步进电动机概述 15 2.5.2步进电动机的调速 15 2.6直流电动机的调速方法 15 2.6.1直流电动机概述 15 2.6.2直流电动机的调速 16 第3章 乒乓球发球机控制器硬件设计 17 3.1总体设计 18 3.2单片机的最小系统 18 3.3驱动电路模块 19 3.4按键电路模块 20 3.5 LCD液晶显示电路模块 20 第4章 乒乓球发球机控制器软件设计 21 4.1 系统软件

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档