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

IoTバス降車サポートボタンを2日間で開発した話

 IoTバス降車サポートボタンを2日間で開発した話

minase

May 26, 2019
Tweet

More Decks by minase

Other Decks in Programming

Transcript

  1. IoTόε߱ंαϙʔτϘλϯΛ2೔ؒͰ
    ։ൃͨ͠࿩
    ਫແ੉ ஧ਖ਼ / גࣜձࣾਆށσδλϧɾϥϘ
    1

    View full-size slide

  2. ࣗݾ঺հ
    • ਫແ੉ ஧ਖ਼
    • (ג) ਆށσδλϧɾϥϘ
    • Vue.jsɺNode.js ౳
    • ฌݿݝ ਆށࢢग़਎
    2

    View full-size slide

  3. ຊ೔͓࿩͢Δ͜ͱ
    IoTόε߱ंαϙʔτϘλϯΛFirebaseͷαʔϏεΛར༻͠
    ͯ୹࣌ؒͰ։ൃͨ͠ํ๏ʹ͍ͭͯ
    3
    IoTόε߱ंαϙʔτϘλϯ

    View full-size slide

  4. ։ൃͷഎܠ
    • ࢹ֮ো͕͍ऀͷํ͕όεͷ߱ंϘλϯͷҐஔ͕෼͔Βͣ
    ԡ͢͜ͱ͕Ͱ͖ͳ͍
    • ंҜࢠ΍ઌఱੑ࢛ࢶো͕͍ͷํ͕όεͷ߱ंϘλϯʹख
    ͕ಧ͔ͣԡ͢͜ͱ͕Ͱ͖ͳ͍
    ৐٬͕ࣗ਎ͷεϚϗΛ࢖༻ͯ߱͠ंϘλϯΛԡ͢͜ͱ͕

    Ͱ͖Ε͹ղܾͰ͖Δ
    4

    View full-size slide

  5. IoTόε߱ंαϙʔτ
    ϘλϯͷσϞ
    5

    View full-size slide

  6. ΞΫηγϏϦςΟͷࡇయʹग़ల͠·ͨ͠
    IoTόε߱ंαϙʔτϘλϯΛΞΫηγϏϦςΟͷࡇ
    య 2019ʹग़ల͠·ͨ͠
    ※ΞΫηγϏϦςΟͷࡇయ

    ࣏ࣗମɾاۀɾ੍࡞ձࣾɾো֐ऀࢧԉࢪઃ౳ʹଐ͢Δ
    ํʑɺো֐Λ࣋ͭ౰ࣄऀ౳ɺ༷ʑͳཱ৔ͷਓ͕৽͍͠
    ΞΫηγϏϦςΟٕज़ΛମײͰ͖Δలࣔձ
    7

    View full-size slide

  7. ήʔτ΢ΣΠ
    ૢ࡞ը໘ Realtime DB IoTόε߱ंϘλϯ
    γεςϜߏ੒
    ໋ྩ৘ใૹ৴ ໋ྩ৘ใͷಡΈऔΓ ໋ྩίϚϯυͷૹ৴
    8
    ໋ྩ৘ใͷಡΈऔΓ ໋ྩ৘ใૹ৴

    View full-size slide

  8. ՝୊
    • ϘλϯΛԡ͔ͯ͠Β߱ंϘλϯ͕࡞ಈ͢Δ·Ͱ
    λΠϜϥά͕͋Δ
    • όεͷத͚ͩͰ͔͠࢖͑ͳ͍Α͏ʹ͢Δඞཁ͕
    ͋Δ
    9

    View full-size slide

  9. ಘΒΕͨ͜ͱ
    • Realtime Database͸σόΠεؒͷ໋ྩͷड͚౉
    ͠ʹ΋༗ޮ
    • IoTσόΠεʹ͸ɺطଘͷγεςϜΛվमͤͣɺ
    ޙ͔Βػೳ௥ՃͰ͖Δ͜ͱʹίετϝϦοτ͕
    ͋Δ
    10

    View full-size slide

  10. Thank you!!
    11

    View full-size slide