Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sushiカード_マイクロビット編 改訂版

Sushiカード_マイクロビット編 改訂版

Niseko.Tech

July 28, 2019
Tweet

More Decks by Niseko.Tech

Other Decks in Education

Transcript

  1. Letʼs micro:bit︕ マイクロビットを つかってみる </ビギナー 1> Scratch Basics GETTING STARTED

    Card 1 of 7 I’m Learning: Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program Scratch Basics GETTING STARTED Card 1 of 7 I’m Learning: Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program 「micro:bit」のいろんなきのうをしょうかいするぞ︕ ͨͯ̑9Α͜ ߹ܭί ͷ ੺৭-&% 64#ίωΫλʔ ϦηοτϘλϯ "Ϙλϯ #Ϙλϯ これは何? これらを「端⼦(たんし)」とよびます。 micro:bitのエッジコネクタには 25この「がいぶせつぞく⽤コネクタ」があるよ。 モーター、LED、スピーカーなどの電気部品をピンにつないでプログラムできるぞ。 いろんなセンサーを追加してプログラムでコントロールしよう︕ όοςϦʔ ιέοτ $16 ίϯύε ͔ͦ͘Ͳܭ Ξϯςφ 無線、Bluetooth ޫηϯαʔ Թ౓ηϯαʔ΋ ࢖͑ΔΑ
  2. キャラクタをうごかすよ Scratch Basics GETTING STARTED Card 1 of 7 I’m

    Learning: Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to downloadscratch or use it in your web browser by going to dojo.soy/ one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, y screen like the one below. This screen has a few parts you’ll need to remember. They are labeled below. Stage Sprite List Code Blocks PalleGe Current Sp Pannel Start Program Stop Program -&'5 3*()5 もしキーが押されたなら、、 やじるしキーを押して 左右にうごかしたい! 「ずっと」、 「もし〜なら」は とってもよくつかうよ %3"(%301 %3"(%301 「もし〜なら」は 2コおいてね ここに ⼊れてね キーを きりかえて こことここに ⼊れてね ずっとに さしこみます %3"(%301 ͜͜ΛΫϦοΫ マイクロビットを つかってみる </ビギナー 2> もし、 キーが押されたなら のかたち ʮϝΠϯϧʔϓʯͬͯΑΜͰͶ ʮ΍͡Δ͠Ωʔʯ͸͜ͷ΁Μ
  3. Scratch Basics GETTING STARTED Card 1 of 7 I’m Learning:

    Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to downloadscratch or use it in your web browser by going to dojo.soy/ one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, y screen like the one below. This screen has a few parts you’ll need to remember. They are labeled below. Stage Sprite List Code Blocks PalleGe Current Sp Pannel Start Program Stop Program キャラクタを歩かせよう いどうするきょりをせっていする ͜͜ͷ΁ΜΛ ΫϦοΫͨ͠Β ਺ࣈΛ΁Μ͜͏Ͱ͖ΔΑ この2つのコードを 「もし〜なら」に さしこむよ このすうじの「10」は 横にいどうするきょりだよ 歩くアニメーションをいれてみる ͜ͷ̎ͭͷίενϡʔϜΛ ύϥύϥ͖Γ͔͑ΔΑ マイクロビットを つかってみる </ビギナー 3> ʮ̎̌ʯͱ͔ʹͯ͠΋͍͍Α ͏͑ͨ͠ɺΓΐ͏΄͏ʹ͜͞͠ΜͰͶ ʮ࣍ͷίενϡʔϜʯΛ ͜͞͠ΜͰͶ ΄ͧΜͯ͠ɺ͏͔ͯ͝͠ΈΑ͏
  4. Scratch Basics GETTING STARTED Card 1 of 7 I’m Learning:

    Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to downloadscratch or use it in your web browser by going to dojo.soy/ one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, y screen like the one below. This screen has a few parts you’ll need to remember. They are labeled below. Stage Sprite List Code Blocks PalleGe Current Sp Pannel Start Program Stop Program -&'5 3*()5 うごくほうほうにむける これで歩きコードかんせい キャラクタの向きをかえる マイクロビットを つかってみる </ビギナー 4> ΄ͧΜͯ͠ɺ͏͔ͯ͝͠ΈΑ͏ やじるしキーの押されたほうに キャラクタの向きをかえるよ -90度 90度 ʮʔ̌̕౓ʯΛ͜͞͠ΜͰͶ ʮ̌̕౓ʯΛ͜͞͠ΜͰͶ ʮϚΠφε̌̕ʯͬͯಡΉΑ -&'5 3*()5 このすうじにマイナスをつけてね
  5. Scratch Basics GETTING STARTED Card 1 of 7 I’m Learning:

    Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to downloadscratch or use it in your web browser by going to dojo.soy/ one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, y screen like the one below. This screen has a few parts you’ll need to remember. They are labeled below. Stage Sprite List Code Blocks PalleGe Current Sp Pannel Start Program Stop Program +6.1 スペースキーでジャンプさせるべし ジャンプコードの完成形 キャラクタのジャンプ︕ マイクロビットを つかってみる </ビギナー 5> ʮεϖʔεΩʔʯ͸͜ͷΩʔ スペースキーが押されたら キャラクタを上にジャンプさせるよ このすうじの「-120」は じめんのラインだよ y座標がじめんのラインになる まで繰り返すよ ʮεϖʔεʯΛ͑Β΅͏ ͜͜ʹ ͜͞͠Ή ͜͜ʹ΋ ͡ΊΜͷϥΠϯΛ ͜͞͠ΜͰͶ ͍ͬͨΜɺ ϓϩδΣΫτΛ อଘʢ΄ͧΜʣ ͠Α͏ʂ
  6. マイクロビットを つかってみる </ビギナー 6> Scratch Basics GETTING STARTED Card 1

    of 7 I’m Learning: Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program 1 Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by downloadscratch or use it in your web browser by going to do one of these two and once you’re set up, move on to the next 2 Once you sign-in to the online Scratch, or load it on your com screen like the one below. This screen has a few parts you’ll need to remember. They are below. Stage Sprite List Code Blocks PalleGe Cur Start Program Stop Program 「micro:bit」にUSBケーブルをつなぐよ micro:bitと電池ボックスをつなぐよ micro:bitのでんげんオン︕ 64# ίωΫλʔ όοςϦʔ ιέοτ ͰΜͪ ϘοΫε ͨΜࡾͰΜͪ ϞόΠϧ όοςϦʔ 64# ίϯηϯτ 64# έʔϒϧ ύιίϯͷ64#ʹ΋ͭͳ͕ΔΑ ͰΜͪϘοΫε͸͜Μͳ͔Μ͡ 「でんげん」は、 どちらかひとつだけで もちろんOK︕ ここにさすよ
  7. Scratch Linkにせつぞく︕ マイクロビットを つかってみる </ビギナー 7> Scratch Basics GETTING STARTED

    Card 1 of 7 I’m Learning: Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program 1 Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to downloadscratch or use it in your web browser by going to dojo.soy/u one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, yo screen like the one below. This screen has a few parts you’ll need to remember. They are labeled below. Stage Sprite List Code Blocks PalleGe Current Spr Pannel Start Program Stop Program 「かくちょうきのう」をひらくよ せつぞく成功︕ ˒ʮ͔ͪ͘ΐ͏͖ͷ͏ʯͬͯɺ ͍ΖΜͳ͖ͷ͏Λ͍͔ͭ͢Δ͜ͱ͕ Ͱ͖ΔΜͩΑɻ がめんの、ひだりしたの アイコンをクリック︕ この「micro:bit」の かくちょうきのうを えらぶよ micro:bitとせつぞくしよう︕ せつぞくしっぱいなら、 エディターへ⾏く ˒ΠϯετʔϧͰ͖ͨΒɺ ʮ4DSBUDI-JOLʯΛ͖Ͳ͏ͯ͠ɺ΋͏Ұ౓ͨΊͯ͠ΈΑ͏ʂ インストーラーページは ここでかくにん パソコンに、Scratch Linkが インストールされているか、 かくにんしよう https://scratch.mit.edu/microbit ◾使⽤するパソコンにはBluetooth 4.0が必要となります。 事前にUSBケーブルでScratch micro:bit.HEXファイルを転送しておきます。
  8. マイクロビットを つかってみる </ビギナー 8> かいぞうしてみる︕ ボタンじゃなくて micro:bitを ふってみよう +6.1 164)

    $-*$, 4)",& 164) %3"(%301 Scratch Basics GETTING STARTED Card 1 of 7 I’m Learning: Scratch 1 These Sushi Cards are going to help you learn to create computer programs in Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by going to dojo.soy/ downloadscratch or use it in your web browser by going to dojo.soy/usescratch. Do one of these two and once you’re set up, move on to the next step. 2 Once you sign-in to the online Scratch, or load it on your computer, you’ll see a screen like the one below. This screen has a few parts you’ll need to remember. They are labeled in the picture below. Stage Current Sprite Pannel Start Program Stop Program 1 Scratch. To do this, you’re going to need to have Scratch! You can either download it and install it on your computer by downloadscratch or use it in your web browser by going to do one of these two and once you’re set up, move on to the next 2 Once you sign-in to the online Scratch, or load it on your com screen like the one below. This screen has a few parts you’ll need to remember. They are below. Stage Sprite List Code Blocks PalleGe Cur Start Program Stop Program やじるしキーとボタンをこうかん ジャンプをシェイクにこうかん うごきを センシングできる ͜͜Λ ͜͏͔Μ ͜͜Λ ͜͏͔Μ ͜͜Λ ͜͏͔Μ ͍ͬͨΜɺ ϓϩδΣΫτΛ อଘʢ΄ͧΜʣ ͠Α͏ʂ -&'5 3*()5
  9. マイクロビットを つかってみる </ビギナー 10> アレンジにチャレンジ︕ ΄͔ʹ΋͍Ζ͍ΖΞϨϯδ͕Ͱ͖ΔΑʂ しゃべらせたり ⾳に はんのうしたり LEDに

    ひょうじさせたり ⾊ を へ ん か さ せ た り ス プ ラ イ ト を い っ ぱ い だ す お ん が く を な ら す ΞϨϯδ͸܅ͷΞΠσΞ࣍ୈ͞
  10. もっとmicro:bitをプログラムするには、 Make:Codeへアクセスしよう︕ マイクロビットを つかってみる </ビギナー 11> そして、Make:Code へ https://makecode.microbit.org ◇カタカナ

    さんこうフォント ◇もし、せつぞくが切れたら・・・ ͜͜ΛΫϦοΫ アイコンをクリックして 再せつぞくしてみよう︕