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

M5GOについてちょっと語ってみる

 M5GOについてちょっと語ってみる

MinoruInachi

July 03, 2018
Tweet

More Decks by MinoruInachi

Other Decks in Technology

Transcript

  1. .(0ʹ͍ͭͯͪΐͬͱޠͬͯΈΔ

    View full-size slide

  2. ࣗݾ঺հ
    ࡳຈࡏॅͷ.JDSP1ZUIPO޷͖͓͡͞Μ
    ීஈ͸ΤϯλʔϓϥΠζܥͷιϑτ΢ΣΞΤϯδχΞ
    ϚΠίϯϘʔυܥ͸ಀආ׆ಈ

    View full-size slide

  3. .(0*P54UBSUFS,JUɹ
    ݄೔ ਫ
    εΠοναΠΤϯεͰऔѻ͍։࢝ʂ
    ԁ

    View full-size slide

  4. ηοτ಺༰‼

    View full-size slide

  5. -&(0ςΫχοΫޓ׵ύʔπগ͠

    View full-size slide

  6. ϖο˓ʔ܅ͬ͜͝΋Ͱ͖ΔΑʂ

    View full-size slide

  7. ෇ଐͷ(SPWFޓ׵Ϟδϡʔϧ

    View full-size slide

  8. ͍ͭ΋ͷ୹͗͢Δ

    64#5ZQF$έʔϒϧ

    View full-size slide

  9. ͱ͍͏Θ͚Ͱɺࢲ͸ԁγϣοϓͷέʔϒϧ

    View full-size slide

  10. ҆ఆײͳ͗͢͞ͷॆిϕʔε

    View full-size slide

  11. ͱ͍͏Θ͚Ͱɺࢲ͸'BDFTॆిϕʔε

    View full-size slide

  12. .4UBDLͱͷओͳҧ͍
    .4UBDL(SBZ .(0
    41*'MBTI .# .#
    ϐϯϔομιέοτ *0ϙʔτɺόεϙʔτ
    (SPWFϙʔτ *$ *$ɺ(1*0ɺ6"35
    ಺ଂ-&% /FP1JYFMº
    ಺ଂϚΠΫ γϦίϯϚΠΫ
    ಺ଂόοςϦ N"I N"I
    ॆిϙʔτ എ໘ɺॆిϥϯϓ෇
    ඪ४։ൃ؀ڥ "SEVJOPɺ.$MPVE .(0$MPVE

    View full-size slide

  13. ̒̌ඵͰ࢝ΊΒΕΔʁ
    ىಈͨ͠ΒCϘλϯ
    (Setup)Λԡͤ
    M5GO͕WifiͷAPʹͳΔ
    ͷͰ…
    εϚϑΥ͔Βܨ͛ʂ
    QRίʔυΛಡΈࠐΊʂ ઀ଓ͢ΔWifi APબ΂ʂ ઃఆ׬ྃ!

    View full-size slide

  14. ̒̌ඵͰ࢝ΊΒΕΔʁ
    ࠶ىಈͨ͠ΒAϘλϯ
    (Guide)Λԡͤ
    ͞ΒʹAϘλϯԡͤʂ

    ʢCϘλϯͩͱσϞ։࢝ʣ
    QRίʔυಡΈࠐΊʂ
    M5GO Cloudʹ઀ଓ MicroPythonͰ

    ϓϩάϥϛϯάͯ͠సૹʂ

    View full-size slide

  15. ϒϩοΫϓϩάϥϛϯά؀ڥ΋͋Δ
    ·ͩѹ౗తʹϒϩοΫͷαϙʔτऑ͍͚ͲͶʜ

    View full-size slide

  16. ݁ہͷͱ͜Ζத਎ௐ΂ͳ͍ͱ࢖͍ํΑ͘Θ͔Βͳ͍

    View full-size slide

  17. ಺ଂ-&%
    /FP1JYFM͕ݸ
    (1*0Λར༻
    NBDIJOF/FPQJYFM

    ΫϥεͰૢ࡞
    GSPNNBDIJOFJNQPSU/FPQJYFM
    OQ/FPQJYFM

    OQTFU /FPQJYFM3&% OVN

    OQTFU /FPQJYFM#-6& OVN

    1
    2
    3
    4
    5
    10
    9
    8
    7
    6
    ӈଆΛ੺ɺࠨଆΛ੨ʹൃߦ

    View full-size slide

  18. GSPNNBDIJOFJNQPSU"%$
    GSPNNTUBDLJNQPSUMDE CVUUPO$
    MDEDMFBS

    BED"%$ 1JO


    BEDBUUFO BED"55/@%#

    CV⒎FS<GPS@JOSBOHF
    >
    XIJMF5SVF
    WBM
    GPSJJOSBOHF

    SBX BEDSFBESBX


    WBMSBX
    WBMWBM
    CV⒎FSQPQ

    CV⒎FSJOTFSU WBM

    GPSJJOSBOHF

    MDEMJOF J CV⒎FS J CV⒎FS MDE#-"$,

    MDEMJOF J CV⒎FS J CV⒎FS MDE8)*5&

    ಺ଂϚΠΫ
    ίί
    ಾͷγϦίϯϚΠΫ412
    ΞϯϓNBY
    (1*0Λར༻
    NBDIJOF"%$·ͨ͸
    NBDIJOF*4ΫϥεͰૢ࡞
    ੜσʔλΛLCDʹ೾ܗදࣔ

    View full-size slide

  19. GSPNNBDIJOFJNQPSU*4
    GSPNNTUBDLJNQPSUMDE UJNF CVUUPO$
    JNQPSUPT XBWF
    JT*4 NPEF*4.0%&@."45&3c*4.0%&@59c*4.0%&@39c

    *4.0%&@%"$@#6*-5@*/c*4.0%&@"%$@#6*-5@*/
    SBUF CJUT
    DIBOOFM@GPSNBU*4$)"//&-@0/-:@3*()5
    EBUB@GPSNBU*4'03."5@*[email protected]#

    PTNPVOUTE

    MDEQSJOU 3FDPSE

    BVEJPXBWFPQFO TESFDPSEXBW XC

    BVEJPTFUQBSBNT < /0/& OPUDPNQSFTTFE>

    JTTBNQMF@SBUF

    JTODIBOOFMT

    JTTFU@BED@QJO

    JTBED@FOBCMF 5SVF

    EBUBCZUFT

    XIJMFOPUCVUUPO$JT1SFTTFE

    EBUBJTSFBE

    BVEJPXSJUFGSBNFT EBUB

    MDEQSJOU &OEaS

    JTBED@FOBCMF 'BMTF

    BVEJPDMPTF

    Ի੠ΛSDΧʔυͷwavϑΝΠϧʹ࿥Ի

    View full-size slide

  20. ओͳ༻్ ϐϯ ϐϯ ϐϯ ϐϯ
    ϙʔτ" *$
    4$-
    (1*0
    4%"
    (1*0
    7 (/%
    ϙʔτ# (1*0
    ೖྗ༻
    (1*0
    ग़ྗ༻
    (1*0
    7 (/%
    ϙʔτ$ 6"35
    39%
    (1*0
    59%
    (1*0
    7 (/%
    (SPWFϙʔτ
    ϙʔτA
    ϙʔτC
    ϙʔτB

    View full-size slide

  21. .05*0/4&/403
    ͍ΘΏΔ੺֎ઢਓײηϯα
    ϙʔτ# (1*0
    ʹܨ͙
    VOJUT1*3ΫϥεͰૢ࡞
    GSPNVOJUTJNQPSU1*3
    GSPNNBDIJOFJNQPSU/FPQJYFM
    QJS1*3

    OQ/FPQJYFM

    XIJMF5SVF
    JGQJSSFBE

    OQTFU /FPQJYFM3&% OVN

    FMTF
    OQTFU OVN

    ਓͷಈ͖Λݕ஌͢Δͱ
    ಺ଂLED͕੺͘ൃߦ

    View full-size slide

  22. &/74&/403
    Թ࣪౓ɺؾѹηϯαʔ
    Թ࣪౓ηϯαʔ%)5ͱԹ౓ؾѹ

    ηϯαʔ#.1ͷ૊Έ߹Θͤ
    Թ౓͸#.1ͷ஋͕ར༻͞Ε͍ͯΔ
    ϙʔτ" *$
    ʹܨ͙
    VOJUT&/7ΫϥεͰૢ࡞
    GSPNVOJUTJNQPSU&/7
    GSPNNTUBDLJNQPSUMDE UJNF
    FOW&/7

    XIJMF5SVF
    U Q IFOWWBMVFT
    MDEQSJOU \G^$GPSNBU U


    MDEQSJOU \G^GPSNBU I


    MDEQSJOU \G^I1BGPSNBU Q


    UJNFTMFFQ@NT

    ؾԹɺ࣪౓ɺؾѹΛLCDʹදࣔ

    View full-size slide

  23. "/(-&4&/403
    ͍ΘΏΔՄม఍߅ث
    ϙʔτ# (1*0
    ʹܨ͙
    VOJUT"/(-&ΫϥεͰૢ࡞
    (1*0Ͱ"%$࢖͏ͱԿނ͔εϐʔΧʔ
    (1*0
    ͔ΒϊΠζͰΔͷͰɺඞཁͳ
    ͚Ε͹ແޮʹ
    GSPNVOJUTJNQPSU"/(-&
    GSPNNBDIJOFJNQPSU%"$ 1JO
    GSPNNTUBDLJNQPSUMDE UJNF
    BOHMF"/(-&

    EBD%"$ 1JO


    EBDXSJUF
    εϐʔΧΛແޮʹ
    XIJMF5SVF
    WBMJOU BOHMFSFBE


    MDEQSJOU BOHMF\E^GPSNBU WBM


    UJNFTMFFQ@NT

    ANGLEηϯαʔͷ஋ΛLCD

    View full-size slide

  24. ಺ଂͱಉ͘͡/FP1JYFM
    ཪʹʮ.ʯࠁҹ͋ΔଆΛϙʔ
    τ# (1*0
    ʹܨ͙
    NBDIJOF/FPQJYFMΫϥεͰ
    ૢ࡞
    3(#-&%
    1 2 3
    GSPNNBDIJOFJNQPSU/FPQJYFM
    OQ/FPQJYFM

    OQTFU /FPQJYFM3&%

    OQ TFU /FPQJYFM:&--08

    OQTFU /FPQJYFM#-6&

    ͪ͜ΒଆΛܨ͙
    ੺ɺԫɺ੨ʹൃߦ

    View full-size slide

  25. ಺ଂ-&%ͱ࿈ಈͯ͠͠·͏໰୊͋Γ

    View full-size slide

  26. ͱ͜ΖͰͪ͜Βଆ͸
    Կʹ࢖͏ʁ

    View full-size slide

  27. 3(#-&%͸ෳ਺࿈݁Ͱ͖·͢

    View full-size slide

  28. ೖྗ͚ͩͷ΋࿈݁Ͱ͖·͢

    View full-size slide

  29. GSPNNTUBDLJNQPSUMDE UJNF CVUUPO$
    GSPNVOJUTJNQPSU1035#
    GSPNNBDIJOFJNQPSU1JO /FPQJYFM
    MBTU@SFBEJOH
    TFOEQJO1JO 1035#<> 1JO065

    SFDWQJO1JO 1035#<> 1JO*/

    OQ/FPQJYFM

    XIJMF5SVF
    JGCVUUPO$JT1SFTTFE

    TFOEQJOWBMVF

    SFBEJOHSFDWQJOWBMVF

    JGSFBEJOHBOEMBTU@SFBEJOH
    OQTFU /FPQJYFM#-6& OVN

    UJNFTMFFQ@NT

    OQTFU /FPQJYFM#-"$, OVN

    MBTU@SFBEJOHSFBEJOH
    UJNFTMFFQ@NT

    TFOEQJOWBMVF

    *33&.05&
    ੺֎ઢ௨৴
    ϙʔτ#ʹܨ͙
    ൃ৴ɿ(1*0ʹ੺֎ઢ-&%
    ड৴ɿ(1*0ʹ੺֎ઢड৴ػ*3.
    ݱঢ়Ͱ͸ੜͷೖग़ྗҎ֎αϙʔτͳ͠

    ʢ"SEVJOPͷ*3SFNPSF͸ͨͿΜ࢖͑Δʣ
    ϦϞίϯ୅ΘΓʹ࢖͏ʹ͸ɺЖඵ୯Ґͷ੍ޚ͕
    ඞཁ͕ͩ.JDSP1ZUIPOʹ͸೉ͦ͠͏
    ੺֎ઢΛड৴ͨ͠Β

    ಺ଂLEDΛ੨ʹൃߦ

    View full-size slide

  30. (307&)6#
    ճ࿏ਤ͔Β͸̏ϙʔτฒ
    ྻʹܨ͍͛ͯΔ͚ͩ
    ϐϯ ͔Β*$༻ʹ࢖Θ
    ΕΔ͜ͱΛҙਤ͍ͯ͠Δ
    ϙʔτ"ʹܨ͍ͰΞυϨε
    ͷҧ͏*$ϞδϡʔϧΛ̏
    ͭ·Ͱ઀ଓ
    ϙʔτ#Ͱ΋ೖྗͱग़ྗͷ
    Ϟδϡʔϧ̎ͭΛ઀ଓՄ

    View full-size slide

  31. ϙʔτ$ 6"35
    ʹ

    ܨ͙Ϡπ͕ແ͍Ͱ͢ΑͶʜ

    View full-size slide

  32. (307&ͷ(14Λ
    ܨ͍ͰΈ·ͨ͠
    https://github.com/inmcm/micropyGPS
    ʜී௨ʹ࢖͑·͢

    View full-size slide

  33. ιϑτ΢ΣΞͱ

    υΩϡϝϯτ΋

    ྗ͍Ε͘ΕΑ͒⽏

    View full-size slide