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

#m5stack シャトルラン #iotlt のリメイク #m5stack_ugjp

#m5stack シャトルラン #iotlt のリメイク #m5stack_ugjp

以下の二つの勉強会でシャトルランネタやってました。リメイクです。( https://speakerdeck.com/n0bisuke/hua-ti-false-number-m5stack-desiyatoruran-sositeraiburarimo-number-iotlt )

----------

IoTLT vol38 at ウイングアーク1st
https://togetter.com/li/1221046?page=10

SIerIoTLT vol7 at DeNA
https://togetter.com/li/1219389?page=6

n0bisuke

May 14, 2018
Tweet

More Decks by n0bisuke

Other Decks in Technology

Transcript

  1. @n0bisuke
    ࿩୊ͷM5StackͰ༡ΜͰΈͨΑ
    ʢM5StackͰγϟτϧϥϯ ϦϝΠΫʣ
    #m5stack_ugjp #iotlt 2018/5/14

    View full-size slide

  2. ੁݪ ͷͼ͚͢
    dotstudio, Inc.
    ɾWeb Engineer
    ɾMicrosoft MVP (Node.js)
    ɾLINE API Expert (ࠃ಺5ਓ/ੈք22ਓ)
    ɾσδλϧϋϦ΢ουେֶେֶӃ ඇৗۈߨࢣ
    ɾIoTLT ओ࠵
    nobisuke sugawara

    View full-size slide

  3. dotstudio, inc.
    ཧ೦ : Ϟϊͮ͘ΓΛָ͠ΉਓΛ૿΍͢
    2016೥૑ۀ

    View full-size slide

  4. M5Stack
    ɾESP32ϕʔεͷ։ൃϓϥοτϑΥʔϜ
    ɾWiFi & Bluetooth
    ɾArduino + Arduino IDEͰ։ൃՄೳ
    ɾCloud IDE + MicroPython or LuaͷOTAػೳ΋
    ɾσΟεϓϨΠ / εϐʔΧʔ / Ϙλϯ౥ࡌ
    ɾ࠷ۙ࿩୊ ʢ2݄ͷIoTLTࡳຈͰॳΊͯ஌ͬͨʣ

    View full-size slide

  5. ͱΓ͋͑ͣ৮ͬͯΈͨ
    ɾεϐʔΧʔ಺ଂ͕໨৽͋͠͞ΔͷͰεϐʔΧʔ
    ͔ΒνϟϨϯδ
    ɾαϯϓϧͷSpeaker.ino

    View full-size slide

  6. Ͳ͏΍Β͜͏΍ͬͯԻ͕ग़͍ͯΔ
    M5.Speaker.tone(3000, 200);

    View full-size slide

  7. ࣍͸
    υϨϛϑΝιϥγυ
    ΍ͬͯΈ͍ͨ

    View full-size slide

  8. υϨϛϑΝιϥγυνϟϨϯδ
    ɾαϯϓϧͷԻΛࢼͯ͠ΈͨΒ…

    View full-size slide

  9. ઈົʹҧ͏ (´ɾωɾ`)

    View full-size slide

  10. ௐ΂ͨͱ͜ΖʹΑΔͱԻ֊͸प೾਺Ͱܾ·ΔΒ͍͠
    ը૾ݩ: http://tomari.org/main/java/oto.html
    (ଟ෼ɺதֶͱ͔ߴߍͰशͬͯΔ)

    View full-size slide

  11. Ի֊ͱप೾਺
    Ի֊ M5Stack σϑΥ஋ ௐ΂ͨײ͡
    D0 υ ( Do ) -1 261.626
    D1 Ϩ ( Re ) 294 293.665
    D2 ϛ ( Mi ) 330 329.628
    D3 ϑΝ ( Fa ) 350 349.228
    D4 ι ( Sol ) 393 391.995
    D5 ϥ ( La ) 441 440.000
    D6 γ ( Ti ) 495 493.883
    D7 υ ( Do ) 556 523.251

    View full-size slide

  12. प೾਺(Hz)ͷ஋͕શવҧ͏……
    Ի֊ M5Stack σϑΥ஋ ௐ΂ͨײ͡
    D0 υ ( Do ) -1 261.626
    D1 Ϩ ( Re ) 294 293.665
    D2 ϛ ( Mi ) 330 329.628
    D3 ϑΝ ( Fa ) 350 349.228
    D4 ι ( Sol ) 393 391.995
    D5 ϥ ( La ) 441 440.000
    D6 γ ( Ti ) 495 493.883
    D7 υ ( Do ) 556 523.251
    ը૾ݩ: http://www.wisemanproject.com/zzz-olderpage2010/education-j-solfege.html
    Tips: ͪͳΈʹυϨϛϑΝιϥγυ
    ͸ੈքڞ௨Β͍͠

    View full-size slide

  13. దԠͤͯ͞Έͨ

    View full-size slide

  14. దԠͤͯ͞Έͨ

    View full-size slide

  15. Կ͔ջ͔͠͞Λײͨ͡

    View full-size slide

  16. Կ͔ջ͔͠͞Λײͨ͡
    ͷͰԠ༻Ͱ࡞ͬͯΈ·ͨ͠ɻ

    View full-size slide

  17. ※Youtubeίϝϯτൈਮ
    ΈΜͳͷτϥ΢Ϛ

    View full-size slide

  18. ઌ݄ൃੜͨ͠ࣄҊ

    View full-size slide

  19. 2018/4/18 SIerIoTLT #iotlt

    View full-size slide

  20. 2018/4/18 SIerIoTLT #iotlt

    View full-size slide

  21. ΄΅σϑΥԻ֊Ͱԋ૗Մೳ
    γϟτϧϥϯͷۂ͸

    View full-size slide

  22. γϟτϧϥϯ DEMO

    View full-size slide

  23. γϟτϧϥϯ DEMO

    View full-size slide

  24. ͔͠͠
    ·ͩऴΘΒͳ͍ڟѱͳ࢓༷

    View full-size slide

  25. γϟτϧϥϯ
    Shuttole Run

    View full-size slide

  26. γϟτϧϥϯ
    Shuttole Run
    ҙຯ: ఆظԟ෮ศɼંΓฦ͠ӡస

    View full-size slide

  27. γϟτϧϥϯ͸ંΓฦ͠ຖʹ
    ϖʔε্͕͕͍ͬͯ͘

    View full-size slide

  28. ࢓༷ௐࠪͯ͠Έͨ

    View full-size slide

  29. 20ϝʔτϧγϟτϧϥϯͷ࢓༷Λௐ΂ͯΈͨ
    ※WikipediaΑΓ

    View full-size slide

  30. 20ϝʔτϧγϟτϧϥϯ ࢓༷
    ※WikipediaΑΓ
    Ϩϕϧ্͕͕ΔຖͷંΓฦ͠ճ਺΍͕࣌ؒҰఆͰ͸ແ͍

    View full-size slide

  31. ౳ִؒ΍نଇੑ͕ແ͍ͷͰɺ
    ࢓ํͳ͘഑ྻʹ͍Ε࣮ͯ૷

    View full-size slide

  32. ࢼߦࡨޡͭͭ͠
    Ϩϕϧ21·ͰͷંΓฦ͠λΠϜΛ஧࣮ʹ࠶ݱ

    View full-size slide

  33. ͜ͷԻ΋
    (ϨϕϧΞοϓԻ)

    View full-size slide

  34. ԻΛௐ΂Δͷ͕େมͰͨ͠
    Yahoo஌ܙା: https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q14156201854

    View full-size slide

  35. ফඅΧϩϦʔͱ૸ͬͨڑ཭දࣔػೳ

    View full-size slide

  36. ίʔυΛݟͯΈ·͠ΐ͏

    View full-size slide

  37. ͳΜͱ͜Ε͚ͩ
    M5ShuttleRun()Λ
    ݺͿ͚ͩ

    View full-size slide

  38. ଴๬ͷϥΠϒϥϦԽ !
    https://github.com/n0bisuke/M5_Shuttle_Run
    GitHubͰެ։͍ͯ͠·͢ɻελʔ͍ͩ͘͞ɻ
    ʮ͋ͳͨͷϓϩμΫτ
    ʹ؆୯ʹγϟτϧϥϯ
    ͕૊ΈࠐΊ·͢ɻʯ

    View full-size slide

  39. ͜ΕͰΈΜͳखܰʹ
    γϟτϧϥϯ͕Ͱ͖·͢ɻ

    View full-size slide

  40. ࣮ࡍʹ΍ͬͯΈͨ
    (ৄࡉ͸ผͷػձʹ঺հ)

    View full-size slide

  41. ऴ͑ͯΈͯ…
    (ৄࡉ͸ผͷػձʹ঺հ)

    View full-size slide

  42. ·ͱΊ
    ɾM5Stackָ͍͠
    ɾLet’s ϋοΫ γϟτϧϥϯϓϩμΫτ
    ɾIoTLT ͥͻ͖ͯͶ ~
    FB: sugawara.ryousuke
    Twitter: n0bisuke

    View full-size slide