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

DojoCon Japan 2017

ogom
November 04, 2017

DojoCon Japan 2017

Scratch からつながる電子工作のプログラミング

ogom

November 04, 2017
Tweet

More Decks by ogom

Other Decks in Programming

Transcript

  1. Scratch ͔Βͭͳ͕Δ
    ిࢠ޻࡞ͷϓϩάϥϛϯά
    T.OGOM
    DojoCon Japan 2017 ͭͳ͕Δ Dojo to Dojo

    View full-size slide

  2. Scratch ͔Βͭͳ͕Δిࢠ޻࡞ͷϓϩάϥϛϯά
    DojoCon Japan 2017 ͭͳ͕Δ Dojo to Dojo

    View full-size slide

  3. จষɺࣸਅɺ঎ඪɺϩΰϚʔΫɺͦͷଞͷஶ࡞෺ʹؔ͢Δஶ࡞ݖ͸ݪஶ࡞ऀͦͷଞͷݖརऀʹؼଐ͠·͢ɻ
    • Scratch͸ MITϝσΟΞϥϘͷϥΠϑϩϯάΩϯμʔΨʔςϯάϧʔϓʹΑͬͯ։ൃ͞Ε·ͨ͠ɻhttp://scratch.mit.edu
    • Raspberry Pi Logo is trademark and copyright from Raspberry Pi Foundation, https://www.raspberrypi.org.
    • ෩ຐ ͸ਿࢁರ͞Μ͕࡞ͬͨ΋ͷͰɺCorderDojo੢ٶʗകాͷஶ࡞෺Ͱ͢ɻ ©2015 CoderDojo Nishinomiya / Umeda
    Copyright

    View full-size slide

  4. ࣗݾ঺հ
    ͓͝΋Γ ͔ͨ͠
    • CoderDojoຊொ : νϟϯϐΦϯ
    • BouqueTec : ୅ද
    • ݚڀһ
    • ඇഁյݕࠪһ

    View full-size slide

  5. झຯ
    ϓϥϞσϧ
    ϓϩάϥϛϯά
    ిࢠ޻࡞
    • େࡕͷ ϔϘίϯ Ͱ༏উ
    • GitLab.org Cookbook ͷ࡞ऀ
    • Crione (mruby Editor) ͷ࡞ऀ
    Cookbook ͸
    αʔό Λઃఆ
    ͢ΔϓϩάϥϜ

    View full-size slide

  6. ίχϡχςΟ
    •ຊொΦʔϓϯιʔεϥϘ : εϙϯαʔ
    •CoderDojoຊொ : νϟϯϐΦϯ
    •OSS Gateେࡕ : ϞσϨʔλʔ
    •DDD.rb : ϑΝ΢ϯμʔ
    •Rubyؔ੢ : ΦʔΨφΠβʔ
    •Rails Girls : ίʔν
    •ςΫϊਤ޻෦ : αϙʔλʔ
    •Management 3.0 : ϑΝγϦςʔλʔ

    View full-size slide

  7. 1
    2
    3
    IoT ͸Ϟϊͷ
    Πϯλʔωοτ

    View full-size slide

  8. ਎ۙʹͳΔ IoT
    IoTͷීٴͰςΫϊϩδʔ͕਎ۙͳଘࡏʹ...
    ؆୯ʹ࡞Εͯ୯७ͳૢ࡞Ͱෳࡶͳࣄ͕...
    1. ؀ڥηϯαʔ
    • Թ౓ɺ࣪౓ɺর౓ɺؾѹɺ૽ԻͳͲ
    2. Ϟʔγϣϯηϯαʔ
    • Ҡಈɺৼಈɺ܏ࣼɺিܸɺస౗ͳͲ
    3. ਓؒͷޒײηϯαʔ
    • ը૾ɺԻ੠ɺषؾɺ৮֮ɺຯ֮ͳͲ

    View full-size slide

  9. ϑΝογϣϯ
    ςΫϊਤ޻Ͱࣗ࡞ͷ

    ΞΫηαϦʔ
    ϛϡʔδοΫϏσΦ
    ͷҥ૷΋ࣗ࡞Մೳ
    Photo by Moliya Cohama (c)FASHION

    View full-size slide

  10. ϗϏʔ
    υϩʔϯʹΧϝϥ΍
    إηϯαʔͰࣗࡱΓ
    ϒϩοΫΛ૊Έཱͯ
    ͨϩϘοτΛ಄೴෦
    ඼ͰϓϩάϥϜ
    https://flybrix.com/

    LEGO® MINDSTORMS®

    View full-size slide

  11. ग़ྗ૷ஔ
    ೖྗ૷ஔ
    ిࢠ޻࡞
    Ϙλϯ΍ηϯαʔ
    ͳͲͷೖྗ૷ஔ
    Ϟχλʔ΍ి೾ɾ
    ੺֎ઢͳͲͷग़ྗ
    ૷ஔ

    View full-size slide

  12. ೖྗ૷ஔͱग़ྗ૷ஔΛ
    ॲཧ૷ஔͰίϯτϩʔϧ
    ిࢠճ࿏΍ϚΠίϯͰ૷ஔ
    Λίϯτϩʔϧ͢Δͷ͕
    ిࢠ޻࡞ͷϓϩάϥϛϯά
    ॲཧ૷ஔ
    ిࢠճ࿏ͷࢼ
    ࡞ʹ͸ϒϨου
    ϘʔυΛ࢖͏Α

    View full-size slide

  13. Raspberry Pi 


    Scratch ݴޠ
    Python ݴޠ
    ͳͲ
    ϚΠίϯ
    GR-CITRUS


    Ruby ݴޠ
    IchigoJam


    BASIC ݴޠ
    Arduino

    Arduino ݴޠ

    ʢC++ ݴޠʣ
    ϚΠΫϩϓϩηοα΍ϚΠΫϩίϯϐϡʔλʹ͸
    ϓϩάϥϛϯάݴޠͰϓϩάϥϛϯά
    ϑϧʔπ
    ͷ໊લ͕
    ͨ͘͞Μ

    View full-size slide

  14. ϓϩάϥϛϯά
    εΫϥονͰήʔϜ΍ΞχϝΛ࡞Δ
    Α͏ʹϚΠίϯΛίϯτϩʔϧ͢Δ
    ϓϩάϥϛϯάΛهड़
    GPIO(General-purpose input output) ͳͲ
    ϚΠΫϩϓϩηοα΍ϚΠΫϩίϯϐϡʔλ
    ͷೖྗͷΠϯλϑΣʔε

    View full-size slide

  15. େࡕ෎େࡕࢢͰִ݄։࠵
    ScratchɺRubyɺmrubyɺిࢠ޻࡞
    1. ୈ2ճ໨ : LνΧ
    CITRUS͸όοςϦʔ
    2. ୈ3ճ໨ : εΠονͷLνΧ
    ϚΠίϯͳ͠
    3. ୈ4ճ໨ : ͠Ό΂ΔిࢠμΠε
    లࣔͷΈ
    4. ୈ6ճ໨ : ిࢠμΠεΫϩʔϥʔ
    mrubyͷϓϩάϥϛϯά
    5. ୈ7ճ໨ : ిࢠμΠεϓϩάϥϛϯά
    mrubyҎ֎ͷϓϩάϥϛϯά
    6. ୈ8ճ໨ : ΫϩʔϥʔϩϘ
    లࣔͷΈ
    CoderDojoຊொ

    View full-size slide

  16. CoderDojoຊொ in The DECK

    View full-size slide

  17. د෇
    DojoCon Japan 2016 ͷΫϥ΢υ
    ϑΝ΢ϯσΟϯάͰϓϩάϥϛϯ
    άͷࢀߟॻ΍ిࢠ޻࡞ΩοτͳͲ
    ͷد෇
    ిࢠ෦඼ͷد෇͕͋ΓຊொͰ
    ిࢠ޻࡞ͷαϙʔτΛ͸͡Ίͨ

    View full-size slide

  18. 1 2 3
    LνΧ LνΧͱεΠον ిࢠμΠε
    εΫϥονΛ͢Δχϯδϟ͕΄ͱΜͲɺͳͷͰٳܜ࣌ؒͷԆ௕Ͱ
    ࢀՃࣗ༝ͷిࢠ޻࡞ͷ࣌ؒΛ։࠵ͨ͠ʢҙ֎ͱࢀՃऀ͸ଟ͍ʣ
    ͋ͱ͸ຖճগͣͭ͠ిࢠ෦඼Λ૿΍ͨ͠Γɺిࢠ޻࡞ͷలࣔ
    ಋೖ

    View full-size slide

  19. ΞΠςϜ
    εΫϥονͷࢀՃऀ͕
    ଟ͍ͷͰɺεΫϥον
    ͬΆ͍ΞΠςϜͰઆ໌
    ڵຯΛεΫϥον͔Β
    ిࢠ޻࡞ʹͭͳ͛Δ

    View full-size slide

  20. ిࢠ޻࡞ͷָ͍͠ͱ͜Ζ
    ੜ׆Λ͢͜͠ศརʹͰ͖Δ
    αΠΤϯεΛ਎ۙʹײ͡Δ

    View full-size slide

  21. ిࢠ޻࡞ϓϩάϥϛϯάͷ஫ҙ
    ෦඼ͷ෺ཧతͳ੍ݶ͕͋Δ
    ෦඼͕յΕΔɺյΕ͍ͯΔ
    ෦඼ͷׯবͰɺಈ࡞͠ͳ͍
    ిؾΛ࢖͏ͷͰײి΍Րই
    ʹ΋஫ҙͯ͠Ͷ

    View full-size slide

  22. ͭͳ͕Δ
    Scratch ͸ϒϩοΫΛ
    ͭͳ͛Δ
    ిࢠ޻࡞͸ిࢠ෦඼Λ
    ͭͳ͛Δ
    CoderDojo ͸஥͕ؒ
    ͭͳ͕Δ

    View full-size slide

  23. ήʔϜɾΞχϝʔγϣϯɾిࢠ޻࡞Ͱ
    ޷͖ͳϓϩάϥϛϯάΛָ͠΋͏
    Enjoy Programming
    DojoCon Japan 2017 Connect Dojo to Dojo

    View full-size slide