乒乓球升降高度自动控制装置_论文.docVIP

  1. 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
乒乓球升降高度自动控制装置 摘 要 本装置由两部分组成,即乒乓球升降高度设置和显示单元A、乒乓球升降高度控制单元B。A与B之间采用双向无线通讯方式收发控制信息,在单元A上能设定乒乓球升降高度、停留时间、动作次序等,并能够实时显示乒乓球高度及其误差信息以及动作状态等;单元B可以接收单元A的信息,通过超声波测距模块乒乓球的升降,并将乒乓球的动作信息通过无线传输技术反馈给A,使信息可以在单元A中显示,乒乓球在升降控制过程中不需要进行任何的人工干预。 Abstract This device consists of two parts,That table tennis lifting height setting and display unit A、Table tennis lifting height control unit B.Between A and B by two-way wireless communication mode and control information,In the unit on A can set up table tennis lifting height、residence time、residence time、Action sequence, etc,And the ability to real-time display table tennis height and the error information and motion state, etc;Unit B can receive A unit of information,Through the ultrasonic ranging module table tennis lifting,And the table tennis movement information through the wireless transmission technology feedback to A,Make information can be shown in A unit,Table tennis in the elevator control process do not need to undertake any manual intervention. 关键词:双向无线通信 超声波测距模块 无线传输技术 目 录 TOC \o 1-3 \h \u 部分程序清单 1、Led显示 超声波测距 #include reg51.h sbit Trig=P2^0;//超声波发 sbit Echo=P3^2;//超声波收 sbit wlen=P2^7; sbit wlrs=P2^6; sbit RW=P2^5; #define uchar unsigned char #define uint unsigned int uint succeed_flag,timeL,timeH,test,time; uint LedOut[10]; uchar i,DelayCNT=0; uchar a[]=0123456789.L=; uchar b[]= WALL.E 1 ; /*延时程序,延时1ms*/ void delay(uchar z) { uchar x,y; for(x=z;x0;x--) for(y=110;y0;y--); } void delay_20us() { uchar a; for(a=0;a100;a++); } /*1602命令函数*/ void write_com(uchar com) { wlrs=0; //写命令0/写数据1 RW=0; //读0/写1 P0=com; //给1602送命令 delay(5); wlen=1; delay(5); wlen=0; } /*1602数据函数*/ void write_date(uchar date) { wlrs=1; RW=0; P0=date; delay(5); wlen=1; delay(5); wlen=0; } void init() //1602初始化函数 { wlen=0; write_com(0x38); write_com(0x01); write_com(0x0c); write_com(0x04); } //显示数据转换程序 void display(uint LedNumVal) { if(++DelayCNT=20) //控制数字变化速度 { DelayCNT=0; //20个扫描周期清零

文档评论(0)

weidameili + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档