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

LINE x obnizハンズオン

kido
August 29, 2018

LINE x obnizハンズオン

kido

August 29, 2018
Tweet

More Decks by kido

Other Decks in Technology

Transcript

  1. صͷ্ʹ͋Γ·͔͢ʁ • obniz • LED • Ϟʔλʔ • ڑ཭ηϯα •

    ൘ • Clova • ྆໘ςʔϓ • ϞόΠϧόοςϦʔ • PC • USBέʔϒϧ
 (Micro B୺ࢠ) Ϩϯλϧ/1ਓ1ݸ ࣋ͪ෺ Ϩϯλϧ/਺ਓͰγΣΞ ˞Ϩϯλϧ඼͸ճऩ͠·͢ͷͰɼஸೡʹѻ͍ͬͯͩ͘͞
  2. node.js͔Β࢖ͬͯΈ·͠ΐ͏ 1. node.jsΛμ΢ϯϩʔυɾΠϯετʔϧ 2. ຊ൪؀ڥͷߏங 3. ϩʔΧϧͰ࡞੒ɾςετ 4. σϓϩΠ 5.

    ຊ൪؀ڥͰ࣮ߦ ͜ΕΒෆཁͰ͢ 3VOLJUͰ ͚ͩ͜͜΍Γ·͢ node.jsͩͱͯ͠΋؀ڥߏஙෆཁͰ͓खܰʹ΍Γ·͠ΐ͏
  3. RunkitͰಈ͔͢ͱ͖ͷϑϩʔ ෦඼ obniz on Ϣʔβʔ HTTPϦΫΤετૹ৴ obnizͱ઀ଓ ઀ଓ׬ྃ “motor move“Λ


    “io0 5V"ʹม׵ ίϚϯυड৴ io0Λ5Vʹ͢Δ ಈ͘ Ϩεϙϯεฦ͢ “io0 5V”Λૹ৴ Ϩεϙϯεडྖ
  4. Clova + Runkit+obnizͷϑϩʔ obniz on Clova ʮલʹਐΊʯ obnizͱ઀ଓ ઀ଓ׬ྃ “motor

    move“Λ
 “io0 5V"ʹม׵ ίϚϯυड৴ io0Λ5Vʹ͢Δ ಈ͘ Ϩεϙϯεฦ͢ “io0 5V”Λૹ৴ ʮલʹਐΈ·͢ʯ σόΠε Ի੠Λղੳͯ͠
 httpϦΫΤετૹ৴ σόΠεʹૹ৴ HTTPϦΫΤετΛղੳ ෦඼
  5. clova + Runkit+obnizͷϑϩʔ obniz on Clova ʮલʹਐΊʯ obnizͱ઀ଓ ઀ଓ׬ྃ “motor

    move“Λ
 “io0 5V"ʹม׵ ίϚϯυड৴ io0Λ5Vʹ͢Δ ಈ͘ Ϩεϙϯεฦ͢ “io0 5V”Λૹ৴ ʮલʹਐΈ·͢ʯ σόΠε Ի੠Λղੳͯ͠
 httpϦΫΤετૹ৴ σόΠεʹૹ৴ HTTPϦΫΤετΛղੳ ͜Ε͔Β࡞Δ෦෼ ઌఔମݧͨ͠෦෼ ෦඼
  6. LINE Clovaͷઃఆ(ΞϓϦͷొ࿥) νϟωϧͷجຊઃఆΛ͠·͢ ࡞੒ϘλϯΛԡͯ͠อଘ͍ͯͩ͘͠͞ λΠϓ ΧελϜ &YUFOTJPO*% υϝΠϯͷٯॱ
 FYJPPCOJ[TLJM εΩϧ໊

    Ϋϩʔόɾϥδίϯ ݺͼग़໊͠ ϝΠϯ Ϋϩʔόϥδίϯ ݺͼग़໊͠ αϒ ϥδίϯ "VEJP1MBZFSͷ࢖༻ ͍͍͑ ఏڙऀ۠෼ ݸਓ ఏڙऀ໊ ࣗ෼ͷ໊લ ୲౰ऀϝʔϧΞυϨε ࣗ෼ͷΞυϨε &YUFOTJPOͱ࿈ܞ͢Δ -*/&ͷΞΧ΢ϯτ બ୒͠ͳ͍