{"id":3357,"date":"2023-02-11T20:03:29","date_gmt":"2023-02-11T11:03:29","guid":{"rendered":"https:\/\/www.thun-techblog.com\/?p=3357"},"modified":"2024-01-25T02:48:01","modified_gmt":"2024-01-24T17:48:01","slug":"esp32-and-fullscrached-keyboard","status":"publish","type":"post","link":"https:\/\/www.thun-techblog.com\/index.php\/blog\/esp32-and-fullscrached-keyboard\/","title":{"rendered":"ESP32\u3068\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3067Bluetooth\/QMK\/VIA\u5bfe\u5fdc\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u308b"},"content":{"rendered":"\n<p>\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u3042\u308b\u7a0b\u5ea6\u5f62\u306b\u306a\u3063\u3066\u304d\u3066\u3001\u305d\u308d\u305d\u308d\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u904a\u3076\u306e\u3082\u7d42\u308f\u308a\u304b\u306a\u30fc\u306a\u3093\u3066\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u307e\u3060\u3084\u3063\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u304cBluetooth\u63a5\u7d9a\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u3059\u306d\u3002\u8abf\u3079\u3066\u307f\u308b\u3068\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u308b\u4eba\u306b\u306f\u4e00\u5b9a\u6570\u306f\u3084\u3063\u3066\u307f\u305f\u3044\u4eba\u304c\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u304a\u305d\u3089\u304f\u6709\u540d\u306a\u306e\u304csekigon\u6c0f\u306eBLE Micro Pro\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u30011\u304b\u3089\u30d5\u30a1\u30fc\u30e0\u30d5\u30a7\u30a2\u3092\u4f5c\u308c\u306a\u3044\u3053\u3068(\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u90fd\u5408\u3067nRF52\u30d6\u30e9\u30f3\u30c1\u304c\u53e4\u3044)\u3053\u3068\u304c\u500b\u4eba\u7684\u306b\u554f\u984c\u306e\u3088\u3046\u306b\u611f\u3058\u307e\u3059\u3002\u500b\u4eba\u7684\u306a\u3068\u3053\u308d\u3060\u3068\u3001\u4eca\u307e\u3067\u306e\u3082\u306e\u3068\u9055\u3044\u3059\u304e\u3066\u4f7f\u3044\u306b\u304f\u305d\u3046\u3001\u305d\u3082\u305d\u3082ProMicro\u306f\u4f7f\u3063\u3066\u3044\u306a\u3044\u3001\u305d\u3082\u305d\u3082\u30af\u30ed\u30fc\u30ba\u306a\u611f\u3058\u304c\u3057\u3066\u624b\u3092\u51fa\u3057\u305f\u304f\u306a\u3044\u3001\u3068\u3044\u3046\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u81ea\u5206\u3067\u306a\u3093\u3068\u304bBluetooth\u5bfe\u5fdc\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u308a\u305f\u3044\u306a\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u6c42\u3081\u308b\u8981\u4ef6\u306f\u3072\u3068\u307e\u305a\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>QMK\u3060\u3051\u3067\u306a\u304fVIA\u306b\u5bfe\u5fdc\u3059\u308b(\u66f8\u304d\u63db\u3048\u306fUSB\u3067OK)<\/li>\n\n\n\n<li>USB\/Bluetooth\u4e21\u65b9\u306b\u5bfe\u5fdc<\/li>\n\n\n\n<li>Bluetooth\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u5f8c\u4ed8\u3051\u3059\u308b\u5f62\u306b\u3057\u305f\u3044(\u6280\u9069\u306e\u95a2\u4fc2\u306a\u3069)<\/li>\n\n\n\n<li>\u6700\u65b0\u306eQMK\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n\n\n\n<li>\u30e9\u30a4\u30bb\u30f3\u30b9\u7684\u306b\u3082\u554f\u984c\u306a\u3044\u304b\u5f62\u306b\u306a\u308c\u3070\u5b09\u3057\u3044<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u306d\u3002USB\/Bluetooth\u306e\u30b9\u30a4\u30c3\u30c1\u30f3\u30b0\u306f\u4f55\u304b\u3057\u3089\u3067\u5b9f\u73fe\u3067\u304d\u308b\u3068\u601d\u3046\u306e\u3067\u3001USB\u306b\u63a5\u7d9a\u3057\u306a\u304c\u3089Bluetooth\u3092\u4f7f\u3046\u307f\u305f\u3044\u306a\u7d30\u304b\u3044\u30b7\u30c1\u30e5\u30a8\u30fc\u30b7\u30e7\u30f3\u306f\u7121\u8996\u3057\u3066\u3001\u3068\u308a\u3042\u3048\u305a\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u3001\u3069\u3046\u3044\u3046\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u60f3\u5b9a\u3059\u308b\u304b\u3068\u3044\u3046\u3068\u3001ProMicro\u3092\u4f7f\u308f\u306a\u3044\u5c02\u7528\u306e\u57fa\u677f\u3092\u4f7f\u3046\u60f3\u5b9a\u3067\u8003\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2022\/11\/DSC06540-1024x683.jpg\" alt=\"\" class=\"wp-image-3255\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2022\/11\/DSC06540-1024x683.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2022\/11\/DSC06540-300x200.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2022\/11\/DSC06540-768x512.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2022\/11\/DSC06540.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">ProMicro\u3067\u306f\u306a\u304fPCB\u57cb\u3081\u8fbc\u307f\u30bf\u30a4\u30d7\u3067\u8003\u3048\u308b<\/figcaption><\/figure>\n\n\n\n<p>\u3069\u306e\u307f\u3061\u73fe\u72b6\u306e\u30dc\u30fc\u30c9\u3092\u305d\u306e\u307e\u307e\u7528\u3044\u3066Bluetooth\u5316\u306f\u7121\u7406\u3060\u3068\u601d\u3044\u307e\u3059\u3057\u3001\u3084\u308a\u65b9\u3055\u3048\u8003\u3048\u3089\u308c\u308c\u3070ProMicro\u306b\u843d\u3068\u3057\u8fbc\u3080\u306e\u306f\u3055\u307b\u3069\u96e3\u3057\u304f\u306a\u3044\u3067\u3057\u3087\u3046\u3002\u3042\u3068\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306fProMicro\u306b\u642d\u8f09\u3055\u308c\u308bATmega32U4(AVR)\u3067\u306f\u306a\u304fSTM32F\u7cfb(\u691c\u8a3c\u3067\u306fSTM32F303CBT6)\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u307b\u307c\u540c\u69d8\u306e\u65b9\u6cd5\u3067AVR\u7cfb\u306e\u30de\u30a4\u30b3\u30f3\u3067\u3082\u5b9f\u73fe\u3067\u304d\u308b\u3068\u601d\u3046\u306e\u3067\u9069\u5207\u306b\u8aad\u307f\u66ff\u3048\u306a\u304c\u3089\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u305f\u3089\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u5b9f\u88c5\u3057\u3066\u3044\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<p class=\"has-text-align-center\">\u76ee\u6b21<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#a\">QMK\u3068Bluetooth<\/a><\/li>\n\n\n\n<li><a href=\"#b\">ESP32\u3092\u9078\u3093\u3060\u7406\u7531<\/a><\/li>\n\n\n\n<li><a href=\"#c\">\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u52d5\u4f5c\u3092\u77e5\u308b<\/a><\/li>\n\n\n\n<li><a href=\"#d\">\u7528\u610f\u3057\u305f\u3082\u306e<\/a><\/li>\n\n\n\n<li><a href=\"#e\">\u5b9f\u969b\u306b\u4f5c\u3063\u3066\u307f\u308b<\/a><\/li>\n\n\n\n<li><a href=\"#f\">\u8003\u3048\u3089\u308c\u308b\u554f\u984c<\/a><\/li>\n\n\n\n<li><a href=\"#g\">\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"a\">QMK\u3068Bluetooth<\/h2>\n\n\n\n<p>QMK\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306f\u57fa\u672c\u7684\u306b\u306fUSB\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u4f5c\u88fd\u3067\u304d\u308b\u30c4\u30fc\u30eb\u3067\u3059\u306d\u3002\u306a\u306e\u3067\u3001\u57fa\u672c\u7684\u306b\u306fBluetooth\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u3044\u30b9\u30bf\u30f3\u30b9\u3067\u306f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u3059\u304c\u3001\u516c\u5f0f\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3082\u306e\u304c\u4e8c\u3064\u3042\u308a\u307e\u3059\u3002\u8a73\u7d30\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>GitHub<br><a href=\"https:\/\/github.com\/qmk\/qmk_firmware\/blob\/master\/docs\/feature_bluetooth.md\">https:\/\/github.com\/qmk\/qmk_firmware\/blob\/master\/docs\/feature_bluetooth.md<\/a><\/p>\n\n\n\n<p>\u3053\u3053\u306b\u3042\u308b\u901a\u308a\u3001RN-42\u3068nRF51822\u3067\u3059\u306d\u3002\u52a0\u3048\u3066\u3001\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u306e\u306fAVR\u7cfb\u30de\u30a4\u30b3\u30f3\u306e\u307f\u3067\u3059\u3002\u79c1\u304c\u8a2d\u8a08\u3057\u3066\u3044\u308b\u306e\u306f\u57fa\u672c\u7684\u306b\u306fSTM32\u7cfb(ARM)\u306a\u306e\u3067\u305d\u3082\u305d\u3082\u6761\u4ef6\u304b\u3089\u5916\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06678-1024x683.jpg\" alt=\"\" class=\"wp-image-3468\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06678-1024x683.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06678-300x200.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06678-768x512.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06678.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">AVR\u7cfb\u306e\u4ee3\u8868ProMicro\u541b<\/figcaption><\/figure>\n\n\n\n<p>\u306a\u3093\u3067AVR\u7cfb\u306e\u307f\u306a\u3093\u3060\u308d\u3046\uff1f\u306a\u305c\u65b0\u3057\u3044\u30c1\u30c3\u30d7\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u3044\u306e\u3060\u308d\u3046\uff1f\u8abf\u3079\u3066\u307f\u308b\u3068\u7b54\u3048\u306f\u7c21\u5358\u3067\u3059\u3002\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u95a2\u4fc2\u3067\u3059\u3002nRF\u304c\u6700\u8fd1\u306f\u6d41\u884c\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u3053\u308c\u306fNordic\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u306b\u3072\u3063\u304b\u304b\u308b\u3088\u3046\u3067\u3059\u3002\u79fb\u690d\u3057\u305f\u306e\u3092\u30d7\u30eb\u30ea\u30af\u3057\u3066\u62d2\u5426\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u76ee\u6483\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>BLE Micro Pro\u3082\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u30d6\u30e9\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u3057\u3066\u3044\u3066\u4f7f\u3044\u52dd\u624b\u304c\u6700\u60aa\u306a\u306e\u306f\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u95a2\u4fc2\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u914d\u5e03\u3067\u304d\u306a\u3044\u304b\u3089\u3067\u3059\u306d\u3002\u53e4\u3044\u30b3\u30fc\u30c9\u3092\u4f7f\u3048\u3070\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u65e5\u3005\u66f4\u65b0\u3055\u308c\u308b\u30b3\u30fc\u30c9\u3067\u53e4\u3044\u306e\u3092\u4f7f\u3046\u306e\u306f\u2026\u3068\u3044\u3046\u306e\u306f\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001STM32\u7cfb\u306e\u30c1\u30c3\u30d7\u3067\u306a\u3093\u3068\u304bBluetooth\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u308a\u305f\u3044\u3068\u3044\u3046\u306e\u304c\u4eca\u56de\u306e\u8a71\u306e\u51fa\u767a\u70b9\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"b\">ESP32\u3092\u9078\u3093\u3060\u7406\u7531<\/h2>\n\n\n\n<p>STM32\u7cfb\u306e\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f7f\u3063\u3066Bluetooth\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u308a\u305f\u3044\u3068\u3044\u3046\u8a71\u306e\u6d41\u308c\u306f\u7406\u89e3\u3044\u305f\u3060\u3051\u305f\u304b\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u30bf\u30a4\u30c8\u30eb\u306b\u3042\u308b\u901a\u308a\u4eca\u56de\u306fESP32\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u7406\u7531\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06673-1024x683.jpg\" alt=\"\" class=\"wp-image-3464\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06673-1024x683.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06673-300x200.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06673-768x512.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06673.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">ESP32-WROOM-32D<\/figcaption><\/figure>\n\n\n\n<p>\u307e\u305a\u306f\u30b3\u30fc\u30c9\u3092\u3069\u3046\u3044\u3046\u5f62\u3067\u5b9f\u88c5\u3059\u308b\u304b\u3092\u8003\u3048\u3066\u304a\u304d\u307e\u3059\u3002\u4e0a\u3067\u66f8\u3044\u305f\u901a\u308a\u3001\u57fa\u672c\u7684\u306bQMK\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3067\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3082\u306e\u3084\u3001nRF\u7cfb\u306e\u3082\u306e\u306f\u30e9\u30a4\u30bb\u30f3\u30b9\u95a2\u4fc2\u3067\u76f4\u63a5\u7684\u306bQMK\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3067\u4f7f\u3046\u3068\u3044\u3046\u306e\u306f\u5927\u5909\u3067\u3059\u3002\u3068\u306a\u308b\u3068\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u306b\u5f15\u3063\u304b\u304b\u3089\u306a\u3044\u3088\u3046\u306a\u5f62\u3067\u5b9f\u88c5\u3067\u304d\u308b\u3082\u306e\u304b\u3001\u5b8c\u5168\u306b\u5225\u306e\u30b3\u30fc\u30c9\u3068\u3057\u3066\u4f5c\u88fd\u3059\u308b\u3053\u3068\u3067\u3001QMK\u306b\u306f\u7d44\u307f\u8fbc\u307e\u306a\u3044\u3067\u914d\u5e03\u3067\u304d\u308b\u3088\u3046\u306a\u5f62\u306b\u3057\u3066\u3057\u307e\u3046\u306e\u304c\u5c06\u6765\u7684\u306b\u306f\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u4eca\u56de\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u5f62\u5f0f\u3067\u5f8c\u4ed8\u3051\u306b\u3057\u305f\u3044\u3068\u3044\u3046\u306e\u3082\u3042\u308b\u306e\u3067\u3001\u3069\u3046\u3084\u3063\u3066\u3082\u5225\u30b3\u30fc\u30c9\u3057\u3066\u5b9f\u88c5\u306b\u306f\u306a\u308a\u307e\u3059\u3002\u306a\u306e\u3067\u3001QMK\u306b\u306f\u7d44\u307f\u8fbc\u307e\u306a\u3044\u65b9\u5411\u3067\u3084\u3063\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>QMK\u304b\u3089\u306f\u72ec\u7acb\u3057\u305f\u30b3\u30fc\u30c9\u3092\u4f5c\u88fd\u3059\u308b\u3068\u6c7a\u3081\u305f\u3068\u3053\u308d\u3067\u3001\u3044\u3088\u3044\u3088\u30c1\u30c3\u30d7\u306e\u9078\u5b9a\u3067\u3059\u304c\u3001\u5225\u30b3\u30fc\u30c9\u3067\u5b9f\u88c5\u3059\u308b\u3068\u306a\u308c\u3070\u3001QMK\u306b\u5373\u3057\u305f\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u3042\u308b\u5fc5\u8981\u306f\u306a\u3044\u306e\u3067\u3001\u9078\u3079\u308b\u30c1\u30c3\u30d7\u304c\u5e83\u304c\u308a\u307e\u3059\u3002RN-42\u3067\u3082nRF\u7cfb\u3067\u3082\u304a\u305d\u3089\u304f\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u4e2d\u304b\u3089\u9078\u3093\u3067\u3082\u826f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u4ee5\u5916\u306e\u9078\u629e\u80a2\u304c\u3042\u308b\u306e\u304b\u3068\u3044\u3046\u3068\u5272\u3068\u6570\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u624b\u306e\u3053\u3068\u3092\u8abf\u3079\u3066\u5c45\u308b\u65b9\u3060\u3068\u3054\u5b58\u3058\u306e\u901a\u308a\u3001\u65e5\u672c\u306b\u306f\u3044\u308f\u3086\u308b\u6280\u9069\u30de\u30fc\u30af\u3092\u4ed8\u3051\u305f\u3082\u306e\u3057\u304b\u4f7f\u3063\u3066\u306f\u3044\u3051\u306a\u3044\u3068\u3044\u3046\u6cd5\u5f8b\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u308c\u306b\u6e96\u62e0\u3057\u305f\u30c1\u30c3\u30d7\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6b63\u3057\u304f\u306f\u30c1\u30c3\u30d7\u3067\u306f\u306a\u304f\u3001\u30a2\u30f3\u30c6\u30ca\u90e8\u3082\u542b\u3081\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u5f62\u3067\u6280\u9069\u3092\u901a\u3063\u3066\u3044\u308c\u3070\u7d44\u307f\u8fbc\u3093\u3067\u4f7f\u3063\u3066\u3082OK\u3068\u3044\u3046\u30eb\u30fc\u30eb\u3067\u3059\u3002\u305d\u3046\u306a\u308b\u3068\u500b\u4eba\u306e\u7bc4\u56f2\u3067\u4f7f\u3044\u3084\u3059\u305d\u3046\u306a\u3082\u306e\u3060\u3068ESP32\u3001RN\u3001nRF\u3001Raspberry Pi Pico W\u3042\u305f\u308a\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06676-1024x683.jpg\" alt=\"\" class=\"wp-image-3463\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06676-1024x683.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06676-300x200.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06676-768x512.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06676.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">nRF52844\u642d\u8f09\u306eMS88SF2\u30e2\u30b8\u30e5\u30fc\u30eb<\/figcaption><\/figure>\n\n\n\n<p>\u4ed6\u306b\u3082\u307f\u3093\u306a\u5927\u597d\u304d\u87f9\u3055\u3093\u306e\u30c1\u30c3\u30d7\u3084Broadcom\u306e\u3088\u3046\u306a\u6709\u540d\u3069\u3053\u308d\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3082\u3042\u308b\u306b\u306f\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3082\u306a\u3044\u3067\u3059\u3057\u3001\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3082\u3088\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u308a\u3068\u3001\u500b\u4eba\u306e\u624b\u3067\u8ffd\u3046\u306b\u306f\u96e3\u3057\u3044\u4ee3\u7269\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3001\u7c21\u5358\u306b\u4f5c\u308c\u305d\u3046\u306a\u30c1\u30c3\u30d7\u3067\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u88fd\u3059\u308b\u5834\u5408\u306e\u30b3\u30fc\u30c9\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3059\u3002RN-42\u306f\u8abf\u3079\u3082\u3057\u306a\u3044\u3067\u4f7f\u308f\u306a\u3044\u3068\u6c7a\u3081\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u304cBluetooth\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u305f\u3081\u3067\u3059\u3002nRF\u306f\u6700\u65b0\u306e\u3082\u306e\u3067\u3042\u308c\u3070BLE\u306a\u3069\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30c7\u30d0\u30a4\u30b9\u7684\u306a\u554f\u984c\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30b3\u30fc\u30c9\u304c\u7169\u96d1\u3067\u3059\u3002\u7d50\u69cb\u6df1\u3044\u3068\u3053\u308d\u307e\u3067\u66f8\u304b\u306a\u3044\u3068\u52d5\u304b\u306a\u3055\u305d\u3046\u306a\u30b3\u30fc\u30c9\u3067\u3057\u305f\u3002\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u5206\u3067\u3053\u308c\u306a\u306e\u3067\u3001\u51dd\u3063\u305f\u3082\u306e\u3092\u4f5c\u308b\u3068\u306a\u308b\u3068\u4e2d\u3005\u5927\u5909\u305d\u3046\u3067\u3059\u3002RPi Pico W\u306f\u767a\u58f2\u3055\u308c\u3066\u9593\u3082\u306a\u3044\u3068\u3044\u3046\u306e\u3068\u8a18\u4e8b\u57f7\u7b46\u6bb5\u968e\u3067\u306f\u6280\u9069\u304c\u602a\u3057\u3044\u306e\u3067\u3001\u4eca\u5f8c\u306e\u671f\u5f85\u306f\u3067\u304d\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u73fe\u6bb5\u968e\u3067\u306f\u306a\u3057\u3067\u3059\u3002ESP32\u306fBLE\u30ad\u30fc\u30dc\u30fc\u30c9\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308b\u306e\u3067\u304b\u306a\u308a\u7c21\u5358\u306b\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u4e2d\u3067\u500b\u4eba\u3067\u6c17\u8efd\u306b\u8a66\u3059\u306a\u3089\u4e00\u76ee\u77ad\u7136\u3067ESP32\u3060\u3063\u305f\u306e\u3067\u3001EPS32\u3092\u9078\u3093\u3067\u3044\u307e\u3059\u3002\u4ed6\u306b\u3082\u5165\u624b\u304c\u5bb9\u6613\u3060\u3063\u305f\u308a\u3001\u5b89\u4fa1\u3060\u3063\u305f\u308a\u3068\u8a66\u3057\u3067\u4f5c\u308b\u5206\u306b\u306f\u826f\u3055\u305d\u3046\u3068\u3044\u3046\u9762\u304c\u3042\u308a\u307e\u3059\u3002\u5b9f\u88c5\u65b9\u6cd5\u6b21\u7b2c\u3067\u306f\u3001\u4ed6\u306e\u30c7\u30d0\u30a4\u30b9\u3067\u306e\u5fdc\u7528\u3082\u52b9\u304f\u3067\u3057\u3087\u3046\u3057\u3001\u8a66\u4f5c\u306b\u306f\u3082\u3063\u3066\u3053\u3044\u3067\u3059\u3002\u3082\u3063\u3068\u304f\u3060\u3089\u306a\u3044\u7406\u7531\u3060\u3068\u3001\u305d\u308c\u3063\u307d\u3044\u3053\u3068\u3092\u3084\u3063\u3066\u5931\u6557\u3057\u3066\u3044\u305f\u308a\u3001QMK\u3092ESP32\u306b\u66f8\u304d\u8fbc\u3082\u3046\u7684\u306a\u8b0e\u306e\u5922\u3092\u898b\u3066\u3044\u308b\u4eba\u304c\u3044\u305f\u306e\u3092\u898b\u3066\u3001\u3084\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u305f\u306a\u3093\u3066\u306e\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"c\">\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u52d5\u4f5c\u3092\u77e5\u308b<\/h2>\n\n\n\n<p>ESP32\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u306e\u3067\u4f7f\u3044\u65b9\u3092\u5b66\u3073\u3064\u3064\u5b9f\u88c5\u3057\u3066\u3044\u3063\u3066\u307f\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u7c21\u5358\u306a\u4ed5\u7d44\u307f\u3050\u3089\u3044\u306f\u77e5\u3063\u3066\u3044\u306a\u3044\u3068\u5b9f\u88c5\u3067\u304d\u306a\u3044\u306e\u3067\u7c21\u5358\u306b\u7d39\u4ecb\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u6975\u3081\u3066\u30b7\u30f3\u30d7\u30eb\u3067\u3001\u4ee5\u4e0b\u306e\u69d8\u306b\u30ad\u30fc\u30b3\u30fc\u30c9\u3068\u3044\u3046\u3082\u306e\u3092\u9001\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"221\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-02-11-170225-1024x221.jpg\" alt=\"\" class=\"wp-image-3466\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-02-11-170225-1024x221.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-02-11-170225-300x65.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-02-11-170225-768x166.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-02-11-170225.jpg 1387w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">USB\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u7c21\u5358\u306a\u4ed5\u7d44\u307f<\/figcaption><\/figure>\n\n\n\n<p>\u3055\u3089\u306b\u7d30\u304b\u304f\u66f8\u3044\u3066\u304a\u304f\u3068\u3001USB\u30c7\u30d0\u30a4\u30b9\u306f\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u3068\u3044\u3046\u69cb\u9020\u4f53\u3092\u30bb\u30c3\u30c8\u306b\u3057\u3066PC\u7b49\u306e\u30db\u30b9\u30c8\u30c7\u30d0\u30a4\u30b9\u306b\u30c7\u30fc\u30bf\u3092\u9001\u308a\u4ed8\u3051\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u4e2d\u306b\u306f\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u304c\u3069\u3093\u306a\u30c7\u30d0\u30a4\u30b9\u306a\u306e\u304b(\u4f8b\u3048\u3070\u30de\u30a6\u30b9\u306a\u306e\u304b)\u3068\u3044\u3063\u305f\u30c7\u30fc\u30bf\u3084\u3001\u305d\u306e\u30c7\u30d0\u30a4\u30b9\u304c\u3069\u3093\u306a\u3075\u308b\u307e\u3044\u3092\u3059\u308b\u30fb\u3057\u305f\u306e\u304b\u306e\u30c7\u30fc\u30bf\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u8b58\u5225\u306b\u307e\u305a\u306f\u30af\u30e9\u30b9\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u3001HID(Human Input Device)\u30af\u30e9\u30b9\u5185\u306b\u306f\u30ad\u30fc\u30dc\u30fc\u30c9\u3084\u30de\u30a6\u30b9\u3068\u3044\u3063\u305f\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002HID\u30af\u30e9\u30b9\u306b\u306fHID\u30ec\u30dd\u30fc\u30c8\u3068\u3044\u3046\u3001\u30c7\u30d0\u30a4\u30b9\u304c\u3069\u306e\u3088\u3046\u306a\u3075\u308b\u307e\u3044\u3092\u3057\u305f\u304b\u3068\u3044\u3046\u30c7\u30fc\u30bf\u306e\u672c\u4f53\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30c7\u30fc\u30bf\u5185\u306b\u306f\u4e0a\u3067\u66f8\u3044\u305f\u30ad\u30fc\u30b3\u30fc\u30c9\u3068\u3044\u3046\u3082\u306e\u3001\u305d\u306e\u30ad\u30fc\u304c\u62bc\u3055\u308c\u305f\u304b\u306e\u30c7\u30fc\u30bf\u306a\u3069\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002\u30ad\u30fc\u30b3\u30fc\u30c9\u3068\u306f\u3001\u300cA\u300d\u306e\u30ad\u30fc\u306a\u30892\u6841\u306e16\u9032\u6570\u306704\u307f\u305f\u3044\u306a\u30ad\u30fc\u3054\u3068\u306b\u5bfe\u3059\u308b\u5272\u308a\u5f53\u3066\u306e\u3053\u3068\u3092\u6307\u3057\u307e\u3059\u3002\u3053\u306e\u30ad\u30fc\u304c\u62bc\u3055\u308c\u305f\u3089\u30ad\u30fc\u30b3\u30fc\u30c9\u3068\u305d\u306e\u300c\u62bc\u3055\u308c\u305f\u300d\u3068\u3044\u3046\u72b6\u614b\u3092\u9001\u308a\u3001\u30ad\u30fc\u304c\u96e2\u3055\u308c\u305f\u3089\u30ad\u30fc\u30b3\u30fc\u30c9\u3068\u300c\u96e2\u3055\u308c\u305f\u300d\u3068\u3044\u3046HID\u30ec\u30dd\u30fc\u30c8\u304c\u9001\u3089\u308c\u307e\u3059\u3002\u3082\u3063\u3068\u7d30\u304b\u3044\u3053\u3068\u306fUSB\u306e\u4ed5\u69d8\u66f8\u3067\u3082\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.usb.org\/sites\/default\/files\/documents\/hut1_12v2.pdf\">https:\/\/www.usb.org\/sites\/default\/files\/documents\/hut1_12v2.pdf<\/a><\/p>\n\n\n\n<p>\u7d30\u304b\u3044\u3053\u3068\u306f\u3055\u3066\u304a\u304d\u3001QMK\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3067\u306f\u3053\u306e\u3088\u3046\u306a\u5185\u90e8\u306e\u52d5\u4f5c\u3092\u7c21\u5358\u306b\u3084\u3063\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002HID\u30ec\u30dd\u30fc\u30c8\u306a\u3093\u3066\u6c17\u306b\u3057\u305f\u3053\u3068\u306a\u3044\u65b9\u304c\u5927\u534a\u3067\u3059\u3002\u4eca\u56de\u306e\u5185\u5bb9\u3092\u7406\u89e3\u3059\u308b\u3046\u3048\u3067\u306fHID\u30ec\u30dd\u30fc\u30c8\u4e2d\u8eab\u306b\u3064\u3044\u3066\u3050\u3089\u3044\u306f\u6700\u4f4e\u9650\u7406\u89e3\u3057\u3066\u304a\u304f\u306e\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3001Bluetooth\u3067\u3082\u540c\u3058\u3088\u3046\u306a\u898f\u683c\u3067\u6210\u308a\u7acb\u3063\u3066\u304a\u308a\u540c\u69d8\u306bHID\u30af\u30e9\u30b9\u304c\u5b9a\u7fa9\u3055\u308c\u3001HID\u30ec\u30dd\u30fc\u30c8\u306e\u5185\u5bb9\u3082\u65e2\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30ad\u30fc\u30b3\u30fc\u30c9\u306fUSB\u306e\u305d\u308c\u3068\u4e00\u7dd2\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"d\">\u7528\u610f\u3057\u305f\u3082\u306e<\/h2>\n\n\n\n<p>\u5b9f\u969b\u306b\u4f7f\u3063\u305f\u3082\u306e\u3092\u7d39\u4ecb\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306a\u3093\u304b\u306f\u3082\u306e\u3092\u9078\u3076\u306e\u3067\u3053\u3053\u306f\u304d\u3063\u3061\u308a\u8aad\u3093\u3067\u304a\u3044\u3066\u3044\u305f\u3060\u3051\u308b\u3068\u5f8c\u6094\u3057\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>TH25TK(STM32F103\u306e\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9)<\/li>\n\n\n\n<li>EPS32-DevkitC v4<\/li>\n\n\n\n<li>\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9<\/li>\n\n\n\n<li>\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4<\/li>\n\n\n\n<li>USB\u30b7\u30ea\u30a2\u30eb\u5909\u63db(CP2102)<\/li>\n<\/ul>\n\n\n\n<p>\u307e\u305a\u306f\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u306f\u81ea\u5206\u306e\u4f5c\u3063\u305f<a href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/th25tk-intro\/\" data-type=\"post\" data-id=\"3213\">TH25TK<\/a>\u3002\u4e00\u5fdcBOOTH\u3067\u8ca9\u58f2\u3082\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u5b9f\u9a13\u3067\u4f7f\u3063\u305f\u306e\u3068\u306f\u30c1\u30c3\u30d7\u304c\u9055\u3046\u306e\u3068\u3001\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u7528\u306e\u7dda\u304c\u30ad\u30fc\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u306e\u4e00\u90e8\u3068\u5171\u7528\u306a\u306e\u3067\u3001\u904a\u3073\u534a\u5206\u3067\u3084\u3063\u3066\u307f\u3066\u6e80\u8db3\u3057\u305f\u3089\u666e\u901a\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u4f7f\u3048\u308b\u65b9\u306b\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/01\/DSC_0042-1024x768.jpg\" alt=\"\" class=\"wp-image-3407\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/01\/DSC_0042-1024x768.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/01\/DSC_0042-300x225.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/01\/DSC_0042-768x576.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/01\/DSC_0042.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">TH25TK\u3067L\u30c1\u30ab\u306e\u8b0e\u69cb\u56f3<\/figcaption><\/figure>\n\n\n\n<p>ESP32-DevkitC v4\u3068\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306f\u30bb\u30c3\u30c8\u3067\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06675-1024x683.jpg\" alt=\"\" class=\"wp-image-3465\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06675-1024x683.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06675-300x200.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06675-768x512.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06675.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">\u30d6\u30ec\u30c3\u30c9on ESP32<\/figcaption><\/figure>\n\n\n\n<p>\u5f8c\u6094\u3057\u3066\u307b\u3057\u304f\u306a\u3044\u306e\u3067\u5ff5\u306e\u305f\u3081\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u306e\u30b5\u30f3\u30cf\u30e4\u30c8\u306e\u3084\u3064\u3092\u65b0\u898f\u3067\u8cb7\u3063\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<iframe sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=thunsuke-22&amp;language=ja_JP&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B00DSKCS68&amp;linkId=42dd80ffc6cfca86f69326035946d229\"><\/iframe>\n\n\n\n<p>\u7406\u7531\u306f\u7c21\u5358\u3067\u3001\u3053\u308c\u3058\u3083\u306a\u3044\u3068\u6a2a\u5e45\u304c\u8db3\u308a\u307e\u305b\u3093\u3002\u4ed6\u306e\u3082\u306e\u306f5\u5217\u306e\u3082\u306e\u304c\u591a\u3044\u3067\u3059\u304c\u30016\u5217\u306e\u30b5\u30f3\u30cf\u30e4\u30c8\u306e\u3084\u3064\u3067\u3082\u5199\u771f\u306e\u901a\u308a\u30ae\u30ea\u30ae\u30ea\u3067\u3059\u3002\u60aa\u3044\u3053\u3068\u306f\u8a00\u308f\u306a\u3044\u306e\u3067\u304a\u3068\u306a\u3057\u304f\u3053\u308c\u3092\u9078\u3073\u307e\u3057\u3087\u3046\u3002\u5f8c\u306f\u30d4\u30f3\u6570\u304c\u591a\u3044\u306e\u3067\u629c\u304f\u306e\u304c\u56fa\u304f\u3066\u5f37\u5f15\u306b\u629c\u304f\u3068\u30d4\u30f3\u304c\u66f2\u304c\u308b\u306e\u3067\u5c02\u7528\u306b\u3059\u308b\u3050\u3089\u3044\u306e\u6c17\u6301\u3061\u304c\u826f\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06684-1024x683.jpg\" alt=\"\" class=\"wp-image-3471\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06684-1024x683.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06684-300x200.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06684-768x512.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2023\/02\/DSC06684.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">\u30d4\u30f3\u66f2\u304c\u308a\u60b2\u5287\u306eProMicro<\/figcaption><\/figure>\n\n\n\n<p>ESP32\u81ea\u4f53\u306f\u6b63\u76f4Devkit C\u3067\u3082V\u3067\u3082\u4f7f\u3044\u3084\u3059\u3044\u3082\u306e\u3067\u3042\u308c\u3070\u306a\u3093\u3067\u3082\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u56fd\u5185\u3067\u30c7\u30fc\u30bf\u304c\u591a\u3044\u306e\u306fDevkitC\u306a\u306e\u3067C\u306f\u7121\u96e3\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\u5546\u54c1\u60c5\u5831\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\n\n\n\n<p>\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4\u306f\u9577\u3055\u3082\u542b\u3081\u3066\u3054\u81ea\u8eab\u304c\u4f7f\u3044\u3084\u3059\u3044\u9577\u3055\u3067\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u5225\u306e\u7528\u9014\u3067\u3082\u4f7f\u3048\u308b\u3067\u3057\u3087\u3046\u3057\u3001\u4eca\u5f8c\u306e\u3053\u3068\u3082\u8003\u3048\u3066\u8cb7\u3046\u3068\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\u5546\u54c1\u60c5\u5831\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\n\n\n\n<p>CP2102\u306eUSB\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u30dc\u30fc\u30c9\u306f\u52d5\u4f5c\u78ba\u8a8d\u3067\u4f7f\u3048\u308b\u306e\u3067\u3001\u6301\u3063\u3066\u304a\u3044\u3066\u640d\u306f\u7121\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u3042\u3068\u3001\u7d4c\u9a13\u4e0aESP32DevkitC\u306b\u4e57\u3063\u3066\u3044\u308bCP2102(\u3068\u305d\u306e\u30d1\u30c1\u30e2\u30f3)\u306f\u5272\u3068\u58ca\u308c\u3084\u3059\u3044\u306e\u3067\u3001\u30c7\u30d0\u30c3\u30b0&amp;\u58ca\u308c\u305f\u3068\u304d\u306e\u4fdd\u5065\u7528\u306b1\u500b\u306f\u6301\u3063\u3066\u304a\u304f\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n\n\n\u5546\u54c1\u60c5\u5831\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\n\n\n\n<p>\u3053\u308c\u3089\u306e\u90e8\u54c1\u3092\u3064\u304b\u3063\u3066\u691c\u8a3c\u3092\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"e\">\u5b9f\u969b\u306b\u4f5c\u3063\u3066\u307f\u308b<\/h2>\n\n\n\n<p>\u307e\u305a\u306fQMK\u306b\u5bfe\u5fdc\u3057\u305f\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u306f\u5358\u4f53\u3067\u52d5\u4f5c\u3059\u308b\u524d\u63d0\u3067\u3059\u306e\u3067\u3001\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u304b\u3089\u306fHID\u30ec\u30dd\u30fc\u30c8\u3067\u3042\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u30ad\u30fc\u30b3\u30fc\u30c9\u3068\u30ad\u30fc\u30d7\u30ec\u30b9\u306e\u60c5\u5831\u3092\u9001\u4fe1\u3001ESP32\u3067\u305d\u308c\u3089\u3092\u53d7\u4fe1\u3057\u3066HID\u30ec\u30dd\u30fc\u30c8\u3068\u305d\u306e\u9001\u4fe1\u3092\u884c\u3046\u5fc5\u8981\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u306a\u308b\u3068\u3001\u6700\u4f4e\u9650\u4e00\u3064\u306f\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3068ESP32\u306e\u9593\u306b\u4f1d\u9001\u8def\u304c\u5fc5\u8981\u3068\u306a\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u3092\u7528\u3044\u3066\u901a\u4fe1\u3057\u307e\u3059\u3002ESP32\u5074\u3067\u306e\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306f\u3059\u3050\u8abf\u3079\u305f\u3089\u51fa\u3066\u304f\u308b\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u5074\u3067\u5b9f\u88c5\u3057\u307e\u3059\u3002\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u3067\u3042\u308c\u3070UART\u306e\u30da\u30fc\u30b8\u3092\u898b\u3066\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>GitHub<br><a href=\"https:\/\/github.com\/qmk\/qmk_firmware\/blob\/master\/docs\/uart_driver.md\">https:\/\/github.com\/qmk\/qmk_firmware\/blob\/master\/docs\/uart_driver.md<\/a><\/p>\n\n\n\n<p>\u4f7f\u3044\u305f\u3044\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306b\u5408\u308f\u305b\u3066\u3053\u3053\u3089\u3078\u3093\u306f\u5b9f\u88c5\u3057\u3066\u3082\u3089\u3046\u3068\u3057\u3066\u3001\u5c11\u3057\u8e93\u3044\u305f\u306e\u304c\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u8a18\u8ff0\u3002\u307e\u305a\u3001keyboad.c\u306buart.h\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30b7\u30ea\u30a2\u30eb\u306e\u521d\u671f\u5316\u3092\u4ee5\u4e0b\u306e\u95a2\u6570\u3067\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u5225\u306e\u95a2\u6570\u5185\u3067\u51e6\u7406\u3057\u3066\u3082\u3088\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u6307\u5b9a\u304c\u7121\u304b\u3063\u305f\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u3053\u3053\u3067\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-c\" data-file=\"keycoard.c\" data-lang=\"C\"><code>\n#include &quot;uart.h&quot;\n\n\/\/******\u4f55\u304b\u51e6\u7406\u304c\u3042\u308b\u306a\u3089*****\n\nvoid keyboard_post_init_kb(void){\n  uart_init(115200);\n  }\n<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3060\u3051\u3060\u3068\u30d3\u30eb\u30c9\u3067\u6012\u3089\u308c\u308b\u306e\u3067\u3001rules.mk\u3053\u308c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"rules.mk\"><code>QUANTUM_LIB_SRC += uart.c<\/code><\/pre><\/div>\n\n\n\n<p>\u4e00\u5fdc\u3053\u308c\u3067\u4f55\u304b\u3057\u3089\u306e\u51e6\u7406\u3092\u66f8\u3051\u3070\u6700\u4f4e\u9650\u9001\u53d7\u4fe1\u304c\u3067\u304d\u307e\u3059\u3002\u9069\u5f53\u306b\u30c7\u30d0\u30c3\u30b0\u3057\u305f\u3089\u5b9f\u969b\u306b\u30ad\u30fc\u30b3\u30fc\u30c9\u3092\u9001\u308a\u4ed8\u3051\u3066\u307f\u307e\u3059\u3002QMK\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u30ad\u30fc\u30b3\u30fc\u30c9\u3092\u898b\u3066\u307f\u308b\u3068\u3001\u901a\u5e38\u306e\u30ad\u30fc\u30b3\u30fc\u30c9\u3067\u306f\u4f7f\u308f\u306a\u3044\u6841\u6570\u307e\u3067\u62e1\u5f35\u3057\u305f\u3082\u306e\u3092\u5185\u90e8\u3067\u306f\u4f7f\u3046\u5834\u5408\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u3053\u308c\u3089\u306fQMK\u5c02\u7528\u306e\u7279\u6b8a\u306a\u30ad\u30fc\u3067\u306e\u307f\u767a\u751f\u3059\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u305d\u308c\u3092\u7121\u8996\u3057\u307e\u3059\u3002\u307e\u305f\u3001HID\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9\u306b\u3088\u308b\u3068\u30ad\u30fc\u30b3\u30fc\u30c9\u306f231\u307e\u3067\u306e\u3088\u3046\u306a\u306e\u3067\u305d\u308c\u3092\u6d3b\u304b\u3057\u3066\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u306e\u3068\u304d\u304b\u3089\u30b3\u30fc\u30c9\u3092\u3044\u3058\u3063\u3066\u306a\u3044\u306e\u3067\u8981\u3089\u306a\u3044\u6a5f\u80fd\u3068\u304b\u4f7f\u9014\u4e0d\u660e\u306a\u3082\u306e\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u305d\u3053\u3089\u3078\u3093\u306f\u7121\u8996\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-c\" data-file=\"keyboard.c\" data-lang=\"C\"><code>#include &quot;print.h&quot;\n#include &quot;btest.h&quot;\n#include &quot;uart.h&quot;\n\nuint8_t LowByte(uint16_t);\nuint8_t HighByte(uint16_t);\nuint16_t combu8t(uint8_t,uint8_t);\n\nvoid keyboard_post_init_user_kb(void) {\n  \/\/ Customise these values to desired behaviour\n  debug_enable=true;\n  debug_matrix=true;\n  \/\/debug_keyboard=true;\n  \/\/debug_mouse=true;\n}\n\nvoid keyboard_post_init_kb(void){\n  uart_init(115200);\n  }\n\nbool process_record_user(uint16_t keycode, keyrecord_t *record) {\n  uint8_t data[5]={0};\n  data[0]=0xFF;\n  data[1]=0xFF;\n  data[2]=HighByte(keycode);\n  if(data[2]!=0x00){\n    return true;\n    }\n  data[3]=LowByte(keycode);\n  data[4]=record-&gt;event.pressed;\n  uprintf(&quot;Keycode: %u ,0x%x\\ndata[0]=0x%x\\ndata[1]=0x%x\\n&quot;,keycode,keycode,data[2],data[3]);\n  uprintf(&quot;data[2]=0x%x\\nPress: %u\\n\\n&quot;,data[4],record-&gt;event.pressed);\n  uprintf(&quot;readPin(A11)=%u\\nreadPin(A12)=%u\\n&quot;,readPin(A11),readPin(A12));\n  uart_transmit(data,5);\n  if(uart_available()){\n  uprintf(&quot;*******recive data: %u*********\\n&quot;,(uint8_t)uart_read());\n  }\n\treturn true;\n}\n\nuint8_t LowByte(uint16_t u16){\n  return (uint8_t)u16;\n  }\n  \nuint8_t HighByte (uint16_t u16){\n  uint8_t ans=u16&gt;&gt;8;\n  return ans;\n  }\nuint16_t combu8t(uint8_t HB,uint8_t LB){\n  return (HB&lt;&lt;8)|LB;\n}\n<\/code><\/pre><\/div>\n\n\n\n<p>\u8272\u3005\u8003\u616e\u3057\u3066\u4f7f\u3063\u3066\u306a\u3044\u4e88\u7d04\u7528\u306e\u30c7\u30fc\u30bf\u914d\u5217\u3068\u304b\u3082\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30b3\u30fc\u30c9\u3067\u30ad\u30fc\u30b3\u30fc\u30c9\u306e\u672c\u4f53\u3068\u306a\u308b\u306e\u306fdata[3]\u3067\u3059\u3002data[2]\u306f16\u30d3\u30c3\u30c8\u306e\u3046\u3061\u4e0a\u50748\u30d3\u30c3\u30c8\u3092\u5224\u5b9a\u3057\u3066\u3044\u3066\u3001\u3053\u308c\u304c0\u4ee5\u4e0a\u306a\u3089\u5c11\u306a\u304f\u3068\u3082\u30d9\u30fc\u30b7\u30c3\u30af\u30ad\u30fc\u30b3\u30fc\u30c9\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u305d\u308c\u3092\u7121\u8996\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u5f8c\u306f\u9069\u5f53\u306b\u30d3\u30c3\u30c8\u6f14\u7b97\u306e\u95a2\u6570\u3092\u4f5c\u3063\u3066\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002\u30c6\u30b9\u30c8\u3064\u3044\u3067\u306b\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u3063\u305f\u3068\u304d\u306e\u95a2\u6570\u3092\u4f5c\u308a\u307e\u3057\u305f\u304c\u8981\u3089\u306a\u304b\u3063\u305f\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u3063\u3066\u5f97\u3089\u308c\u308b\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3059\u308b\u3068\u6b63\u3057\u304f\u30ad\u30fc\u30b3\u30fc\u30c9\u3084\u30ad\u30fc\u30d7\u30ec\u30b9\u306e\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>ESP32\u3067BLE\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066ArduinoIDE\u74b0\u5883\u3067\u52d5\u304fESP32-BLE-Keyboard\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u5c11\u3057\u6a5f\u80fd\u4e0d\u8db3\u3068\u3044\u3046\u304b\u3001\u6c42\u3081\u308b\u6a5f\u80fd\u304c\u306a\u3044\u306e\u3067\u79c1\u306e\u30d5\u30a9\u30fc\u30af\u3067\u6539\u9020\u3057\u305f\u3082\u306e\u3092\u4f7f\u3046\u3068\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002\u6539\u9020\u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n\n\n\n<p>ESP32-BLE-keyboard THUN fork<br><a href=\"https:\/\/github.com\/T-H-Un\/ESP32-BLE-Keyboard\">https:\/\/github.com\/T-H-Un\/ESP32-BLE-Keyboard<\/a><\/p>\n\n\n\n<p>\u5c0e\u5165\u65b9\u6cd5\u306f\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u3082\u306e\u3068\u540c\u3058\u3067\u3059\u3002\u3053\u308c\u306b\u306f\u4ee5\u4e0b\u306e\u95a2\u6570\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>bleKeyboard.HIDpress(uint8_t)<\/li>\n\n\n\n<li>bleKeyboard.HIDrelease(uint8_t)<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u306e\u95a2\u6570\u306f\u76f4\u63a5uint8\u578b\u306e\u30ad\u30fc\u30b3\u30fc\u30c9\u5024\u3092HID\u30ec\u30dd\u30fc\u30c8\u306b\u5165\u308c\u3066\u9001\u4fe1\u3057\u3066\u304f\u308c\u308b\u95a2\u6570\u3067\u3059\u3002\u540d\u524d\u306e\u901a\u308aHIDpress\u3092\u62bc\u3057\u305f\u969b\u306b\u3001HIDrelease\u3092\u8a71\u3057\u305f\u969b\u306b\u5b9f\u884c\u3059\u308b\u3068\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u95a2\u6570\u3092\u4f7f\u3063\u3066\u66f8\u3044\u305f\u306e\u304c\u3053\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002\u81ea\u5206\u7528\u306bLED\u3092\u7e4b\u3044\u3067\u3044\u305f\u308a\u3001\u30c7\u30d0\u30c3\u30b0\u7528\u306e\u64cd\u4f5c\u304c\u3042\u308b\u3067\u3001\u9069\u5207\u306b\u6d88\u3057\u305f\u308a\u3057\u3066\u4f7f\u3048\u3070\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>#include &lt;BleKeyboard.h&gt;\n#define LED_PIN 21\n#define LED_PIN1 13\n#define NMOS 15\n#define BAUD 115200\n\n#define SERIAL_DEBUG\n\/\/#define BLEKBD_TEST\n\nBleKeyboard bleKeyboard(&quot;ESP32 KEYBOARD&quot;); \/\/\u30c7\u30d0\u30a4\u30b9\u306e\u540d\u524d4\n\nHardwareSerial sSerial1(1);\n\n\nvoid setup() {\n  Serial.begin(BAUD);\n  Serial.println(&quot;Starting BLE work!\\n&quot;);\n  bleKeyboard.begin();\n  pinMode(0,INPUT_PULLUP);    \/\/GPIO0(BOOT)\u3092\u30d7\u30eb\u30a2\u30c3\u30d7\u4ed8\u304d\u5165\u529b\u8a2d\u5b9a\n  \/\/Serial2.begin(BAUD);\n  sSerial1.begin(115200, SERIAL_8N1, 26, 27);\n  Serial.println(&quot;Waiting for Handshake\\n&quot;);\n  delay(2000);\n  Serial.println(&quot;Connected!&quot;);\n  pinMode(LED_PIN, OUTPUT);\n  pinMode(LED_PIN1, OUTPUT);\n  pinMode(NMOS, OUTPUT);\n}\n\nvoid loop() {\n  uint8_t data[5]={0};\n  digitalWrite(LED_PIN, LOW);\n  digitalWrite(LED_PIN1, LOW);\n  digitalWrite(NMOS, LOW);\n  while( sSerial1.available()){ \/\/Serial1\u306b\u53d7\u4fe1\u30c7\u30fc\u30bf\u304c\u3042\u308b\u304b\n    data[0]=(uint8_t)sSerial1.read();\n    if(data[0]==0xFF){\n      data[1]=(uint8_t)sSerial1.read();\/\/Check of 0xFF headers\n      if(data[1]==0xFF){\n    data[2] = (uint8_t)sSerial1.read();\/\/HighByte of a keycode of QMK_Firmware\/\n    data[3] = (uint8_t)sSerial1.read();\/\/LowByte of a keycode of HID regulations.\n    data[4] = (uint8_t)sSerial1.read();\/\/Keypress\n    #ifdef SERIAL_DEBUG\n    digitalWrite(LED_PIN, HIGH);\n    Serial.print(&quot;data[2]=&quot;);\n    Serial.println(data[2]);\n    Serial.print(&quot;data[3]=&quot;);\n    Serial.println(data[3]);\n    Serial.print(&quot;data[4]=&quot;);\n    Serial.println(data[4]);\n    #endif\n    if(bleKeyboard.isConnected()) {\n      if(data[4]==1){\n       bleKeyboard.HIDpress(data[3]);\n       Serial.print(&quot;data[3] Press=&quot;);\n       Serial.println(data[3]);\n      }\n      else{\n       bleKeyboard.HIDrelease(data[3]);\n       Serial.print(&quot;data[3] Release=&quot;);\n       Serial.println(data[3]);\n       }\n    }\n    else\n      Serial.print(&quot;BLE Keyboard is not connected&quot;);\n      }\n    }\n  }\n  #ifdef SERIAL_DEBUG\n  while( Serial.available()){\/\/\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u5165\u529b\u3092\u5165\u308c\u305f\u3089\u8fd4\u3059\u30c7\u30d0\u30c3\u30b0\u7528\u95a2\u6570\n    Serial.println((char)Serial.read());\n    }\n  #endif  \n  if(bleKeyboard.isConnected()) {    \/\/\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u3068\u304d\n    if(digitalRead(0) == LOW){\/\/BOOT\u30b9\u30a4\u30c3\u30c1\u304c\u62bc\u3055\u308c\u3066\u3044\u308b\u6642\n      #ifdef BLEKBD_TEST\n      bleKeyboard.write(KEY_RETURN); \/\/Enter\u3092\u9001\u4fe1\n      sSerial1.write(0x04);\n      digitalWrite(LED_PIN1, HIGH);\n      delay(200);\n      #endif\n      digitalWrite(NMOS, HIGH);\n      }\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u4eca\u65e5\u8f09\u305b\u3066\u3044\u308b\u30b3\u30fc\u30c9\u306f\u3068\u308a\u3042\u3048\u305a\u30b3\u30d4\u30da\u3057\u305f\u3089\u52d5\u304d\u306f\u3059\u308b\u306e\u3067\u3068\u3053\u304b\u3089\u597d\u304d\u306a\u5f62\u306b\u3057\u3066\u3044\u3051\u3070\u52d5\u4f5c\u78ba\u8a8d\u306f\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u305f\u3068\u3053\u308d\u3001\u591a\u5c11\u3082\u305f\u3064\u304d\u3092\u611f\u3058\u308b\u5834\u9762\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u6587\u5b57\u5165\u529b\u306a\u3069\u4e00\u822c\u7684\u306a\u4f7f\u3044\u65b9\u3067\u3042\u308c\u3070\u4f7f\u3048\u306a\u3044\u3053\u3068\u306f\u7121\u3044\u7a0b\u5ea6\u3060\u3068\u611f\u3058\u307e\u3057\u305f\u3002\u30b2\u30fc\u30e0\u306a\u3093\u304b\u306b\u306f\u9593\u9055\u3044\u306a\u304f\u4f7f\u3048\u306a\u3044\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u672c\u4f53\u5074\u3092QMK\u306b\u5bfe\u5fdc\u3055\u305b\u3066\u3044\u308c\u3070\u5f53\u7136\u306a\u304c\u3089USB\u3067\u63a5\u7d9a\u3059\u308c\u3070\u30ad\u30fc\u30de\u30c3\u30d7\u3092\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002Bluetooth\u304b\u3089\u66f8\u304d\u63db\u3048\u308b\u306e\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u3053\u308c\u306fQMK\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u5168\u3066\u3067\u8a00\u3048\u308b\u3053\u3068\u306a\u306e\u3067\u8ae6\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u30bf\u30a4\u30c8\u30eb\u901a\u308a\u306eBLE\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u88fd\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u3053\u306e\u5b9f\u88c5\u65b9\u6cd5\u306a\u3089\u3042\u308b\u7a0b\u5ea6\u30e9\u30a4\u30bb\u30f3\u30b9\u3092\u6c17\u306b\u3057\u306a\u3044\u3067\u5927\u4e08\u592b\u3060\u3068\u601d\u3046\u306e\u3067\u3001\u4ed6\u306e\u30c1\u30c3\u30d7\u3067\u3082\u4f3c\u305f\u3088\u3046\u306a\u65b9\u6cd5\u3067\u5b9f\u88c5\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8003\u3048\u308c\u308b\u554f\u984c<\/h2>\n\n\n\n<p>\u5165\u529b\u9045\u5ef6\u306f\u591a\u5c11\u306f\u3068\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u5c11\u3057\u6c17\u306b\u306a\u308b\u304b\u306a\u3068\u3044\u3046\u306e\u304c\u4e00\u3064\u76ee\u3002\u3082\u3046\u4e00\u3064\u304c\u63a5\u7d9a\u304c\u5207\u308c\u305f\u3068\u304d\u3067\u3059\u306d\u3002\u62bc\u3057\u3063\u3071\u306a\u3057\u304c\u7d99\u7d9a\u3055\u308c\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u5165\u529b\u3055\u308c\u3063\u3071\u306a\u3057\u306e\u72b6\u614b\u304c\u51fa\u3066\u304f\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u30c6\u30b9\u30c8\u3067\u4f5c\u3063\u3066\u307f\u305f\u7a0b\u5ea6\u306a\u306e\u3067\u9577\u671f\u7684\u306b\u3069\u3046\u304b\u3068\u3044\u3046\u306e\u3082\u308f\u304b\u308a\u307e\u305b\u3093\u306d\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u3053\u308c\u3092\u30d0\u30c3\u30c6\u30ea\u30fc\u99c6\u52d5\u306b\u3057\u3088\u3046\u3068\u601d\u3046\u3068\u304b\u306a\u308a\u3057\u3093\u3069\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u3068\u3044\u3046\u306e\u3082\u3001ESP32\u306fBLE\u306e\u30c7\u30fc\u30bf\u305d\u3046\u9001\u4fe1\u6642\u306b150mA\u3068\u304b\u305d\u306e\u30ec\u30d9\u30eb\u306e\u96fb\u6d41\u304c\u6d41\u308c\u308b\u305d\u3046\u306a\u306e\u3067\u3001\u304b\u306a\u308a\u6d88\u8cbb\u96fb\u529b\u7684\u306b\u306f\u304d\u3064\u3044\u306f\u305a\u3067\u3059\u3002\u5e38\u306b\u96fb\u529b\u3092\u4f9b\u7d66\u3067\u304d\u308b\u74b0\u5883\u306a\u3089\u4f7f\u3048\u308b\u304b\u306a\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u3089\u3078\u3093\u306f\u5b9f\u88c5\u6b21\u7b2c\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001USB\u63a5\u7d9a\u3092\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3001PC\u7b49\u3068\u30da\u30a2\u30ea\u30f3\u30b0\u3092\u3057\u3066\u3044\u308b\u3068\u4e8c\u91cd\u3067\u5165\u529b\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u8272\u3005\u306a\u65b9\u6cd5\u3067\u5b9f\u73fe\u3067\u304d\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u4eca\u56de\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3068\u3044\u3046\u8a71\u3067\u3059\u306d\u3002\u8981\u6539\u826f\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>ESP32\u3068\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f7f\u3063\u3066Bluetooth\/QMK\/VIA\u5bfe\u5fdc\u306e\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u8a66\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u5927\u304d\u306a\u554f\u984c\u306f\u306a\u304b\u3063\u305f\u3082\u306e\u306e\u5b9f\u7528\u7684\u304b\u3069\u3046\u304b\u306f\u4eba\u306b\u3088\u308b\u3088\u3046\u306a\u51fa\u6765\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u7814\u7a76\u7684\u306a\u5185\u5bb9\u3068\u3057\u3066\u306f\u697d\u3057\u304b\u3063\u305f\u3067\u3059\u3057\u3001\u5f97\u308b\u3082\u306e\u3082\u3042\u3063\u305f\u304b\u306a\u3068\u601d\u3046\u306e\u3067\u3001\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u662f\u975e\u3084\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u3093\u306a\u306b\u90e8\u54c1\u4ee3\u3082\u9ad8\u3044\u308f\u3051\u3067\u306f\u306a\u3044\u3067\u3059\u3057\u306d\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3067\u3059\u3002\u304a\u8aad\u307f\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u3042\u308b\u7a0b\u5ea6\u5f62\u306b\u306a\u3063\u3066\u304d\u3066\u3001\u305d\u308d\u305d\u308d\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u904a\u3076\u306e\u3082\u7d42\u308f\u308a\u304b\u306a\u30fc\u306a\u3093\u3066\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u307e\u3060\u3084\u3063\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u305d\u308c\u304cBluetooth\u63a5\u7d9a\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u3059\u306d\u3002\u8abf\u3079\u3066\u307f\u308b\u3068\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9&hellip; <a class=\"more-link\" href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/esp32-and-fullscrached-keyboard\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">ESP32\u3068\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3067Bluetooth\/QMK\/VIA\u5bfe\u5fdc\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u308b<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[114],"tags":[],"class_list":["post-3357","post","type-post","status-publish","format-standard","hentry","category-114","entry"],"_links":{"self":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/3357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=3357"}],"version-history":[{"count":11,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/3357\/revisions"}],"predecessor-version":[{"id":4160,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/3357\/revisions\/4160"}],"wp:attachment":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=3357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=3357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=3357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}