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.4k
多様なメンター、多様な基準
yasulab
6
20k
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
1
250
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
1
380
Matz に頼られたので張り切って2時間ほどドイツと日本の互いの Ruby 学習事情についてディスカッションした話
yasulab
1
950
困ったときのガイドライン / We Support You in Any Situation
yasulab
2
4.5k
英語学習から海外発表までの流れ
yasulab
18
4.5k
未踏ジュニア公式情報まとめ / Mitou Junior Highlights for Creators
yasulab
1
380
多様な分野、多様な世代 / Various Persons on the Earth
yasulab
0
330
Other Decks in Education
See All in Education
人間関係に取り組む、その時に / step away to make space
spring_aki
0
140
Introduction to Primary and Secondary Metabolites their Metabolic Pathways
drpoonamkc
0
170
Introduction to Accounting
bvr7352
0
270
Science Tokyo University for International Research Excellence scheme_April 2026
sciencetokyo
PRO
0
520
An Experiment in "Cross-Cultural Exchange" as a Method for Content Creation
naoji_taniguchi_ksk_0827
0
250
人間のために、人間と共に働く時代の終わりの始まり
frievea
0
230
1014
cbtlibrary
0
170
Quality Control of Crude Drugs
pawan_pharm
0
200
25-26 CBT Library top items
cbtlibrary
0
360
学習者データを「見る」:外国語教師のためのデータの入力、分析、解釈方法
uranoken
0
440
EL GEOPARQUE MUNDIAL UNESCO VOLCANES DE CALATRAVA: DE LA INVESTIGACIÓN CIENTÍFICA A LA TRANSPOSICIÓN DIDÁCTICA EN EL AULA
juanmartin2026
0
33k
[2026後期火5] 論理学(京都大学文学部 後期 第2回)「量化子の導入」
yatabe
0
180
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
The Limits of Empathy - UXLibs8
cassininazir
2
720
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
280
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Automating Front-end Workflow
addyosmani
1369
210k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
750
Balancing Empowerment & Direction
lara
6
1.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
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