Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
micro:bit入門資料(2018/08/29)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ISHIGO Yusuke
PRO
August 29, 2018
Education
350
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
micro:bit入門資料(2018/08/29)
ISHIGO Yusuke
PRO
August 29, 2018
More Decks by ISHIGO Yusuke
See All by ISHIGO Yusuke
SFアニメを創ろう!未来を描くワークショップ(ねのねプログラム5期)
yusk1450
PRO
1
20
SFプロトタイピング体験(滝中学校)
yusk1450
PRO
0
160
2026年度アプリ開発プロジェクト紹介(名古屋文理大学)
yusk1450
PRO
0
47
講演(滝学園)2025/12/22
yusk1450
PRO
0
110
2026年度 基礎演習(石郷ゼミ)紹介(名古屋文理大学)
yusk1450
PRO
0
74
ハッカソンを活用したモノづくり教育について
yusk1450
PRO
2
530
コロナ対応 混雑状況マップ搭載 「岐阜県観光AIサイネージ」(2021年)
yusk1450
PRO
0
91
ゲーム技術基礎#1
yusk1450
PRO
0
200
ゲーム技術基礎#2
yusk1450
PRO
0
100
Other Decks in Education
See All in Education
AI活用の基礎体験ハンズオン(松尾研 AXエバンジェリスト講座)
minorun365
PRO
12
15k
2026年度秋学期 統計学 第4回 データを「分布」で見る (2026. 10. 20)
akiraasano
PRO
0
200
HTML5 and the Open Web Platform - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
3
3.6k
Railsチュートリアル × 反転学習の事例紹介
yasslab
PRO
3
190k
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 4
hiola
0
7.3k
1007
cbtlibrary
0
270
Introduction to Primary and Secondary Metabolites their Metabolic Pathways
drpoonamkc
0
190
1104
cbtlibrary
0
180
Before You Scale: Understand the Theory Behind the Simulation
pfn
PRO
1
200
Liburd and Stoll Farrell "Copyright Essentials From A to AI: A 2026 NISO Training Series, Session Four: Copyright in Pop Culture and Digital Media"
baltimoreniso
0
120
CSS3 and Responsive Web Design - Lecture 5 - Web Technologies (1019888BNR)
signer
PRO
1
3.5k
Session 6 - Teknik Lobby dan Negosiasi
adeputra13
0
360
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Balancing Empowerment & Direction
lara
6
1.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
The browser strikes back
jonoalderson
0
1.9k
Embracing the Ebb and Flow
colly
88
5.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
470
Raft: Consensus for Rubyists
vanstee
143
7.9k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
480
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Transcript
micro:bit 機能一覧 独自プログラムを書き込むことができるワンボードマイコン(コンピュータ) 外部センサーや拡張ボードを接続することでカスタマイズ可能 ・LED(25個) ・ボタン(2個) ・加速度センサー ・明るさセンサー ・磁気センサー(電子コンパス) ・温度センサー
・無線通信機能(Bluetooth) 英国BBCが開発
プログラミング環境 Microsoftが開発したmicro:bitのプログラミング環境 1.用意されている機能を選択して右側の領域に置く 2.組み合わせてプログラミングする
LEDを光らせてみる micro:bitについているLED25個を自由な形に光らせてみる
ボタンを使ってみる ① Aボタンを押すと、LEDに表示されている数が増えるようにする 「変数を追加する」をクリックして「ボタンが押された回数」を追加する
変数 データを入れるための箱 「ボタンが押された回数」 「ボタンが押された回数」 100 100
ボタンを使ってみる ② Bボタンを押すと、数が0になるようにする
乱数を使ってみる micro:bitを振ると、0〜4の数字をランダムに表示する ▶ 乱数とは 実行するたびにランダムに変わる数字のこと。 ▶ 加速度センサーとは デバイスの速度変化を計測する装置。 近年ではスマホ等に標準搭載されている。
じゃんけんゲーム micro:bitを振ると、じゃんけんができるようにする
通信してみる(じゃんけんゲーム応用) じゃんけんゲームを通信対戦に対応させる
角度当てゲーム 加速度センサーは、通常重力(1G)を下向きに検知している。 これを利用することで、デバイスの傾きを求めることができる。 ▶ ピッチとロール デバイスが縦に回転することをピッチ、 横に回転することをロールと呼ぶ。 ▶ 加速度センサーの軸 加速度センサーには、X・Y・Zの3つの軸
があり、下から上方向の軸がZ軸。
磁気センサーを使う 磁石を近づけることで、LEDの明るさを変える ▶ 磁気センサー 磁界の大きさと向きを計測する装置。 地磁気を読み取ることで、コンパスとしても活用できる。
スピーカーを繋いで音を鳴らす micro:bitとスピーカーを繋いで、音を鳴らす ▶ 電気の流れ方 電気は「+(プラス)」から、「ー(マイナス)」に流れる。 電子工作では、「ー(マイナス)」のことを、GND(グランド)という。 3極フォーンプラグ GND L R
スピーカーを繋いで音を鳴らす(オマケ) ファミマの音を再現してみよう
光テルミンを作ってみる micro:bitの明るさセンサーを使って、手をかざすと音が変わる楽器を作る ▶ テルミンとは ロシアの物理学者テルミンが開発した楽器。 アンテナに手を近づけることで、音を変化さ せる。世界最初の電子楽器。