- 1、本文档共40页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
《基础机器人制作与编程课程》.ppt
* 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
您可能关注的文档
最近下载
- 比亚迪-宋MAX-产品使用说明书-1.5TI智联睿逸型-BYD6470MT6B-宋MAX201902.pdf
- 电动脱轨器技术说明书(经典).docx
- 小灵通漫游未来课外试题及答案.doc
- 钱江生化公司2021年财务分析研究报告.doc
- 四大名著《西游记》精品课件中小学生西游记读书分享主题班会课件模板.pptx VIP
- DB65T4601-2022精神卫生福利机构 护理风险评估规范.docx VIP
- 2023年北京科技大学天津学院公共课《马克思主义基本原理概论》期末试卷B(有答案).docx VIP
- 盘古气象大模型.docx VIP
- 2023年北京科技大学天津学院公共课《马克思主义基本原理概论》期末试卷A(有答案).docx VIP
- 小松鼠的大尾巴-课件.ppt VIP
文档评论(0)