nqkk58 发表于 2024-10-10 07:56:00

运用指南!教你从零初始玩转Drone:bit编程无人机


    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/58aeadd41aa6448aa713656a2f558373~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=uzHREPbnuiecglWUcTE7G3bihso%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">与<span style="color: black;">全世界</span>最火的少儿编程开源硬件</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">micro:bit相结合</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Drone:bit以其强大的创意玩法和开源性</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">自上市<span style="color: black;">败兴</span>便广受欢迎</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">下面,<span style="color: black;">一块</span>来<span style="color: black;">瞧瞧</span>要<span style="color: black;">怎样</span><span style="color: black;">运用</span>它吧!</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">01 Drone:bit 安装</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Drone:bit 编程无人机</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">整机采用模块化设计</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不仅支持DIY创意搭建</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">完全开源化的硬件</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">使其还可自由搭载拓展模块</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/fd28db060a284d9dab0f618325a3e9b8~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=jRCOqbZWlmqakY2ifAtb8roSA10%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">第1</span>步:动力组件</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">如下图所示,正对Drone:bit主控板,右上方与左下方安装B1号桨叶;左上方与右下方安装A2号桨叶,上黑下白。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/1ae5bd7e8d5c4106b1c1276160693503~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=TC2l5hFVEc7%2FSNSj3u4StRsdkl4%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">重视</span>,每一次<span style="color: black;">插进</span>动力组件后,都需将接线与Drone:bit主控板背部相应位置的端口连接。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/420e410a44354ddca0a44e1dc4dda178~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=nAf4VaMcvhjdjYGqa3lqF4N7oig%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">第二步:<span style="color: black;">守护</span>环</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">守护</span>环的安装较为简单,仅需对准卡扣,相互按紧<span style="color: black;">就可</span>。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/8fe0a6c6347f4e698f9591529d673cec~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=Uh4FxR0YQjY1DUiqMx4PpU4B9ME%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">第三步:电池</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">安装电池,需先将电池接线与Drone:bit主控板上电源线相连接,再将电池装入电池槽内。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/53f66afd7af24d6cb7d43a0705d0775a~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=mNN%2B9PEUWeSIFFhSpv3KVtBKbNE%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/c55c6156669346b686dc63f62712add1~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=kMD%2F6A6FkJ%2BlKAR8lV%2BI5s2Lba0%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">第四步:micro:bit主控板</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">安装micro:bit主控板时,先将其与Drone:bit主控板对齐,<span style="color: black;">运用</span>配备的螺丝刀将5个6mm金属螺丝拧紧。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/ec1e6469c3614008b9feab71f62658b2~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=OgleIl6uAGV6JQT65EiRBw9gQWg%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">第五步:接收机</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">接收机的安装是为了与遥控器的<span style="color: black;">运用</span>相匹配。<span style="color: black;">首要</span><span style="color: black;">运用</span>接线将接收机与Drone:bit主控板左侧的Micro USB端口相互连接,再<span style="color: black;">运用</span>螺丝刀将接收机固定在端口下方。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/bedd1f53ca6449e6be700ab03096eaef~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=5I74c9z98al39xhOtXF1EE%2B97tA%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">到此,一台完整的Drone:bit便组装完<span style="color: black;">成为了</span>。值得<span style="color: black;">重视</span>的是,其中micro:bit主控板与接收机均需用户<span style="color: black;">另一</span>选购。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">02 micro:bit 套件<span style="color: black;">运用</span></h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">仅口袋<span style="color: black;">体积</span>的计算机</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Drone:bit与micro:bit完美结合</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">内置LED灯、按键、传感器</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">麦克风、扬声器</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">板载蓝牙、加速度计、电子罗盘等</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">支持<span style="color: black;">更加多</span>创意玩法</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/0626e5b8e97c43aab61a99b08eff6391~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=rb1fKXS5rzIvqsO%2BpqUgum9UPuQ%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">新建项目</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在浏览器中打开<span style="color: black;">makecode.microbit.org</span>,新建项目。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">点击展开控件区【高级】,点击【扩展】<span style="color: black;">增多</span>拓展,在扩展页搜索栏中搜索关键词“dronebit”,点击该项目即自动加载。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/05e3f9e2fb0443a3b31b440cf5b117f6~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=EASKShNuq3DRc%2FkDoZoKVwq4x7U%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">编辑程序</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">MakeCode编辑器是对micro:bit进行编程和创作的完美方式,支持“方块”、“Python”以及““JavaScript”三种编程语言切换。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">用户可自由<span style="color: black;">选取</span>左边的积木式代码进行编程,值得<span style="color: black;">重视</span>的是,大<span style="color: black;">都数</span><span style="color: black;">状况</span>下,用户都需要为编写的案例<span style="color: black;">安置</span>一个"主控”模式指令,使装在Drone:bit上的micro:bit运行程序时,得以顺利运行。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/6e1c080739204b87a189925750c0f7ed~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=eaHNBqR0nKIfPEG9SjGcJhKBBZ8%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">写入程序</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">点击下载将案例生成可执行的“.hex”文件。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">运用</span>数据线连接电脑与micro:bit主控板,将程序直接拖入MICROBIT驱动器内<span style="color: black;">就可</span>。(注:拖入后驱动器会断开且文件不会<span style="color: black;">表示</span>)</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">最后便可<span style="color: black;">按照</span>设定的程序触发<span style="color: black;">要求</span>,开机运行程序。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">03 遥控器的<span style="color: black;">运用</span></h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">美国手、日本手模式</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">一键启降、翻滚</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">新手<span style="color: black;">亦</span>能<span style="color: black;">容易</span>实现特技飞行</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/e98ccf0659124e32b94092e16775ceaa~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=QXj7RRwxZRwIFVYMLhl2BnkrsHk%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">遥控器操控</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Drone:bit 编程无人机的开关键<span style="color: black;">位置于</span>主控板右上方。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/abfc9526948f4ec292a6bef6b923cf4a~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=%2Bv7Neywr0pa58FwbwgDJFfy2bdA%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">运用</span>遥控器操控前,需先将遥控器打开,将右摇杆打到右上角<span style="color: black;">同期</span>按下K0按键,此时L3绿灯常亮;再将无人机开机,等待L3灯熄灭且蜂鸣器短鸣,<span style="color: black;">暗示</span>对频成功。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/496f905fda87413781c82910fbe4c6a6~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=j1vY7OoaqMXF8qQr8HazEkcr9dM%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">美国手与日本手的切换,<span style="color: black;">一样</span>是将遥控器右摇杆打到右上角<span style="color: black;">同期</span>按下KO键,L1熄灭为美国手模式,绿灯常亮为日本手模式。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">编程<span style="color: black;">掌控</span></strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">运用</span>LiteBee Go进行编程,需要进行编程<span style="color: black;">掌控</span>时,需先<span style="color: black;">运用</span>数据线将遥控器与电脑连接,并按下KO按键进入编程模式,此时L4绿灯常亮。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/611554b5ca594c58b5c26aa2e9a82696~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728787570&amp;x-signature=8QZ5FZngCFobsAAVwToF9CpNW6s%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">点击代码区域黄色感叹号,待其变成绿勾,<span style="color: black;">暗示</span>成功进入编程<span style="color: black;">掌控</span>。</p>




j8typz 发表于 2024-10-10 20:30:49

楼主的文章非常有意义,提升了我的知识水平。

4lqedz 发表于 2024-11-3 09:07:47

你的见解真是独到,让我受益匪浅。

1fy07h 发表于 2024-11-13 09:30:19

你的见解独到,让我受益匪浅,非常感谢。
页: [1]
查看完整版本: 运用指南!教你从零初始玩转Drone:bit编程无人机