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

iOSエンジニアのための電子工作初心者もくもく会

 iOSエンジニアのための電子工作初心者もくもく会

iOSエンジニアのための電子工作初心者もくもく会の始めに発表したボードの説明などの資料です。

Shingo Tamaki

July 09, 2016
Tweet

More Decks by Shingo Tamaki

Other Decks in Technology

Transcript

  1. iOSΤϯδχΞͷͨΊͷ
    ిࢠ޻࡞ॳ৺ऀ΋͘΋͘ձ

    View Slide

  2. ࣗݾ঺հ
    ۄ৓ ৴ޛ
    iOSΤϯδχΞ
    ޷͖ͳϑϨʔϜϫʔΫ HomeKit
    झຯͰిࢠ޻࡞

    View Slide

  3. ͜ͷձͷओࢫ
    → ूதͨ͠࡞ۀ࣌ؒΛ࡞Γ͍ͨ
    → Θ͔Βͳ͍ࣄΛฉ͖͍ͨ
    → ஥ؒΛ࡞Γ͍ͨˍ૿΍͍ͨ͠
    → iOSͱͷ࿈ܞʹ͍ͭͯௐ΂͍ͨˍฉ͖͍ͨˍࢼͨ͠
    ͍ˍ஻Γ͍ͨ

    View Slide

  4. iPhoneͱͷIoTػث࿈ܞ
    → Wifi
    → BLE/Bluetooth
    → ΠϠϗϯδϟοΫ

    View Slide

  5. Wifi઀ଓʹΑΔ࿈ܞ
    → MFiೝূࡁΈͷΞΫηαϦ
    → APIίʔϧʹΑΔ࿈ܞσόΠε

    View Slide

  6. BLE/Bluetooth௨৴ʹΑΔ࿈ܞ
    → MFiೝূࡁΈͷΞΫηαϦ
    → BLE

    View Slide

  7. ΠϠϗϯδϟοΫʹΑΔ࿈ܞ
    OTODuino
    http://ja.otoduino.reinforce-lab.com
    OTOsenseγʔϧυΩοτ
    https://www.switch-science.com/catalog/557/

    View Slide

  8. iOSͷؔ࿈͢ΔϑϨʔϜϫʔΫ
    → Foundation(NSURLSession, etc)
    → CoreBluetooth
    → NSLocation(iBeacon)
    → AVFoundation
    → HomeKit
    → HealthKit

    View Slide

  9. ΍Γ࢝Ίͷ՝୊
    → ిࢠ޻࡞ͷجૅ஌ࣝ
    → ޻࡞࡞ۀٕज़
    → ςετ/σόοάํ๏ͱͦͷπʔϧ
    → ύʔπબผ
    → ύʔπௐୡ

    View Slide

  10. ֶशํ๏
    → ॻ੶
    → ిࢠ޻࡞ڭࣨ

    View Slide

  11. Ϙʔυͷछྨ
    → OS͋Γ
    → OSͳ͠
    http://make.bcde.jp/raspberry-pi/raspberry-piͱarduinoͷҧ͍/

    View Slide

  12. OS͋Γ
    ී௨ͷύιίϯɺLinuxͳͲ͕࢖͑Δਓ͸৮Γ΍͍͢
    → RaspberryPiγϦʔζ
    → Edison

    View Slide

  13. OSͳ͠
    ͭ·Γ͸ϚΠίϯ
    → IchigoJam
    → Arduinoͱͦͷޓ׵ػ
    → mbed
    https://www.ted.com/playlists/13/
    opensourceopen_world

    View Slide

  14. ύʔπબͼ
    → ిݯ
    → ఍߅
    → ηϯα
    → etc

    View Slide

  15. ௐୡ(࣮ళฮ)
    → ळ݄ిࢠ௨঎
    → ઍੴి঎
    → aitendo
    → etc
    ౎಺ͩͱ΄΅ळ༿ݪҰ୒ͩͱࢥ͍·͢

    View Slide

  16. ௐୡ(௨ൢ)
    → ळ݄ిࢠ௨঎ɹ
    → http://akizukidenshi.com/catalog/default.aspx
    → ઍੴి঎
    → https://www.sengoku.co.jp
    → εΠοναΠΤϯε
    → https://www.switch-science.com

    View Slide

  17. DIYͰग़དྷΔࣄ
    → ਎ͷճΓͷ໰୊ղܾʹར༻
    ࢀߟ
    → ͓͏ͪϋοΫಉ޷ձ
    → ૆෕ͷ਎ΛकΔͨΊͷ๻ͷγϯϓϧͳൃ໌
    → https://www.ted.com/talks/
    kennethshinozukamysimpleinventiondesignedt

    View Slide

  18. ૆෕ͷ਎ΛकΔͨΊͷ๻ͷγϯϓϧͳൃ໌

    View Slide

  19. ΦεεϝͷσόΠε΍
    ن֨ɺπʔϧͳͲ
    → Grove
    → konashi
    → littleBits
    → ESPrܥ
    → Wio Node

    View Slide

  20. Grove

    View Slide

  21. Grove
    → ൒ా෇͚ͳ͠ʹ؆୯ʹηϯα/ϘλϯͳͲͷύʔπ
    Λ઀ଓͰ͖Δن֨
    → Ձ֨ ಉౘͷηϯαͳͲͱൺ΂ׂͯߴ
    → GroveͷελʔλʔηοτͳͲ͕ൢച͍ͯ͠Δ
    http://www.seeedstudio.com/wiki/Grove_System
    http://d.hatena.ne.jp/shu223/20140415/1398297071

    View Slide

  22. ༷ʑͳϘʔυͰ
    Groveγʔϧυ͕͋Δ

    View Slide

  23. konashi

    View Slide

  24. konashi
    → Objective-CɺjavascriptͰ։ൃՄೳ
    → BLE࿈ܞ
    → Ձ֨ 4,000ԁͪΐ͍
    http://konashi.ux-xu.com
    http://gihyo.jp/dev/serial/01/futuredevice/0001

    View Slide

  25. littleBits

    View Slide

  26. littleBits
    → ڭҭ޲͚
    → ࣓ੴͰϞδϡʔϧΛܨ͍͚͛ͯͩ͘
    → ArduinoϞδϡʔϧ΋͋Δ
    → ௚ײతʹύʔπͷ໾ׂΛཧղͰ͖Δ
    http://littlebits.cc
    https://www.ted.com/talks/
    ayahbdeirbuildingblocksthatblinkbeepandteach?

    View Slide

  27. ޫͬͯɺ໐ͬͯɺָ͘͠༡΂ΔϒϩοΫ

    View Slide

  28. ESP-
    WROOM-02

    View Slide

  29. ESPr(ESP-WROOM-02ɺESP8266)
    → ҆ՁͳWifiϞδϡʔϧɺνοϓ͚ͩͳΒ1,000ԁҎ
    Լ
    → Arduinoޓ׵
    → ٕదऔಘࡁΈ

    View Slide

  30. Wio Node

    View Slide

  31. Wio Node
    → εϚϗ༻ઐ༻ΞϓϦ(iOS/Android)ͰϑΝʔϜΞο
    ϓσʔτ(OTA)
    → Grove୺ࢠ෇͖
    → RESTful API

    View Slide

  32. ͓·͚
    → Node-RED
    → ϋϧϩοΫ

    View Slide

  33. Node-RED

    View Slide

  34. Node-RED
    → Node-RED͸ϋʔυ΢ΣΞσόΠε/API͓ΑͼΦϯ
    ϥΠϯαʔϏεΛ઀ଓ͢ΔͨΊͷπʔϧͰ͢ɻ
    → IoT޲͚ʹ։ൃ
    → Node.js੡
    → GUIͰAPI࡞੒

    View Slide

  35. Node-RED

    View Slide

  36. ϋϧϩοΫ

    View Slide

  37. ϋϧϩοΫ
    ిࢠ޻࡞ອըͰ͢ɻిࢠ޻࡞ͷָ͠Έํ͕͘͢͝఻
    ΘΔ಺༰ͰΦεεϝͰ͢ɻ

    View Slide

  38. View Slide

  39. View Slide

  40. View Slide

  41. View Slide

  42. View Slide

  43. View Slide

  44. View Slide

  45. View Slide

  46. View Slide

  47. View Slide

  48. View Slide

  49. View Slide

  50. Ҏ্
    ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ
    ଞʹΦεεϝͷ৘ใ͋Ε͹
    ੋඇڭ͍͑ͯͩ͘͞ʂ

    View Slide