基础机器人制作与编程课程.ppt

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

* Discuss the PBASIC commands required for the RCTIME command. Explain graphically what they do to the voltage. Explain how the time variable can then be displayed using the DEBUG command. Explain how the time variables value can be massaged and then used by the pulsout command to control a servo. Emphasize that they can run this program and watch their servo turn as they turn the dial. Reiterate that this is the last activity in the dial chapter, and its another example of a “fun” end of chapter activity. Make sure to explain the + 330. If time permits, delve into scaling. * Introduce controlling lights and motion was just done. This and a myriad of other applications often require a digital display of some sort. Mention that the board can be cleared for this exercise, but that they will need to keep it on the board for the following exercise as well. * Explain that there is a manual exercise that allows students to manually connect each segment and make it light up individually. We will skip to the programmed version. Challenge them to guess how this program will effect the lights, in what sequence. * Introduce OUTL and OUTH, DIRL, and DIRH, and their relationship to IN3 and IN4 INL and INH . Apologize for turning the picture and map upside-down. * Explain that OUTH is a variable, and can store a binary number. Explain how LOOKUP works. check value of index, place corresponding bit pattern in OUTH . Debug is not part of the text. Explain the learn by doing approach. EMPHASIZE that they pay attention to the bit patterns that are displayed, and how they correspond to the value of index and the way LOOKUP works. * Introduce Frequency and Sound chapter as having a simple circuit, but the most complex of the programming techniques. * Explain what each of these routines does and point out a programming technique. * Emphasize that most musical programs are best heard with the piezospeaker close to your ear. Explain mixing two frequencies together and tell them wha

文档评论(0)

牛X文档 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档