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
Scratch + Raspberry Pi ワークショップ
Search
Yohei Yasukawa
April 22, 2014
Education
150
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Scratch + Raspberry Pi ワークショップ
1時間半で学ぶ! 子供向けプログラミングワークショップ
http://yasulab.com/Scratch-Raspberry-Pi-Workshop-JP/
Yohei Yasukawa
April 22, 2014
More Decks by Yohei Yasukawa
See All by Yohei Yasukawa
自己紹介 / who-am-i
yasulab
6
7.3k
多様なメンター、多様な基準
yasulab
6
20k
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
1
240
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
1
370
Matz に頼られたので張り切って2時間ほどドイツと日本の互いの Ruby 学習事情についてディスカッションした話
yasulab
1
930
困ったときのガイドライン / We Support You in Any Situation
yasulab
2
4.5k
英語学習から海外発表までの流れ
yasulab
18
4.5k
未踏ジュニア公式情報まとめ / Mitou Junior Highlights for Creators
yasulab
1
370
多様な分野、多様な世代 / Various Persons on the Earth
yasulab
0
320
Other Decks in Education
See All in Education
Plano urbano de Madrid desde el Ensanche al s. XXI (2ª parte).
juanmartin2026
1
91k
検定資格の価値 ~実はすごいよQC検定~
bunnchinn3
0
110
INTRODUCTION TO THE CELL
pawan_pharm
0
300
Modulo : abc
robintux
0
200
【新規入学者様】ZEPメタバース校舎ガイド
ainischool
0
150
Sekolah Sabat - Triwulan 3 2026 - Pelajaran 12
hiola
0
12k
実践プレゼンテーション・デザイン
dragon2
1
150
Réunion des directrices et directeurs des écoles de la circonscription de Jonzac - 31 août 2026
fmarot
0
140
Comentario del plano urbano de Madrid hasta 1860 (1ª parte )
juanmartin2026
1
91k
AIでアウトプットできる時代だからこそ、自分の言葉で考えることの大切さ / What's Left to Think, When AI Can Write?
masakiokuda
1
330
Visionary Initiative: Future Intelligence — Laying the foundations for the future of science, intelligence, and society | Science Tokyo
sciencetokyo
PRO
0
340
AI時代のセキュリティ監査
matshogo
PRO
0
120
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Claude Code のすすめ
schroneko
67
230k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
240
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
エンジニアに許された特別な時間の終わり
watany
109
250k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
550
Documentation Writing (for coders)
carmenintech
77
5.5k
Chasing Engaging Ingredients in Design
codingconduct
0
340
Transcript
Scratch + Raspberry Pi ϫʔΫγϣοϓ ϓϩάϥϛϯάͰLEDΛνΧνΧͤ͞Α͏! 2014/04/17()! ҆ ཁฏ! @YasuLabɹ
※ϫʔΫγϣοϓΛ࣮ࢪ͢Δํ • ͜ͷεϥΠυɺԣΠϯλʔφγϣφϧεΫʔϧͰ։͔Ε࣮ͨࡍͷ ϫʔΫγϣοϓΛݩʹ࡞ɾެ։͞Ε͍ͯ·͢. ɹͷࣸਅ, ࣍ͷαΠτ͔ΒݟΔ͜ͱ͕Ͱ͖·͢. ɹhttp://yasulab.com/Scratch-Raspberry-Pi-Workshop/jp/ • ରɿϓϩάϥϛϯάະܦݧऀͷখֶੜʙதֶੜ ࣌ؒɿ̍࣌ؒ
• ͜ͷϫʔΫγϣοϓͰ Raspberry Pi ͱ͍͏ίϯϐϡʔλΛ͍·͢. ͳ͓ɺRaspberry Pi ͷೖखํ๏ɾΈཱͯํ࣍Λࢀߟʹͯ͠Լ͍͞. ɹϥζϕϦʔύΠͷΈཱͯํ, Programming Education Gathering http://pegpeg.jp/curriculum/683 * ৄࡉ, ຊεϥΠυͷඌʹ͋ΔࢀߟจݙΛࢀর͍ͯͩ͘͠͞.
ͬͯΈΑ͏: Raspberry PiͷηοτΞοϓ 64#ΩʔϘʔυ64#Ϛε ϥζϕϦʔύΠ 5ZQF# )%.*σΟεϓϨΠ
ΩʔϘʔυͱ Ϛε༻ͷUSB (ඞཁͳΒ) Πϯλʔωοτ༻ ͷLANέʔϒϧ σΟεϓϨΠ ༻ͷHDMI ిݯ༻ USB
Mini ిࢠ࡞༻ͷϐϯ ىಈ͢ΔͨΊͷ SDΧʔυ (OS༻) ࠓճͷϫʔΫγϣοϓ Ͱ༻͢Δϙʔτ
ࠓΔ͜ͱ ·ͱΊ Scratch Ͱϓϩάϥϛϯά! Raspberry Pi Ͱ LED νΧνΧ!
Scratch Ͱϓϩάϥϛϯά͢Δͷεΰ͍؆୯! ૣ, σεΫτοϓʹ͋ΔωίͷΞΠίϯΛΫϦοΫ!
ͬͯΈΑ͏: ωίา͖
͜Ε͚ͩͰωίΛา͔ͤΔ̍ͭͷΓํͩ! ଞʹ৭Μͳ͕͑͋ΔΑ! ͬͯΈΑ͏: ωίา͖
ଞͷ࡞ྫ: ωίୟ͖
ଞͷ࡞ྫ: ωίಀ͛
ࠓΔ͜ͱ ·ͱΊ Scratch Ͱϓϩάϥϛϯά! Raspberry Pi Ͱ LED νΧνΧ!
ϒϨουϘʔυ ઢΛ͢Δͱ͖ʹ͏ج൘ (≒ ·ͳ൘) ͋ͱͰઆ໌͢ΔLED߅ͳ ͲΛɺ͜ͷϒϨουϘʔυʹ ࠩͯ͠ (ઢͯ͠)ɺLEDΛν
ΧνΧͤ͞ΔΑ!
LED (ൃޫμΠΦʔυ) ిؾΛྲྀ͢ͱޫΔ෦ • ͍ํ͕ϚΠφε (-) • ͍ํ͕ϓϥε (+)
͍ ϚΠφε ͍ ϓϥε
δϟϯύʔ ϫΠϠʔ ઢ͢Δͱ͖ʹ͏ઢ. Α͘ݟΔͱ̎छྨ͋ͬͯɺ 1. ϥζϕϦʔύΠͱ ɹϒϨουϘʔυΛܨ͙༻ 2. ϒϨουϘʔυͱ
ɹϒϨουϘʔυΛܨ͙༻ ͷ͕̎ͭ͋Δɻ * ઢͷ৭ؔͳ͍Α!
߅ ిؾΛ੍ޚ͢Δ෦. LEDΛڧ͘ޫΒͤͨΓɺ ऑ͘ޫΒͤͨΓͰ͖ΔΑɻ ! ‘ί’ͷࣈʹۂ͛ͯɺ ϒϨουϘʔυʹࠩͦ͏ɻ
ͬͯΈΑ͏: ϥζύΠͱLEDΛܨ͙ 1). LEDճ࿏ΛϒϨουϘʔυ্ʹ࡞ͬͯ, 2).ϥζϕϦʔύΠͷ GPIO ͱܨ͍ͩΒ, 3). Scratch Ͱ
LED ΛνΧνΧͤͯ͞ΈΑ͏!
1). LEDճ࿏ΛϒϨουϘʔυ্ʹ࡞Δ! ͍ ϚΠφε ͍ ϓϥε
2). ϥζϕϦʔύΠͷ GPIO ͱܨ͝͏!
3). Scratch Ͱ LED ΛνΧνΧ! 1. Scratch Λดͯ͡, 2. Scratch
GPIO4 Λ։͍ͨΒ, 3. ϑΝΠϧ → ։͘ˠblink11ΛબΜͰ, 4. ৭ͷض () ΛΫϦοΫͯ͠ΈΑ͏!
ΩʔϘʔυͷεϖʔεΩʔ Λԡ͍ͯ͠Δ͚ؒͩ, LED ΛޫΒͤͯΈΑ͏! εϖʔεΩʔΛͨ͠Β, LEDͷޫΛফ͍͑ͯΔͣ. ώϯτ: ͷதʹ͋Δ ϒϩοΫ͕͑Δ͔…!? ͬͯΈΑ͏:
εϖʔεͰνΧνΧ
͜Μͳ͑ํ͕Ͱ͖ΔΑ! ͬͯΈΑ͏: εϖʔεͰνΧνΧ
LEDΛগͣͭ͠ޫΒͤͯΈΑ͏ ͱ͍͏ϒϩοΫΛͬͯ Ώͬ͘ΓͱޫΒͤͯΈͤΑ͏! 1. มΛΫϦοΫͨ͠Β, ৽͍͠มΛ࡞ΔΛΫϦοΫ. 2. ม໊ʹ Power11 ͱॻ͍ͯ,
OK ΫϦοΫ. 3. ݱΕͨ Power11 ΛμϒϧΫϦοΫ. 4. εϥΠμʔ͕ग़͖ͯͨΒ, Power11 ͷΛม͑ͯΈΑ͏!
ͬͯΈΑ͏: ͲΜͲΜนʹۙͮ͘ͱ ͩΜͩΜͱޫΔ • ωί͕ࠨӈͷนʹ͍ۙͮͨ, LEDΛڧ͘ޫΒͤͯΈΑ͏! • ώϯτ:
ωίͷҐஔ͕Γ͍ͨ? ɹɹɹɹ ͷதʹ͋ΔԿ͔ͷ ϒϩοΫΛ͏ͱ͔ΔΑ! ωί͕นʹ͍͍ۙͮͯ͘ͱ LED͕গͣͭ͠ޫΔ!
͜Μͳ͑ํ͕Ͱ͖ΔΑ! ͬͯΈΑ͏: ͲΜͲΜนʹۙͮ͘ͱ ͩΜͩΜͱޫΔ ωί͕นʹ͍͍ۙͮͯ͘ͱ LED͕গͣͭ͠ޫΔ!
ࠓΔ͜ͱ ·ͱΊ Scratch Ͱϓϩάϥϛϯά! Raspberry Pi Ͱ LED νΧνΧ!
2014/04/17()! ҆ ཁฏ! @YasuLabɹ Scratch + Raspberry Pi ϫʔΫγϣοϓ ϓϩάϥϛϯάͰLEDΛνΧνΧͤ͞Α͏!
ࢀߟจݙ • Raspberry PiͰ͡ΊΔ Ͳ͖Ͳ͖ϓϩάϥϛϯά (͡ΊΔϓϩάϥ ϛϯά γϦʔζ) Ѩ෦
(ஶ, म), ੴݪ ३ (ஶ), Ԙ ఓོ (ஶ): http://www.amazon.co.jp/Raspberry-PiͰ͡ΊΔ-Ͳ͖Ͳ͖ϓϩ άϥϛϯά-͡ΊΔϓϩάϥϛϯά-γϦʔζ/dp/4822297314 • PEG (Programming Education Gathering): http://pegpeg.jp/ • Scratch GPIO version 4 http://cymplecy.wordpress.com/2013/04/22/scratch-gpio- version-2-introduction-for-beginners/ (ӳޠͷΈ) • Raspberry Pi - Wikipedia : http://ja.wikipedia.org/wiki/Raspberry_Pi