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

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

  1. 1、本文档共62页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
乒乓球发球机控制器软件设计 摘 要 本文针对乒乓球发球的特点,模拟设计了一种乒乓球发球机控制器。该发球机控制器由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 ball's speed,altitude and angle,in order to satisfy the needs of people. Meanwhile the 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,keyboard 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,controller,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按

文档评论(0)

xingyuxiaxiang + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档