Kindleページめくり君 Ver.2

Kindleページめくり君 Ver.2

M5Stackでページめくり専用デバイスを作って、iPhone(iPad)上のKindleを制御する話

1f744b4a2aac98ea3fe81fe1f0217573?s=128

Yukimitsu Izawa

August 15, 2020
Tweet

Transcript

  1. KINDLEϖʔδΊ͘Γ͘Μ VER.2 ͋Ε͔Βࡾ೥ɺάϨʔυΞοϓͯ͠ؼ͖ͬͯͨΑ ҪᖒΏ͖Έͭ 2020೥8݄15೔ Kanazawa.rb meetup #96

  2. ࣗݾ঺հ ➤ YouTuber ➤ My Outdoor Life (https://kanazawa.camp/) ➤ ത࢜(৘ใՊֶ)

    ➤ ΠϯλʔωοτΛ࢖ͬͨૄ݁߹෼ࢄγεςϜͷݚڀΛ͍ͯ͠·͢ ➤ גࣜձࣾΫϧ΢Οοτ औక໾ ݉ ๺཮ࢧࣾ௕ COO ➤ Code for Kanazawa ཧࣄ ➤ ిࢠ޻࡞ͱφΠϑΛࣗ࡞͢Δͷ͕झຯͰ͢
  3. 3೥લʹ͜Μͳ΋ͷΛͭ͘Γ·ͨ͠…… ➤ Bluetooth Ͱ iPhoneʹ઀ଓ ➤ ϘλϯΫϦοΫͰϖʔδͷ੍ޚ (arduino UNO R3

    + RN-42 bluetoothϘʔυ)
  4. ΞʔΩςΫνϟ RN-42 arduino Ϙλϯ iPhone GPIO γϦΞϧ઀ଓ Bluetooth 2.0 HID

    kbd class ΞΫηγϏϦςΟػೳ εΠονίϯτϩʔϧ "0"͕དྷͨΒʮࠨ͔Βӈ΁εϫΠϓʯ "1"͕དྷͨΒʮӈ͔Βࠨ΁εϫΠϓʯ
  5. ΞʔΩςΫνϟ RN-42 arduino Ϙλϯ iPhone GPIO γϦΞϧ઀ଓ Bluetooth 2.0 HID

    kbd class ΞΫηγϏϦςΟػೳ εΠονίϯτϩʔϧ "0"͕དྷͨΒʮࠨ͔Βӈ΁εϫΠϓʯ "1"͕དྷͨΒʮӈ͔Βࠨ΁εϫΠϓʯ ɾৗ࣌څి͕ඞཁ ɾ࣮૷͕σΧΠ
  6. ࠷ۙM5STACK͕ݸਓతʹϒʔϜ ➤ ͱ͍͏͜ͱͰɺM5StackΛ࢖ͬͯ࡞Γ௚ͯ͠Έͨ ➤ M5Stack ➤ ESP32ΛϝΠϯνοϓͱͯ͠ར༻ ➤ ӷথσΟεϓϨΠ/Ϙλϯ/SDΧʔυεϩοτ/όοςϦʔ/εϐʔΧʔ/֤छΠϯ λʔϑΣʔε(GPIO/USB/Groove)

    ➤ WiFi(802.11 b/g/n/e/i), Bluetooth(v4.2 BR/EDR, BLE)
  7. ΞʔΩςΫνϟվ iPhone Bluetooth LE kbd class ΞΫηγϏϦςΟػೳ εΠονίϯτϩʔϧ "0"͕དྷͨΒʮࠨ͔Βӈ΁εϫΠϓʯ "1"͕དྷͨΒʮӈ͔Βࠨ΁εϫΠϓʯ

    M5Stack ɾৗ࣌څి͕ඞཁ → όοςϦʔۦಈ ɾ࣮૷͕σΧΠ → 5cm࢛ํ ߴ͞2cm
  8. DEMO

  9. DEMO(༧උ)