北海道情報大学オープンキャンパス模擬講義「フィジカルコンピューティングをはじめよう」 / HIUOC20211114
by
yumulab
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
ւಓใେֶ ΦʔϓϯΩϟϯύε ٖߨٛʢใϝσΟΞֶՊʣ 2021.11.14 ౬ଜ ཌྷ !"#$%&'()*+"',-./012 34565789 4565;83<=>?=@=<8AB8CB?D ࢿྉΞοϓϩʔυࡁ https://speakerdeck.com/yumulab/hiuoc20211114
Slide 2
Slide 2 text
!"#$%#&' • ϑΟδΧϧίϯϐϡʔςΟϯά֓ཁ (15) • ϑΟδΧϧίϯϐϡʔςΟϯά (ArduinoγϛϡϨʔλ) ԋश (30) • ͦͷଞɾ·ͱΊɾ࣭ (5) 2
Slide 3
Slide 3 text
!"#$%&'()*+"',EF
Slide 4
Slide 4 text
()*+,-./0123*/4567 • ϋʔυΣΞΛѻ͏γεςϜͷϓϩάϥϛϯά • ޫɺಈ͖ɺԻ ͳͲͳͲ • ΞϓϦήʔϜͷϓϩάϥϛϯάͱԿ͕ҧ͏͔ʁ • ΞϓϦήʔϜίϯϐϡʔλͷதʹด͍ͯ͡Δ • ϑΟδΧϧίϯϐϡʔςΟϯάίϯϐϡʔλͷ֎ͷσʔλΛऔಘ ͨ͠ΓϋʔυΣΞΛಈ͔͢ • ʮInternet of Things (IoT)ʯʮࠐΈίϯϐϡʔςΟϯάʯͱڞ௨ ͋Δ (एׯҧ͏߹͋Δ) 4
Slide 5
Slide 5 text
)*+,-./0123*/4#8 5 teamLab, Light Ball Orchestra / ޫͷϘʔϧͰΦʔέετϥ https://youtu.be/NN1vbIbH3GE
Slide 6
Slide 6 text
)*+,-./0123*/4#8 6 daito manabe, particles at YCAM https://youtu.be/gvUpkknryaYa
Slide 7
Slide 7 text
)*+,-./0123*/4#8 7 Wall Recordings, SAMURIZE - Killer Instinct (Of fi cial Video) https://youtu.be/rjMD36M4GMM
Slide 8
Slide 8 text
)*+,-./0123*/4#8 8 British Council, Japan, βɾίϯελϯτɾΨʔσφʔζ (The Constant Gardeners) ࡞આ໌ https://youtu.be/sPMGH0eCLNw
Slide 9
Slide 9 text
)*+,-./0123*/4#8 9 tangiblemedia, inFORM - Interacting With a Dynamic Shape Display https://youtu.be/ouP9xNujkNo
Slide 10
Slide 10 text
)*+,-./0123*/4#8 10 daito manabe, electric stimulus to face -test3 ( Daito Manabe ) https://youtu.be/YxdlYFCp5Ic
Slide 11
Slide 11 text
)*+,-./0123*/4#8 11 Yoichi Ochiai, Pixie Dust: Graphical Levitation System (2014-) https://youtu.be/NLgD3EtxwdY
Slide 12
Slide 12 text
9:;<=>?@ • ͍Ζ͍ΖͳπʔϧɾςΫϊϩδʔ͕ΘΕΔ • Χϝϥը૾ղੳ • ө૾ΤϑΣΫτ੍࡞ (AfterEffect, Blender, Unity) • ϓϩδΣΫγϣϯϚοϐϯά • ηϯα • Ϟʔλʔ • LED • ϫϯϘʔυϚΠίϯ 12 ͜ͷߨٛͷର
Slide 13
Slide 13 text
A/B2CDE./ • ී௨ͷPCͱൺͯ • ͍҆🙆 • খ͍͞🙆 • ফඅిྗ🙆 • ੑೳ͍🙅 13 M5Stack Basic (¥5,203) https://ssci.to/3647 Arduino Uno R3 (¥3,300) https://ssci.to/789 micro:bit (¥2,200) https://ssci.to/6600 Raspberry Pi 4 Model B / 2GB (¥5,225) https://ssci.to/5681 ͜ͷߨٛͷର
Slide 14
Slide 14 text
FGHIJKL • ʮΞϧσϡΠʔϊʯͱಡΈ·͢ • ͨͿΜੈքҰ༗໊ͳϫϯϘʔυϚΠίϯ • ͍҆ޓ͋ΔɿύνϞϊ͡Όͳͯ͘ΦʔϓϯιʔεϋʔυΣΞ • Arduino IDEͰ։ൃɿC++ݴޠ 14 Arduino Uno R3 https://ssci.to/789 Arduino IDE
Slide 15
Slide 15 text
MJKNOGPQHRSRFGHIJKLTU1V2W • ͑Δ෦ଟ͘ɺ͍ΖΜͳ͜ͱ͕Ͱ͖Δ • ߨٛTinkercadΛͬͯਐΊ·͢ • ※ Tinkercadʹଞʹ3DϞσϦϯάπʔϧؚ·Ε͍ͯ·͕͢ɺ͜ͷߨٛͰ 3DϞσϦϯάπʔϧͷػೳ༻͠·ͤΜ 15
Slide 16
Slide 16 text
!"#$%&'()*+"',GH
Slide 17
Slide 17 text
MJKNOGPQHXYZ[\: • Google ChromeΛ։͘ (σεΫτοϓͷγϣʔτΧοτ͔Β) • (a) ·ͨ (b) ͷͲͪΒ͔ͷํ๏ͰTinkercadΛ։͘ • (a) σεΫτοϓͷʮseiryuʯγϣʔτΧοτ → ΦʔϓϯΩϟϯύε → 2021 → ΦʔϓϯΩϟϯύε_౬ଜ ʹೖ͍ͬͯΔγϣʔτΧοτ ΛGoogle Chromeʹυϥοά&υϩοϓ • (b) ΞυϨεόʔʹ https://bit.ly/hiu2021ͱೖྗ 17 ※ ՈͰΔͱ͖ https://www.tinkercad.com/ ʹΞΫηεͯ͠ʮΞΧ ϯτΛ࡞ʯ·ͨʮଞαʔϏεΞΧϯτ(Google / Apple / Microsoft / Facebook)ͰαΠϯΠϯʯ͍ͯͩ͘͠͞
Slide 18
Slide 18 text
MJKNOGPQHXYZ[\: • χοΫωʔϜͰࢀՃ → χοΫωʔϜΛೖྗ • χοΫωʔϜͨ͠ࢴʹॻ͍͍ͯ·͢ (hiu01ʙhiu30) 18 ΫϦοΫ هೖ ΫϦοΫ
Slide 19
Slide 19 text
][^_`#>a 19 ʮճ࿏ʯΛબ ΫϦοΫ
Slide 20
Slide 20 text
_`TU1V2Wbc • ԋशͰجຊతʹ͜ͷը໘Λ͍·͢ 20 ໊લΛΫϦοΫͯ͠ ฤू͠Α͏ ෦ΛΫϦοΫ → ஔ (υϥοάˍυϩοϓͰOK)
Slide 21
Slide 21 text
!";?d6 • (1) LEDΛޫΒͤΔ • (2) NeoPixel (LEDςʔϓ) ΛޫΒͤΔ • (3) NeoPixelͷ৭Λม͑ͯΈΔ • (4) ͍ΖΜͳ෦(ελʔλʔ)Λಈ͔ͯ͠ΈΔ • ͨͿΜશ෦Ͱ͖ͳ͍ͷͰɺͥͻ͓͏ͪͰͬͯΈ͍ͯͩ͘͞ 21
Slide 22
Slide 22 text
efgXhij? 22 ໊લΛΫϦοΫͯ͠ ฤू͠Α͏ ෦ΛΫϦοΫ → ஔ (υϥοάˍυϩοϓͰOK)
Slide 23
Slide 23 text
23 ෦ͷࢠΛΫϦοΫ →ଓઌࢠΛΫϦοΫ efgXhij?
Slide 24
Slide 24 text
24 ಈ͔͢ʹ͜͜ΛΫϦοΫ efgXhij?
Slide 25
Slide 25 text
25 ɹΫϦοΫͰ෦બ → BackspaceͰআ shiftΛԡ͠ͳ͕ΒΫϦοΫ͢Δͱ ෳબՄೳ Undo ctrl+zͰՄ efgXhij?
Slide 26
Slide 26 text
26 ϚεϗΠʔϧͰը໘֦େ/ॖখ ෦ͷճస (Shiftԡ͠ͳ͕Β ΫϦοΫͰٯճస) ϓϩύςΟมߋ ͳʹͳ͍ͱ͜ΖΛ υϥοά͢Δͱ ը໘Ґஔͷௐ efgXhij?
Slide 27
Slide 27 text
kOLlJmOn • AdafruitࣾͷϚΠίϯଂϑϧΧϥʔLED • ͭͳ͛ͯ૿ͤΔʂ • ςʔϓঢ়ɺϦϯάঢ়ʹͭͳ͕͍ͬͯΔΛ͏͜ͱ͕ଟ͍ • ੍ޚʹArduinoͳͲΛ͏ • ϥΠϒϥϦΛ͍͍͑ײ͡ʹͰ͖ΔͷͰɺ੍ޚํ๏ͷৄࡉΛΒͳͯ͘େৎ 27 Adafruit Industries, NeoPixel RGBW LEDs w/ Integrated Driver Chip - Natural White [~4500K - Black Casing - 10 Pack] https://www.adafruit.com/product/2761 $5.95 / 10ݸ εΠοναΠΤϯε, NeoPixel Ring - 12࿈ϑϧΧϥʔγϦΞϧLED https://www.switch-science.com/catalog/1593/ 1,177ԁ Adafruit Industries, NeoPixel Digital RGB LED Strip - White 30 LED - WHITE https://www.adafruit.com/product/1376 $16.95 / meter
Slide 28
Slide 28 text
kOLlJmOnXhij? • ελʔλʔ (෦ͷΈ߹Θͤ)ͷஔ 28 1. ελʔλʔ͔Β “Arduino” Λબ 2. NeoPixelΛબͯ͠ஔ 3. γϛϡϨʔγϣϯΛ։࢝ ࢀߟɿ࣮ࡍͷNeoPixel
Slide 29
Slide 29 text
kOLlJmOn#h?oXpq? • ίʔυ (ϓϩάϥϜ/εέον) ͷฤूํ๏ 29 ʮίʔυʯΛΫϦοΫ
Slide 30
Slide 30 text
kOLlJmOn#h?oXpq? • 25ߦͷredColor, greenColor, blueColorΛফͯ͠ 0ʙ255ͷ͖ͳࣈʹॻ͖͑ • ॻ͖͑ͨΒʮγϛϡϨʔγϣϯΛ։࢝ʯΛΫϦοΫ 30 ͜͜Λॻ͖͑ ྫ͑
Slide 31
Slide 31 text
^rstuvwxW2W2yXz{[=|? • ͍ΖΜͳελʔλʔ͕͋ΔͷͰ͍Ζ͍Ζࢼͯ͠Έ·͠ΐ͏ • جຊతʹɺஔ࣮ͯ͠ߦ͢Δ͚ͩͰಈ͖·͢ • Α͘Θ͔Βͳ͍ͷ͋Δͱࢥ͍·͕͢ • Իͷग़Δͷ͋ΔͷͰҙ • ͨ͘͞Μஔ͢Δͱಈ࡞͕ॏ͘ͳΔͷͰɺ͍ऴΘͬͨ෦ফ͠·͠ΐ͏ (બͯ͠BackSpaceΩʔ) 31
Slide 32
Slide 32 text
IJKLMN0
Slide 33
Slide 33 text
}~•kOLlJmOn€2C•‚ƒ„… • 3ຊͷଓ͕ඞཁɿ৴߸ઢɺ5VɺGND • ଓͯ͠૿͢͜ͱ͕Ͱ͖Δ • Կݸ·ͰଓͰ͖Δʁ → ߋ৽ϨʔτʹΑΔ • Tinkercadͩͱ100ݸۙ͘ͳΔͱॏ͘ͳΔ 33 ͜ΕͰ1ݸ 0 1 2 3 4 5 6 7 8 9 10 11 ৴߸͕ྲྀΕΔํ ͭͳ͛ͯ૿ͤΔ (ಉ͡छྨͷࢠΛଓ) DIN:৴߸ઢೖྗ(Digital IN) 5V GND DO:৴߸ઢग़ྗ(Digital OUT)
Slide 34
Slide 34 text
†JPGL‡ˆJ‰ • ଞͷϚΠίϯϘʔυ micro:bitʢϚΠΫϩϏοτʣհ͠·͢ • 2015ʙ ։ൃ͞Εͨڭҭ༻ϚΠίϯϘʔυ • ΠΪϦεͰখֶੜʹແঈ͞Εͨ • ݱࡏϚΠΫϩιϑτࡿԼͷϓϩδΣΫτ • 2020ʹv2ʹόʔδϣϯΞοϓ • LED 5×5 = 25ݸɺϘλϯ2ݸɺεϐʔΧɺϚΠΫɺ໌Δ͞ηϯαʔɺՃηϯαʔɺ ࣓ྗηϯαʔɺԹηϯαʔɺແઢ௨৴ػೳʢBLEʣΛࡌ 34 εΠοναΠΤϯε, micro:bit https://ssci.to/6600 2,200ԁ ※ ಋମෆͷӨڹͰ ݱࡏࡏݿͳ͠ɺೖՙະఆ
Slide 35
Slide 35 text
†JPGL‡ˆJ‰ • Webϒϥβͷ։ൃڥͰ։ൃ͢Δ • ϒϩοΫɺJavaScriptɺPythonͰ։ൃ • ͲͷίʔυͰॻ͍ͯޓੑ͕͋ΔʢมՄೳʣ • ։ൃڥʹγϛϡϨʔλ͕ଐ͢Δ 35
Slide 36
Slide 36 text
uv#Š‹ 36 • ͬͱֶͼ͍ͨਓɺͥͻ࣮ػΛߪೖͯ͠Έ͍ͯͩ͘͞ • ࠷ॳΩοτ͕͓͢͢ΊͰ͢ • Arduino୯ମͩͱ΄ͱΜͲԿͰ͖ͳ͍ • ύʔπબͼ͕͍͠
Slide 37
Slide 37 text
Œ•Ž 37 εΠοναΠΤϯε, ArduinoΛ͡ ΊΑ͏Ωοτ https://ssci.to/181 4,400ԁ εΠοναΠΤϯε, The Arduino Starter Kitʢຊޠ൛ʣ https://ssci.to/2628 12,731ԁ εΠοναΠΤϯε, M5GO IoTε λʔλʔΩοτ V2.6 https://ssci.to/7363 9,845ԁ
Slide 38
Slide 38 text
xE•••E‘/x • ΩοτɺϚΠίϯɺNeoPixelɺߴՁ֨ଳηϯα(¥1,000Ҏ্) 38
Slide 39
Slide 39 text
’“”•–— • Ձ֨ଳ෦(߅ɺLEDɺεΠονɺIC)ɺܭଌػث • ळ༿ݪʹ࣮ళฮ͕͋Γ·͢ 39
Slide 40
Slide 40 text
˜™š› • ࡳຈʢ୪খ࿏̓ஸʣʹ͋ΔͷͰɺ࣮ػΛݟͨΓ ͙͢ʹങ͍ʹߦ͖͔ͨͬͨΒ͜͜ 40
Slide 41
Slide 41 text
œ•žŸ 41 ౻ݪຑཬࡊ, ແବͳϚγʔϯΛ ൃ໌͠Α͏! (2021) Ϊϟϧి, Ϊϟϧిͱͭ͘Δ! όΠϒεςϯΞή αΠόʔύϯΫޫΓిࢠ࡞ (2021)
Slide 42
Slide 42 text
œ•M J‰‰OG 42 @shiropen2 @make_jp @fabcrossjp
Slide 43
Slide 43 text
œ•¡LIMIˆO•¢/£- 43 Πνέϯ ແବͮ͘Γ
Slide 44
Slide 44 text
¤¥¦§ • ͍ΖΜͳઌੜ͕͍ΖΜͳݚڀΛ͍ͯ͠·͢ • ւಓใେֶͦͷଞͷେֶͷWebαΠτΛௐͯΈ͍ͯͩ͘͞ 44 34565789 4565;83<=>?=@=<8AB8CB?D