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

Johnny-fiveとMilkcocoaで始めるIoTオジサン入門 / Johnny-five and Milkcocoa

shanonim
March 14, 2016

Johnny-fiveとMilkcocoaで始めるIoTオジサン入門 / Johnny-five and Milkcocoa

2016.03.11
集まれMilkcocoaオジサン。 Milkcocoa Meetup vol 8
http://mlkcca.connpass.com/event/27083/

shanonim

March 14, 2016
Tweet

More Decks by shanonim

Other Decks in Technology

Transcript

  1. Johnny-fiveͱMilkcocoaͰ࢝ΊΔ
    IoTΦδαϯೖ໳
    Monstar Lab, inc.
    ࣰݪ ߂ޫʢ@shanonimʣ

    View Slide

  2. Who?
    • ࣰݪ߂ޫʢ @shanonim ʣ
    • גࣜձࣾϞϯελʔɾϥϘ
    • AndroidΤϯδχΞ

    View Slide

  3. */5&3/&5PG5IJOHT

    View Slide

  4. “ϞϊͷΠϯλʔωοτʢInternet of ThingsɺIoTʣ͸ɺ
    ҰҙʹࣝผՄೳͳʮ΋ͷʯ͕Πϯλʔωοτ/Ϋϥ΢υʹ઀ଓ͞Εɺ
    ৘ใަ׵͢Δ͜ͱʹΑΓ૬ޓʹ੍ޚ͢Δ࢓૊ΈͰ͋Δɻ”
    ग़యɿWikipediaʢhttps://ja.wikipedia.org/wiki/ϞϊͷΠϯλʔωοτʣ

    View Slide

  5. ۭؒ
    ෺ମ
    ʮ΋ͷʯ

    View Slide

  6. ҰൠతʹΑ͘࢖ΘΕΔ*P5σόΠε

    View Slide

  7. ઃఆ͕೉͍͠ɾ໘౗ɾɾɾ .̫A

    $ݴޠνϣοτϫΧϥφΠɾɾɾ .̫A

    View Slide

  8. Topics
    • IoTࣄ࢝Ίฤ ~Johnny-five͸͍͍ͧ~
    • BaaSฤ ~Milkcocoa͸͍͍ͧ~
    • σϞ

    View Slide

  9. What’s Johnny-five?

    View Slide

  10. View Slide

  11. View Slide

  12. on

    View Slide

  13. example: LνΧ
    var jf = require("johnny-five");
    var board = new jf.Board();
    board.on("ready", function() {
    (new jf.Led(13)).strobe();
    });

    View Slide

  14. What’s Milkcocoa?

    View Slide

  15. ग़యɿษڧձΛखܰʹߦͳ͑Δ৽ੜʮ21cafeʯ͕͓൸࿐໨ΠϕϯτΛ։࠵
    http://ascii.jp/elem/000/001/132/1132726/

    View Slide

  16. ʰϦΞϧλΠϜॲཧʹڧ͍
    WebͷόοΫΤϯυϓϥοτϑΥʔϜʱ

    View Slide

  17. ɾϦΞϧλΠϜͰηϯαʔσʔλΛอଘɾߋ৽ɾऔಘ
    ɾ+BWBTDSJQUҰߦॻ͚ͩ͘ͰಋೖͰ͖Δ

    View Slide

  18. Demo

    View Slide

  19. x
    ΦϑΟε Πϯλʔωοτ

    View Slide

  20. smart-office Project
    • ࠲੮ʹձ͍ʹߦͬͯ΋͍ͳ͍ɾɾɾ(´ . . ̫ . `)
    • ࠲ͬͯΔ͚ͩͰ੮ʹ͍Δ͔͍ͳ͍͔Θ͔Δ
    • εςʔλεΛWebͰ֬ೝͰ͖Δ

    View Slide

  21. View Slide

  22. ʢ௥هʣDemoͷ༷ࢠ
    Vine by uhuru઒໺͞Μ: https://vine.co/v/iHDpLaMhBEx
    ɾԼهը૾ͷ੺࿮಺ɺϒϥ΢β্ʹ੺จࣈͰ”false”ͱදࣔ͞Ε͍ͯΔ
    ɾarduinoʹܨ͕͍ͬͯΔਓײηϯαʹखΛ͔͟͢ͱɾɾɾ

    View Slide

  23. ʢ௥هʣDemoͷ༷ࢠ
    ɾϒϥ΢β্ͷจࣈ͕”true”ʹมԽ͢Δ
    ɾϦΞϧλΠϜʹਓͷݕ஌ͯ͠Web্Ͱঢ়ଶΛ֬ೝ͢Δ͜ͱ͕Ͱ͖ͨ
    ɾηϯα͔Βਓ͕཭ΕΔͱɺϒϥ΢β্ͷจࣈ͕࠶ͼ”false”ʹͳΔ

    View Slide

  24. ·ͱΊ
    • Johnny-five͸IoTࣄ࢝Ίʹ͓͢͢Ί
    • MilkcocoaΛ࢖͑͹ϦΞϧλΠϜͷσʔλ׆༻͸
    ΋ͪΖΜɺWebͱͷ࿈ܞ΋؆୯

    View Slide

  25. View Slide

  26. Happy IoTing!!

    View Slide