create_your_own_rc_airplane_controller.pdf

24536a01e33f1c5b026eae030920bbdd?s=47 side_tana
August 18, 2018
16

 create_your_own_rc_airplane_controller.pdf

24536a01e33f1c5b026eae030920bbdd?s=128

side_tana

August 18, 2018
Tweet

Transcript

  1. Create your own
 RC Airplane controller Kyoto.* #4 #-&ϥδίϯͷ ίϯτϩʔϥΛ

    ࣗ࡞ͨ͠࿩
  2. Create your own
 RC Airplane controller ࣗݾ঺հ "2

  3. TJEF@UBOB

  4. Create your own
 RC Airplane controller Kyoto.* #4 • ࿑ಇͷ৔:

    גࣜձࣾϛΫγΟ • ݈߁ྖҬͷ৽نࣄۀΛ΍͍ͬͯ·͢ • Go + Google App Engine • ͦͷଞ GCP ͷ଍ճΓͱ͔͍Ζ͍Ζ • ϋʔυͬΆ͍΍ͭ͸΍ͬͨ͜ͱͳ͍Ͱ͢ • झຯ: Πϯλʔωοτ 4
  5. Create your own
 RC Airplane controller Kyoto.* #4 #-&ϥδίϯͷ ίϯτϩʔϥΛ

    ࣗ࡞ͨ͠࿩
  6. Create your own
 RC Airplane controller Kyoto.* #4 ⚠ࠓ೔࿩͢಺༰⚠ "6

  7. Create your own
 RC Airplane controller Kyoto.* #4 ࠓ೔࿩͢಺༰ w

    ίϯτϩʔϥʢιϑτ΢ΣΞʣͰɺίϯτϩʔϥ ʢϋʔυ΢ΣΞʣͰ͸ͳ͍Ͱ͢ "7
  8. Create your own
 RC Airplane controller Kyoto.* #4 ͓΋ͪΌΛങ͍·ͨ͠ "8

  9. Create your own
 RC Airplane controller Kyoto.* #4 .PTLJUP "9

  10. Create your own
 RC Airplane controller Kyoto.* #4 .PTLJUPͷ༡ͼํ 

    ඈߦػͷిݯΛೖΕΔ  ΞϓϦΛ্ཱͪ͛Δ  #-&Ͱ઀ଓ͞ΕΔ  &OKPZ "10
  11. Create your own
 RC Airplane controller Kyoto.* #4 .PTLJUPͷ༡ͼํ w

    ిݯΛೖΕΔ w ΞϓϦΛ্ཱͪ͛Δ w &OKPZ "11 ؆୯ʂ
  12. Create your own
 RC Airplane controller Kyoto.* #4 ͠͹Β͘༡Ϳ "12

  13. Create your own
 RC Airplane controller Kyoto.* #4 ෆຬૢ࡞ੑ͕ѱ͍ "13

  14. "14

  15. "15 ॳڃ ্ڃ

  16. "16 47.3 47.3

  17. Create your own
 RC Airplane controller Kyoto.* #4 ҧ͍͕Θ͔ΒΜ "17

  18. Create your own
 RC Airplane controller Kyoto.* #4 #-&ͷ௨৴Λ ݟΕ͹Θ͔Δ

    Μ͡Όͳ͍ "18
  19. Create your own
 RC Airplane controller Kyoto.* #4 Ͳ͏΍ͬͯ
 ݟΕ͹


    ͍͍ΜͩΖ "19
  20. Create your own
 RC Airplane controller Kyoto.* #4 "20

  21. Create your own
 RC Airplane controller Kyoto.* #4 #-&ύέοτεχϑΝ
 ͬͯ΍ͭͰͰ͖ΔΒ͍͠

    "21
  22. Create your own
 RC Airplane controller Kyoto.* #4 #-&ύέοτεχϑΝ w

    ຊ෺ͷ#-&ϓϩτίϧΞφϥΠβ͸਺ඦສ͢Δ w #-&νοϓɾϞδϡʔϧϕϯμͷεχοϑΝͳΒखࠒ ͳ஋ஈͰೖखͰ͖Δ w ͔ٕ͠͠దূ໌͕ͳ͍΋ͷ͕ଟ͍ w "EBGSVJUࣾͷʮ#MVFGSVJU-&4OJ⒎FSʯ͸ٕదऔಘ ࡁΈͳͷͰ͜ΕΛ࢖͍·͢ w ࢀߟ%4"4։ൃऀͷ෦԰ٕదϚʔΫ͖ͭ#-&ύέοτεχϑΝΛೖख͢Δ
 IUUQETBTCMPHLMBCPSHBSDIJWFTIUNM "22
  23. Create your own
 RC Airplane controller Kyoto.* #4 ͦ΋ͦ΋
 ύέοτ


    εχϑΝͬͯ
 ٕదඞཁͳ ͷ "23
  24. Create your own
 RC Airplane controller Kyoto.* #4 ͦ΋ͦ΋
 ύέοτ


    εχϑΝͬͯ
 ٕదඞཁͳ ͷ "24 Α͘Θ͔Μͳ͍͚Ͳ
 ͋ͬͨ΄͏͕Αͦ͞͏
  25. Create your own
 RC Airplane controller Kyoto.* #4 #-&ͷύέοτΛ ݟͯΈΑ͏ʂ

    "25
  26. Create your own
 RC Airplane controller Kyoto.* #4 "26 #MVFGSVJU-&4OJ⒎FS


    O3' 8JOEPXT
  27. Create your own
 RC Airplane controller Kyoto.* #4 "27

  28. Create your own
 RC Airplane controller Kyoto.* #4 "28

  29. Create your own
 RC Airplane controller Kyoto.* #4 "29

  30. Create your own
 RC Airplane controller Kyoto.* #4 "ͳΜ͔औΕͨ" "30

  31. Create your own
 RC Airplane controller Kyoto.* #4 "ͳΜ͔औΕͨ" "31

    ADV_IND?
  32. Create your own
 RC Airplane controller Kyoto.* #4 #-&ͷΞυόλΠζ "32

    Connection Scan Direct ADV_IND OK OK ແ޲ ADV_DIRECT_IND OK NG ༗޲ ADV_NONCONN_IND NG NG ແ޲ ADV_SCAN_IND NG OK ແ޲
  33. Create your own
 RC Airplane controller Kyoto.* #4 #-&ͷΞυόλΠζ "33

    Connection Scan Direct ADV_IND OK OK ແ޲ ADV_DIRECT_IND OK NG ༗޲ ADV_NONCONN_IND NG NG ແ޲ ADV_SCAN_IND NG OK ແ޲
  34. Create your own
 RC Airplane controller Kyoto.* #4 ଓ͖Λݟ·͢ "34

  35. Create your own
 RC Airplane controller Kyoto.* #4 "35

  36. Create your own
 RC Airplane controller Kyoto.* #4 "36

  37. Create your own
 RC Airplane controller Kyoto.* #4 ͓ษڧ͕ඞཁ "37

  38. Create your own
 RC Airplane controller Kyoto.* #4 ("55
 (FOFSJD"55SJCVUF1SPpMF

    "38
  39. Create your own
 RC Airplane controller Kyoto.* #4 ("55 w

    σʔλΛߏ଄Խ͢Δํ๏ͱΞϓϦέʔγϣϯؒͰͷ ΍ΓऔΓͷํ๏ͷఆٛ w "55 "UUSJCVUF1SPUPDPM Ͱ࣮ݱ͞Ε͍ͯΔ w αʔόͱΫϥΠΞϯτ͕"UUSJCVUFʢଐੑʣΛ ͓࣋ͬͯΓɺ૒ํ͕ଐੑΛ΍ΓऔΓ͢ΔϞσϧ w ଐੑ͸)BOEMFɺ5ZQFɺ7BMVFɺ1FSNJTTJPO ͷͭͷ஋Ͱߏ੒͞ΕΔ "39
  40. Create your own
 RC Airplane controller Kyoto.* #4 ("55 w

    σʔλΛߏ଄Խ͢Δํ๏ w ΞϓϦέʔγϣϯؒͰͷ΍ΓऔΓͷํ๏ w "55 "UUSJCVUF1SPUPDPM Ͱ࣮ݱ͞Ε͍ͯΔ w αʔόͱΫϥΠΞϯτ͕"UUSJCVUFʢଐੑʣΛ ͓࣋ͬͯΓɺ૒ํ͕ଐੑΛ΍ΓऔΓ͢ΔϞσϧ "40 https://www.bluetooth.com/ja-jp/specifications/gatt/generic- attributes-overview ("55ϓϩϑΝΠϧͷ֊૚
  41. Create your own
 RC Airplane controller Kyoto.* #4 #-&ͷؾ࣋ͪʹͳͬͯ
 όοςϦʔͷ஋Λ


    ಡΈऔΖ͏ʂ "41
  42. Create your own
 RC Airplane controller Kyoto.* #4 લఏ w

    ("55Ͱ͸66*%GΛ#BUUFSZ4FSWJDFͱ ͯ͠ఆ͍ٛͯ͠Δ "42
  43. Create your own
 RC Airplane controller Kyoto.* #4 "43

  44. Create your own
 RC Airplane controller Kyoto.* #4 "44

  45. Create your own
 RC Airplane controller Kyoto.* #4 ("55 w

    σʔλΛߏ଄Խ͢Δํ๏ w ΞϓϦέʔγϣϯؒͰͷ΍ΓऔΓͷํ๏ w "55 "UUSJCVUF1SPUPDPM Ͱ࣮ݱ͞Ε͍ͯΔ w αʔόͱΫϥΠΞϯτ͕"UUSJCVUFʢଐੑʣΛ ͓࣋ͬͯΓɺ૒ํ͕ଐੑΛ΍ΓऔΓ͢ΔϞσϧ "45 https://www.bluetooth.com/ja-jp/specifications/gatt/generic- attributes-overview 0x0028 (GATT: 180f - Battery Service)
  46. Create your own
 RC Airplane controller Kyoto.* #4 "46

  47. Create your own
 RC Airplane controller Kyoto.* #4 "47

  48. Create your own
 RC Airplane controller Kyoto.* #4 "48 122a00192a

    1FSN
 JTTJPO )BOEMF 66*%
  49. Create your own
 RC Airplane controller Kyoto.* #4 ("55 w

    σʔλΛߏ଄Խ͢Δํ๏ w ΞϓϦέʔγϣϯؒͰͷ΍ΓऔΓͷํ๏ w "55 "UUSJCVUF1SPUPDPM Ͱ࣮ݱ͞Ε͍ͯΔ w αʔόͱΫϥΠΞϯτ͕"UUSJCVUFʢଐੑʣΛ ͓࣋ͬͯΓɺ૒ํ͕ଐੑΛ΍ΓऔΓ͢ΔϞσϧ "49 https://www.bluetooth.com/ja-jp/specifications/gatt/generic- attributes-overview 0x0028 (GATT: 180f - Battery Service) 0x0029 0x12 2a19 - Battery Level 0x002a
  50. Create your own
 RC Airplane controller Kyoto.* #4 "50

  51. Create your own
 RC Airplane controller Kyoto.* #4 "51

  52. Create your own
 RC Airplane controller Kyoto.* #4 ͜Ε΋͏
 ࣗ෼Ͱ#-&


    ஻Ε͹
 ίϯτϩʔϥ ࡞ΕΔ͡Ό Μʂ "52
  53. Create your own
 RC Airplane controller Kyoto.* #4 #-&ϥδίϯͷ ίϯτϩʔϥΛ

    ࣗ࡞ͨ͠࿩
  54. Create your own
 RC Airplane controller Kyoto.* #4 "54

  55. Create your own
 RC Airplane controller Kyoto.* #4 "55 Ͳͷ)BOEMFʹ஋Λॻ͚͹

    ੍ޚͰ͖Δͷ͔Θ͔ΒΜ#
  56. Create your own
 RC Airplane controller Kyoto.* #4 "56 Ͳͷ)BOEMFʹ஋Λॻ͚͹

    ੍ޚͰ͖Δͷ͔Θ͔ΒΜ# όοςϦʔͷ࣌ͱ͸ٯ ޲͖ʹؾ߹Ͱ΍Γ·͢
  57. Create your own
 RC Airplane controller Kyoto.* #4 "57 ਫฏඌཌྷͷૢ࡞

    ࠶์ૹ
  58. Create your own
 RC Airplane controller Kyoto.* #4 "58 ਫฏඌཌྷͷૢ࡞

    ࠶์ૹ
  59. Create your own
 RC Airplane controller Kyoto.* #4 ("55 w

    σʔλΛߏ଄Խ͢Δํ๏ w ΞϓϦέʔγϣϯؒͰͷ΍ΓऔΓͷํ๏ w "55 "UUSJCVUF1SPUPDPM Ͱ࣮ݱ͞Ε͍ͯΔ w αʔόͱΫϥΠΞϯτ͕"UUSJCVUFʢଐੑʣΛ ͓࣋ͬͯΓɺ૒ํ͕ଐੑΛ΍ΓऔΓ͢ΔϞσϧ "59 https://www.bluetooth.com/ja-jp/specifications/gatt/generic- attributes-overview 0x???? (GATT: 75B64E51...) 75B64E51-0010-4ED1-... 0x0010 0x????
  60. Create your own
 RC Airplane controller Kyoto.* #4 ("55 w

    σʔλΛߏ଄Խ͢Δํ๏ w ΞϓϦέʔγϣϯؒͰͷ΍ΓऔΓͷํ๏ w "55 "UUSJCVUF1SPUPDPM Ͱ࣮ݱ͞Ε͍ͯΔ w αʔόͱΫϥΠΞϯτ͕"UUSJCVUFʢଐੑʣΛ ͓࣋ͬͯΓɺ૒ํ͕ଐੑΛ΍ΓऔΓ͢ΔϞσϧ "60 https://www.bluetooth.com/ja-jp/specifications/gatt/generic- attributes-overview 0x???? (GATT: 75B64E51...) 75B64E51-0010-4ED1-... 0x0010 0x???? GATTతʹ͸͜ΕΛཔΓʹ
 ΍͍͚ͬͯ͹OK
  61. Create your own
 RC Airplane controller Kyoto.* #4 .BD͔ΒਫฏඌཌྷΛ
 ૢ࡞ͯ͠ݟΑ͏ʂ

    "61
  62. Create your own
 RC Airplane controller Kyoto.* #4 "62 .BD#PPL

    #MVFGSVJU-&4OJ⒎FS
 O3' 8JOEPXT
  63. Create your own
 RC Airplane controller Kyoto.* #4 "63

  64. Create your own
 RC Airplane controller Kyoto.* #4 "64

  65. Create your own
 RC Airplane controller Kyoto.* #4 ϒϥ΢β͔Β
 ૢ࡞͠Α͏ʂ

    "65
  66. Create your own
 RC Airplane controller Kyoto.* #4 "66 +BWB4DSJQU

    OPEFKT
  FYQSFTT ίϯτϩʔϥ
 ࣮૷ XFCTDPLFU αʔό࣮૷ #-&
  67. Create your own
 RC Airplane controller Kyoto.* #4 6*͸͜Μͳײ͡ "67

    εϩοτϧ ɹ੺৭: ݱࡏͷεϩοτϧ
 ɹփ৭: 100% ࠨʹ৳ͼͯΔ΍ͭ: ਫฏඌཌྷ ɹதԝ͔ΒϚ΢εΧʔιϧ͕ ɹࠨӈʹ཭ΕΔͱಈ࡞͢Δ தԝ: mousedownͨ࣌͠ͷ ɹɹɹϙδγϣϯ
  68. Create your own
 RC Airplane controller Kyoto.* #4 σϞ "68

  69. Create your own
 RC Airplane controller Kyoto.* #4 ݁ہ
 ্ڃͱॳڃͷ

    ҧ͍ͬͯ ͳΜͩͬͨ ͷ "69
  70. Create your own
 RC Airplane controller Kyoto.* #4 ্ڃͱॳڃͷҧ͍ w

    ࣮͸७ਖ਼ΞϓϦͩͱํ޲଩Λૢ࡞ͨ͠λΠϛϯά ͰɺҰॠϞʔλͷग़ྗΛԼ͛ͯટճ͠΍͍ͯ͘͢͠ Δ w ͦͷԼ͛෯্͕ڃͩͱେ͖͘ɺॳڃͩͱখ͍͞ "70
  71. Create your own
 RC Airplane controller Kyoto.* #4 ·ͱΊ "71

  72. Create your own
 RC Airplane controller Kyoto.* #4 ·ͱΊ w

    ύέοτݟΕΔͱ͍Ζ͍ΖͰָ͖͍ͯ͠Ͷ "72
  73. Create your own
 RC Airplane controller Kyoto.* #4 ϋϚͬͨͱ͜Ζ "73

  74. Create your own
 RC Airplane controller Kyoto.* #4 #-&4OJ⒎FS w

    .BDͩͱಈ͔ͳ͍ w υΩϡϝϯτʹ͸SEQBSUZͷΞϓϦέʔγϣϯ Λ࢖͏͜ͱͰ࢖͑Δͱ͋Δ͕͏·͍͔͘ͳ͔ͬͨ w ͳΜ͔खॱݟམͱͯ͠Δͷ͔΋ "74
  75. Create your own
 RC Airplane controller Kyoto.* #4 #-&4OJ⒎FS w

    ձࣾͰࢼ͢ͱ਺ඵͰΞϓϦέʔγϣϯ͕Ϋϥογϡ ͢Δ w Ͳ͏΍Β#-&σόΠε͕େྔʹి೾ඈ͹ͯ͠Δ؀ ڥͩͱ࢖͍෺ʹͳΒͳ͍ͬΆ͍Ͱ͢ w ՈͰ͸ී௨ʹࢼͤͨ "75