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

PubNubを久々に使ってみたよ! #iotlt #m5stick #pubnub #djuko

n0bisuke
August 12, 2020

PubNubを久々に使ってみたよ! #iotlt #m5stick #pubnub #djuko

DJ UKO ( https://djuko.cf ) にPubNubを入れてみました。
M5StickC Plusとも連携してみた話。

Milkcocoaが主流だった時代にはあまり目を向けてなかったけど結構便利ですね

( IoTLT vol66での発表資料です https://iotlt.connpass.com/event/183024/ )

n0bisuke

August 12, 2020
Tweet

More Decks by n0bisuke

Other Decks in How-to & DIY

Transcript

  1. *P5-5WPM
    1VC/VCY.4UJDL$1MVTΛ৮ͬͯΈͨɻ
    d8FCαʔϏεͱσόΠεΛ1VC/VCͰܨ͛ͯΈΔd
    !OCJTVLF

    View full-size slide

  2. ੁݪͷͼ͚͢
    dotstudio, Inc.
    ɾϓϩτλΠϐϯάઐ໳εΫʔϧʮϓϩτΞ΢τελδΦʯ
    ϓϩάϥϛϯά͚ͩͰ͸ͳ͘ɺاըɾൃ৴΋஁͑ΔεΫʔϧ
    Ξ΢τϓοτྗ͕ΊͪΌΊͪΌ஁͑ΒΕ·͢
    ଔۀ࣌ʹ͸શһ͕Ϋϥ΢υϑΝϯσΟϯάΛ࣮ࢪ
    ظੜΛืूதͰ͢
    ࠷ۙΦϯϥΠϯαϩϯ΍ͬͯΈΑ͏͔ͱࢥͬͯΔ
    ɾ*P5-5ओ࠵.JDSPTPGU.71-*/&"1*&YQFSU
    OPCJTVLFTVHBXBSB

    View full-size slide

  3. ɾϝοηʔδϯάͷ#BB4
    ɾαʔόʔ࣮૷ແ͠ 'BB4΋͍Βͳ͍

    ɾνϟοτͱ͔͕؆୯ʹ΍ΕΔ

    View full-size slide

  4. ɾϝοηʔδϯάͷ#BB4
    ɾαʔόʔ࣮૷ແ͠ 'BB4΋͍Βͳ͍

    ɾνϟοτͱ͔͕؆୯ʹ΍ΕΔ
    ɾࠃ಺ͩͱ.JMLDPDPBͱ͍͏αʔϏε͕աڈʹ

    View full-size slide

  5. ɾϝοηʔδϯάͷ#BB4
    ɾαʔόʔ࣮૷ແ͠ 'BB4΋͍Βͳ͍

    ɾνϟοτͱ͔͕؆୯ʹ΍ΕΔ
    ɾࠃ಺ͩͱ.JMLDPDPBͱ͍͏αʔϏε͕աڈʹ
    ɾ౰࣌͸फڭ্ͷཧ༝Ͱ৮ͬͯͳ͔ͬͨ

    View full-size slide

  6. վΊͯ঺հ͢Δͱҙ֎ͱ஌ݟ͔΋ͱࢥ͍঺հ

    View full-size slide

  7. EKVLPDG
    ͪΐͬͱͨ͠8FCαʔϏε࡞ͬͯΈͨ

    View full-size slide

  8. %+6,0
    :PVUVCFͷԻָΛ࿈ଓ࠶ੜ͢Δ8FCαʔϏε
    ޿ࠂͰࢭ·Βͳ͍Ͱ͢
    ͪΐͬͱͨ͠8FCαʔϏε࡞ͬͯΈͨ

    View full-size slide

  9. %+6,0͸͕͜͜༝དྷ
    ͪͳΈʹ͏͜͞Μ͸ฐࣾͷ͍͢͝ΤϯδχΞ

    View full-size slide

  10. PCOJ[റΓ͚ͩͬͨͲ8FCαʔϏε࡞ͬͯΈͨ
    ઌि຤ͷPCOJ[ϋοΧιϯ%":

    View full-size slide

  11. PCOJ[Ͱ:PVUVCFϓϨΠϠʔૢ࡞

    View full-size slide

  12. ࠓճ͜ͷ8FCαʔϏεʹ1VC/VCΛ

    View full-size slide

  13. ࠓճ͜ͷ8FCαʔϏεʹ1VC/VCΛ

    View full-size slide

  14. ͱΓ͋͑ͣϦΞϧλΠϜΞΫηε਺Λग़ͯ͠Έͨ
    ͥͻΞΫηεͯ͠Έ͍ͯͩ͘͞ɻ
    IUUQTEKVLPDG

    View full-size slide

  15. 1VC/VC͸ରԠ4%,͕ΊͪΌଟ͍

    View full-size slide

  16. *P5पΓͷ4%,΋͜Ε͘Β͍

    View full-size slide

  17. *P5पΓͷ4%,΋͜Ε͘Β͍
    ˢ&41ରԠ࿩΋ެࣜϒϩάʹ

    View full-size slide

  18. ͜Μͳײ͡Ͱ"SEVJOPͰॻ͚ͨ
    ͜ͷ৘ใʹͨͲΓண͘·Ͱ຋࿔͞Εͨ

    View full-size slide

  19. .4UJDL$1MVTͰࢼͯ͠Έͨ
    ΦϑΟεʹੵΜͰ͋ͬͨ

    View full-size slide

  20. .4UJDL$1MVT
    ൺֱత࠷ۙͰͨ.4UJDL$ͷ্Ґޓ׵
    ԁ

    View full-size slide

  21. શମΠϝʔδ
    8FCαΠτ αʔόʔ࣮૷ແ͠
    σόΠε
    lXFCUPσόΠεz͕ࠓճ
    lσόΠεUP8FCz΋͍͚Δ͸ͣ

    View full-size slide

  22. ·ͱΊ
    ɾ1VC/VC
    ɹ݁ߏศར
    ೔ຊޠهࣄ͕શવແ͍ͷͰ۷ΓਐΊͯΈ͍ͨ
    ΍͸Γ.JMLDPDPB͸͔ͬͨ͢͝
    ɾ.4UJDL$1MVT΍ͬͱ৮Ε͚ͨͲ͋Μ·Γ৘ใແ͍
    .4UJDL$͸ΈΜͳ࢖ͬͯΔ͚Ͳ1MVT͸·ͩͳͷ͔ͳʁ
    ͦΜͳʹมΘΓ͕ͳ͍ͷ͔΋ΠϚΠν෼͔ͬͯͳ͍
    ɾ%+6,0࢖ͬͯΈ͍ͯͩ͘͞IUUQTEKVLPDG
    ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ

    View full-size slide