
{"id":15096,"date":"2022-09-18T21:05:58","date_gmt":"2022-09-18T12:05:58","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=15096"},"modified":"2025-12-18T14:24:49","modified_gmt":"2025-12-18T05:24:49","slug":"hobonicola%e3%81%aepico-pio-usb%e5%af%be%e5%bf%9c","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=15096","title":{"rendered":"hoboNicola\u306ePico-PIO-USB\u5bfe\u5fdc"},"content":{"rendered":"<h1>\u6982\u8981<\/h1>\n<p><strong><a href=\"https:\/\/github.com\/sekigon-gonnoc\/Pico-PIO-USB\" target=\"_blank\" rel=\"noopener\">Pico-PIO-USB<\/a><\/strong> \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066USB Host \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u7121\u3057\u3067 hoboNicola\u30a2\u30c0\u30d7\u30bf\u30fc\u3092\u5b9f\u73fe\u3059\u308b\u3002Pico-PIO-USB\u306f\u3001RP2040(Raspberry Pi PICO)\u306ePIO(Programmable I\/O) \u3068GPIO\u30dd\u30fc\u30c8\u3092\u4f7f\u3063\u3066USB\u30dd\u30fc\u30c8(\u30c7\u30d0\u30a4\u30b9\uff0f\u30db\u30b9\u30c8\u306e\u3044\u305a\u308c\u304b)\u3092\u5b9f\u73fe\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3001\u3053\u308c\u3092\u4f7f\u3046\u3053\u3068\u3067RP2040\u3092\u4f7f\u3063\u305fArduino\u30dc\u30fc\u30c9\u306f2\u3064\u306eUSB\u30dd\u30fc\u30c8\u3092\u3082\u3064\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u4eca\u307e\u3067\u306ehoboNicola\u30a2\u30c0\u30d7\u30bf\u30fc\u306f\u3001(mini) USB Host Shield\u306b\u8f09\u3063\u3066\u3044\u308b<strong>MAX3421EE <\/strong>\u3084 <strong>CH9350L <\/strong>\u3068\u3044\u3063\u305fUSB\u30db\u30b9\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068\u306e\u63a5\u7d9a\u3084\u5236\u5fa1\u304c\u4e0d\u53ef\u6b20\u3060\u3063\u305f\u304c\u3001Pico-PIO-USB (\u304a\u3088\u3073 Adafruit TinyUSB\u30e9\u30a4\u30d6\u30e9\u30ea)\u306b\u3088\u308aRP2040\u642d\u8f09\u30de\u30a4\u30b3\u30f3\u30dc\u30fc\u30c9\u5358\u72ec\u3067\u5b9f\u88c5\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>RP2040\u3092\u642d\u8f09\u3057\u3066\u3044\u308b\u30de\u30a4\u30b3\u30f3\u30dc\u30fc\u30c9\u306a\u3089\u3070\u7279\u306b\u54c1\u7a2e\u306f\u9078\u3070\u306a\u3044\u3068\u601d\u3046\u304c\u3001<a href=\"https:\/\/arduino-pico.readthedocs.io\/en\/latest\/\" target=\"_blank\" rel=\"noopener\">Arduino-Pico <\/a>\u304c\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u30dc\u30fc\u30c9\u306a\u3089\u9593\u9055\u3044\u306a\u3044\u3060\u308d\u3046\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<a href=\"https:\/\/www.raspberrypi.com\/products\/raspberry-pi-pico\/\" target=\"_blank\" rel=\"noopener\">Raspberry Pi Pico<\/a> \u3068 <a href=\"https:\/\/www.seeedstudio.com\/XIAO-RP2040-v1-0-p-5026.html\" target=\"_blank\" rel=\"noopener\">Seeed Studio XIAO RP2040<\/a> \u3092\u4f7f\u3063\u3066hoboNicola \u30a2\u30c0\u30d7\u30bf\u30fc\u3092\u5b9f\u88c5\u3057\u305f\u3002\u305d\u306e\u56de\u8def\u56f3\u3084\u30d3\u30eb\u30c9\u65b9\u6cd5\u3001hoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea1.6.3\u7248\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u8eab\u306e\u8a71\u306a\u3069\u3092\u7c21\u5358\u306b\u307e\u3068\u3081\u305f\u3002\u53c2\u8003\u306e\u305f\u3081\u3001<a href=\"https:\/\/datasheets.raspberrypi.com\/rp2040\/rp2040-datasheet.pdf\" target=\"_blank\" rel=\"noopener\">RP2040\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306f\u3053\u3061\u3089<\/a>\u3002<\/p>\n<p><strong>Pico-PIO-USB<\/strong> \u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u5bfe\u5fdc\u3057\u305f\u30e1\u30a4\u30f3\u30b9\u30b1\u30c3\u30c1\u304a\u3088\u3073hoboNicolaLibrary1.6.3\u7248\u306f\u3001<a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?page_id=12997\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3067\u304d\u307e\u3059\u3002\u4eca\u56de\u306e\u304a\u3082\u306a\u5bfe\u5fdc\u5185\u5bb9\u306f\u3001examples\/rp_hobo_nicola.ino \u306b\u53ce\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u8ffd\u8a18<\/h2>\n<p>2023\u5e7411\u6708\u73fe\u5728\u3067\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u30b3\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u304a\u3088\u3073\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/earlephilhower\/arduino-pico\/releases\/tag\/3.6.0\" target=\"_blank\" rel=\"noopener\">Arduino-pico 3.6.0\u7248<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/okiraku-camera\/hoboNicolaLibrary\" target=\"_blank\" rel=\"noopener\">hoboNicolaLibrary 1.7.1\u7248<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/adafruit\/Adafruit_TinyUSB_Arduino\" target=\"_blank\" rel=\"noopener\">Adafruit Tiny USB Library 2.2.5\u7248<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/sekigon-gonnoc\/Pico-PIO-USB\" target=\"_blank\" rel=\"noopener\">Pico PIO USB 0.5.3\u7248<\/a><\/li>\n<\/ul>\n<p>hoboNicolaLibrary\u3092\u9664\u304f\u30b3\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u304a\u3088\u3073\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5c0e\u5165\u306f\u3001Arduino IDE\u306e\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u30de\u30cd\u30fc\u30b8\u30e3\u304b\u3089\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u8ffd\u8a18\u305d\u306e\uff12(2025\/12\/8)<\/h2>\n<p>2025\u5e7412\u67088\u65e5\u73fe\u5728\u3067\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3066\u3044\u308b\u30b3\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u304a\u3088\u3073\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u7d44\u5408\u305b\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/earlephilhower\/arduino-pico\/releases\/tag\/3.6.0\" target=\"_blank\" rel=\"noopener\">Arduino-pico 3.7.2\u7248<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/okiraku-camera\/hoboNicolaLibrary\" target=\"_blank\" rel=\"noopener\">hoboNicolaLibrary 1.7.7\u7248<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/adafruit\/Adafruit_TinyUSB_Arduino\" target=\"_blank\" rel=\"noopener\">Adafruit Tiny USB Library 2.3.0\u7248<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/sekigon-gonnoc\/Pico-PIO-USB\" target=\"_blank\" rel=\"noopener\">Pico PIO USB 0.6.1\u7248<\/a><\/li>\n<\/ul>\n<p>\u203b Arduino-pico\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u5185\u306b\u306f\u3001Adafruit Tiny USB Library\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002Arduino-pico \u306e\u307f\u3092\u66f4\u65b0\u3059\u308b\u3068\u30d3\u30eb\u30c9\u6642\u306b\u4e0d\u90fd\u5408\u304c\u751f\u3058\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308b\u306e\u3067\u6ce8\u610f\u3002<\/p>\n<p>\u3069\u3061\u3089\u304b\u3068\u3044\u3046\u3068\u3001TinyUSB\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5358\u72ec\u3067\u5c0e\u5165\u305b\u305a\u30b3\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u4f9d\u5b58\u3057\u305f\u65b9\u304c\u3088\u3044\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001hoboNicola\u3067\u306fRP2040\u4ee5\u5916\u3082\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u73fe\u72b6\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u307e\u3059\u3002<\/p>\n<p>rp_hobo_nicola\u304a\u3088\u3073hoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u66f4\u65b0\u306f\u3001github\u306b\u3066\u884c\u3063\u3066\u3044\u307e\u3059\u3002hoboNicolaLibrary\u306e\u30c4\u30ea\u30fc\u5185\u306e examples\/rp_hobo_nicola\/rp_hobo_nicola.ino \u304c\u30e1\u30a4\u30f3\u30b9\u30b1\u30c3\u30c1\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u3053\u308c\u3092\u5225\u540d\u3067\u4fdd\u5b58\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u6539\u9020\u3059\u308b\u306a\u308a\u30d3\u30eb\u30c9\u3059\u308b\u306a\u308a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u3054\u6ce8\u610f<\/h2>\n<p>\u4eca\u56de\u516c\u958b\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306f\u3044\u304f\u3064\u304b\u306e\u5236\u9650\u4e8b\u9805\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u6295\u7a3f\u306e\u6700\u5f8c\u306e\u65b9\u306b\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3001\u3082\u3057\u3082\u540c\u3058\u3088\u3046\u306b\u4f5c\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u305f\u65b9\u306f\u3001\u78ba\u8a8d\u3057\u305f\u3046\u3048\u3067\u3069\u3046\u3059\u308b\u304b\u5224\u65ad\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2<\/h2>\n<p>\u5fc5\u8981\u306a\u3082\u306e\u306fRP2040\u642d\u8f09\u306e\u30de\u30a4\u30b3\u30f3\u30dc\u30fc\u30c9\u300122\u03a9\u306e\u62b5\u62972\u672c\u3001\u305d\u3057\u3066\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306eUSB Type-A\u30ec\u30bb\u30d7\u30bf\u30af\u30eb\u306e\u307f\u3067\u3042\u308b\u3002<\/p>\n<h3>Raspberry Pi PICO\u7248<\/h3>\n<p>\u4ee5\u4e0b\u306f\u3001Raspberry Pi PICO\u3092\u4f7f\u3046\u5834\u5408\u3002hoboNicola\u30a2\u30c0\u30d7\u30bf\u30fc\u3068\u3057\u3066\u4f7f\u3046\u3068\u304d\u306b\u306fLED\u304c2\u3064\u306f\u6b32\u3057\u3044\u306e\u3067\u3001GPIO6\u306b\u5897\u8a2d\u3057\u3066\u3044\u308b\u3002<\/p>\n<figure id=\"attachment_15097\" aria-describedby=\"caption-attachment-15097\" style=\"width: 479px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/66c19942ab4ba346fdb64ccc04cde373.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-15097 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/66c19942ab4ba346fdb64ccc04cde373.png\" alt=\"\" width=\"479\" height=\"406\" \/><\/a><figcaption id=\"caption-attachment-15097\" class=\"wp-caption-text\">raspberry pi pico hoboNicola<\/figcaption><\/figure>\n<p>SW1\u306f\u30ea\u30bb\u30c3\u30c8\u7528\u3067\u3001RUN\u7aef\u5b50\u3092LOW\u306b\u3059\u308b\u3068\u30de\u30a4\u30b3\u30f3\u306b\u30ea\u30bb\u30c3\u30c8\u304c\u304b\u304b\u308b\u3002\u4ee5\u4e0b\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30c7\u30b6\u30a4\u30f3\u30ac\u30a4\u30c9\u306b\u3088\u308b\u3068\u3001RUN\u7aef\u5b50\u306f\u5185\u90e8\u3067\u30d7\u30eb\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u5916\u4ed8\u3051\u306e\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u306f\u4e0d\u8981\u3068\u5224\u65ad\u3057\u305f\u3002<\/p>\n<p>Pi PICO\u306eKiCAD\u7528\u30b7\u30f3\u30dc\u30eb\u306f\u3001<a href=\"https:\/\/datasheets.raspberrypi.com\/rp2040\/hardware-design-with-rp2040.pdf\" target=\"_blank\" rel=\"noopener\"><strong>RP2040\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30c7\u30b6\u30a4\u30f3\u30ac\u30a4\u30c9(<em>Hardware design with RP2040<\/em>)<\/strong><\/a> \u306e\u3001<em>Chapter 3. The VGA, SD card &amp; audio demo boards for Raspberry Pi Pico and Raspberry Pi Pico W<\/em> \u306b\u30ea\u30f3\u30af\u304c\u57cb\u3081\u8fbc\u307e\u308c\u3066\u3044\u308b <a href=\"https:\/\/datasheets.raspberrypi.com\/rp2040\/VGA-KiCAD.zip\" target=\"_blank\" rel=\"noopener\">VGA-KiCAD.zip<\/a> \u5185\u306e\u3082\u306e\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3002\u3053\u306e\u6587\u732e\u306fPi PICO\u306e\u3088\u3046\u306a\u30de\u30a4\u30b3\u30f3\u30dc\u30fc\u30c9\u3092\u8a2d\u8a08\u3059\u308b\u305f\u3081\u306e\u6307\u91dd\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3068\u3066\u3082\u5b89\u4fa1\u306aRP2040\u30c1\u30c3\u30d7\u3092\u4f7f\u3063\u305f\u30aa\u30ea\u30b8\u30ca\u30eb\u30dc\u30fc\u30c9\u4f5c\u308a\u306e\u53c2\u8003\u306b\u306a\u308b\u3002\u305f\u3060\u3001PCB\u4f5c\u3063\u3066 0.4mm\u30d4\u30c3\u30c1\u306eQFN56\u306e\u624b\u30cf\u30f3\u30c0\u306b\u6311\u6226\u3059\u308b\u306b\u306f\u3061\u3087\u3063\u3068\u52c7\u6c17\u304c\u8db3\u308a\u306a\u3044\u3002<\/p>\n<h4>\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u5b9f\u88c5<\/h4>\n<p>Pi PICO\u3092\u4f7f\u3063\u305f\u30a2\u30c0\u30d7\u30bf\u30fc\u306f\u30c6\u30b9\u30c8\u7528\u3068\u3057\u3066\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306b\u7d44\u3093\u3060\u3002<\/p>\n<figure id=\"attachment_15121\" aria-describedby=\"caption-attachment-15121\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/eb5136e76e0085ce913d8856a17aa6f7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-15121\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/eb5136e76e0085ce913d8856a17aa6f7-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-15121\" class=\"wp-caption-text\">Pico pio usb hoboNicola (pi pico)<\/figcaption><\/figure>\n<p>\u3075\u3064\u3046\u306e\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u7d44\u3093\u3060\u304c\u3001Pi PICO\u304c\u5927\u304d\u3044\u3053\u3068\u3082\u3042\u3063\u3066\u4e0a\u306e\u3088\u3046\u306a\u914d\u7f6e\u306b\u306a\u3063\u305f\u3002\u30aa\u30f3\u30dc\u30fc\u30c9\u306e\u7dd1\u8272\u306eLED\u306f\u63a5\u7d9a\u4e2d\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u8a8d\u8b58\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3059READY_LED\u3067\u3001USB A\u30b3\u30cd\u30af\u30bf\u306e\u8107\u306b\u7acb\u3066\u3066\u3044\u308b\u9752\u3044LED\u304cNICOLA_LED\u306b\u306a\u308b\u3002<\/p>\n<figure id=\"attachment_15122\" aria-describedby=\"caption-attachment-15122\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/954657fc834cee0699ea83ca1422f815.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-15122\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/954657fc834cee0699ea83ca1422f815-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-15122\" class=\"wp-caption-text\">Pico pio usb hoboNicola (pi pico)<\/figcaption><\/figure>\n<p>\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u7aef\u5b50\u3082\u5c11\u306a\u3044\u306e\u3067\u3001\u3053\u3093\u306a\u5177\u5408\u306b\u3042\u3063\u3055\u308a\u3067\u304d\u305f\u3002<\/p>\n<p>\u304a\u3082\u306a\u6750\u6599\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a(\u4fa1\u683c\u306f\u79cb\u6708\u96fb\u5b50\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3067\u8abf\u3079\u305f\u3082\u306e)\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 33.3333%;\">\u54c1\u540d<\/td>\n<td style=\"width: 33.3333%;\">\u4fa1\u683c<\/td>\n<td style=\"width: 33.3333%;\">\u79cb\u6708\u5546\u54c1\u30b3\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%;\">Raspberry Pi PICO<\/td>\n<td style=\"width: 33.3333%;\">730\u5186<\/td>\n<td style=\"width: 33.3333%;\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%;\">USB\u30b3\u30cd\u30af\u30bfDIP\u5316\u30ad\u30c3\u30c8 (A\u30e1\u30b9)<\/td>\n<td style=\"width: 33.3333%;\">120\u5186<\/td>\n<td style=\"width: 33.3333%;\">AE-USB-A-DIP<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%;\">\u91d1\u5c5e\u76ae\u819c22\u03a9\u62b5\u6297<\/td>\n<td style=\"width: 33.3333%;\">200\u5186(@100\u672c)<\/td>\n<td style=\"width: 33.3333%;\">MFS25F22RB<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%;\">\u30ea\u30bb\u30c3\u30c8\u7528\u30bf\u30af\u30c8\u30b9\u30a4\u30c3\u30c1<\/td>\n<td style=\"width: 33.3333%;\">20\u5186<\/td>\n<td style=\"width: 33.3333%;\">TVBP06-B043CB-B<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%;\">\u3075\u3064\u3046\u306e\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9<\/td>\n<td style=\"width: 33.3333%;\">200\u5186<\/td>\n<td style=\"width: 33.3333%;\">BB-801<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%;\">LED\u3001\u30d4\u30f3\u30d8\u30c3\u30c0\u3001\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4\u306a\u3069<\/td>\n<td style=\"width: 33.3333%;\">200\u5186<\/td>\n<td style=\"width: 33.3333%;\">\u3044\u308d\u3044\u308d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u79cb\u6708\u3067\u307e\u3068\u3081\u3066\u8cb7\u3046\u306a\u3089\u3070\u3001<a href=\"https:\/\/akizukidenshi.com\/catalog\/g\/gK-16149\/\" target=\"_blank\" rel=\"noopener\">Raspberry Pi PICO\u30d9\u30fc\u30b7\u30c3\u30af\u30bb\u30c3\u30c8<\/a> (860\u5186)\u306e\u65b9\u304c\u30d4\u30f3\u30d8\u30c3\u30c0\u3084USB\u30b1\u30fc\u30d6\u30eb\u3082\u4ed8\u3044\u3066\u3044\u3066\u304a\u624b\u8efd\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<h3>XIAO RP2040\u7248<\/h3>\n<p>Seeed Studio XIAO RP2040\u3092\u4f7f\u3046\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u63a5\u7d9a\u306b\u306a\u308b\u3002XIAO\u306eKiCAD\u7528\u30b7\u30f3\u30dc\u30eb\u306fSeeed Stduio \u306e\u30b5\u30a4\u30c8\u304b\u3089\u53d6\u5f97\u3067\u304d\u308b\u3002<\/p>\n<figure id=\"attachment_15099\" aria-describedby=\"caption-attachment-15099\" style=\"width: 493px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/66c19942ab4ba346fdb64ccc04cde373-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-15099 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/66c19942ab4ba346fdb64ccc04cde373-2.png\" alt=\"\" width=\"493\" height=\"341\" \/><\/a><figcaption id=\"caption-attachment-15099\" class=\"wp-caption-text\">xiao_pio_usb_hoboNicola<\/figcaption><\/figure>\n<p>\u3044\u305a\u308c\u3082\u3001<strong>RP2040\u306eGPIO2\u306bD+\u3001GPIO3\u306bD- \u3092\u63a5\u7d9a\u3059\u308b<\/strong>\u69cb\u6210\u3068\u3057\u305f (\u30b9\u30b1\u30c3\u30c1\u306e\u4fee\u6b63\u3067 GPIO\u30d4\u30f3\u306f\u5909\u66f4\u3067\u304d\u308b\u3002D- \u306b\u306f\u3001D+ \u306b\u3064\u306a\u3044\u3060GPIO\u756a\u53f7+1 \u306e\u30d4\u30f3\u3092\u63a5\u7d9a\u3059\u308b\u3053\u3068)\u3002<\/p>\n<h4>\u306f\u3093\u3060\u4ed8\u3051\u3057\u3066\u5b9f\u88c5<\/h4>\n<p>\u624b\u6301\u3061\u306e\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb\u57fa\u677f\u3001USB Type-A\u30ec\u30bb\u30d7\u30bf\u30af\u30eb\u3001\u30d4\u30f3\u30bd\u30b1\u30c3\u30c8\u3092\u4f7f\u3063\u3066\u4f5c\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_15123\" aria-describedby=\"caption-attachment-15123\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/61f67fda41dc5007edc02f6e011cf61d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-15123\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/61f67fda41dc5007edc02f6e011cf61d-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-15123\" class=\"wp-caption-text\">Pico pio usb hoboNicola (xiao rp2040)<\/figcaption><\/figure>\n<p>\u3053\u308c\u3092\u4f5c\u3063\u305f\u3068\u304d\u306b\u306f\u3001\u679c\u305f\u3057\u3066\u3046\u307e\u304f\u3044\u304f\u3093\u304b\u3044\u306a\u3068\u3044\u3046\u61d0\u7591\u5fc3\u304c\u3042\u308a\u3001XIAO\u3092\u7121\u50b7\u3067\u56de\u53ce\u3067\u304d\u308b\u3088\u3046\u30d4\u30f3\u30bd\u30b1\u30c3\u30c8\u3092\u4f7f\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_15124\" aria-describedby=\"caption-attachment-15124\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/fced2ff8745423e9c9baf5e5a1fc0e1f.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-15124\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/fced2ff8745423e9c9baf5e5a1fc0e1f-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-15124\" class=\"wp-caption-text\">Pico pio usb hoboNicola (xiao rp2040)<\/figcaption><\/figure>\n<p>XIAO\u306b\u306fLED\u3082\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u3082\u8f09\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u7279\u306b\u914d\u7f6e\u3059\u308b\u90e8\u6750\u3082\u306a\u3044\u3002<\/p>\n<h4>\u3082\u3046\u4e00\u3064\u306e\u5b9f\u88c5<\/h4>\n<p>\u3057\u3070\u3089\u304f\u524d\u306b\u3001\u4ed6\u306ePCB\u3068\u3044\u3063\u3057\u3087\u306bXIAO + MAX3421EE\u7528\u306ePCB\u3082\u4f5c\u3063\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001\u3057\u3070\u3089\u304f\u306f(\u6570\u5e74\u306f\uff1f) MAX3421EE\u3092\u6b32\u3057\u3044\u5024\u6bb5\u3067\u5165\u624b\u3067\u304d\u306a\u3044\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u30012\u7b87\u6240\u306e\u30cf\u30f3\u30c0\u30b8\u30e3\u30f3\u30d1\u3092\u57cb\u3081\u308b\u3053\u3068\u3067\u3001Pico-PIO-USB + RP2040\u69cb\u6210\u306b\u3067\u304d\u308b\u3088\u3046\u306a\u914d\u7dda\u306b\u3057\u3066\u3044\u305f\u3002\u56de\u8def\u306f\u4e0a\u306b\u8f09\u305b\u305f\u3082\u306e\u3068\u540c\u3058\u306b\u306a\u308b\u3002<\/p>\n<figure id=\"attachment_15126\" aria-describedby=\"caption-attachment-15126\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/0012749913970215fcfbaaf97b52049d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-15126\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/0012749913970215fcfbaaf97b52049d-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-15126\" class=\"wp-caption-text\">Pico pio usb hoboNicola (xiao rp2040)<\/figcaption><\/figure>\n<figure id=\"attachment_15125\" aria-describedby=\"caption-attachment-15125\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/225b2c6611a4dd02f2420cfe0c8dfc19.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-15125\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/225b2c6611a4dd02f2420cfe0c8dfc19-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-15125\" class=\"wp-caption-text\">Pico pio usb hoboNicola (xiao rp2040)<\/figcaption><\/figure>\n<p>XIAO RP2040\u306e\u4e0b\u306b\u306f22\u03a9\u306e\u30c1\u30c3\u30d7\u62b5\u6297\u304c2\u3064\u8f09\u3063\u3066\u3044\u308b\u3060\u3051\u3002<\/p>\n<h4>Pi PICO\u304bXIAO RP2040\u304b<\/h4>\n<p>Pi PICO\u3068 XIAO RP2040\u3092\u6bd4\u3079\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u76f8\u9055\u304c\u3042\u308b\u3002<\/p>\n<ul>\n<li>XIAO\u306b\u306f\u30aa\u30f3\u30dc\u30fc\u30c9\u306e\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u304c\u3042\u308b\u304c\u3001Pi PICO\u306b\u306f\u306a\u3044\u3002<\/li>\n<li>XIAO\u306b\u306f\u30a2\u30ce\u30fc\u30c9\u30b3\u30e2\u30f3\u306eRGB LED (\u5b9f\u8cea\u7684\u306bLED3\u3064)\u3068NeoPixel (WS2812B)\u304c\u8f09\u3063\u3066\u3044\u308b\u304c\u3001Pi PICO\u306e\u30aa\u30f3\u30dc\u30fc\u30c9LED\u306f1\u3064\u3060\u3051\u3002\u4eca\u56de\u306ehoboNicola\u30a2\u30c0\u30d7\u30bf\u30fc\u306b\u306f\u3001LED\u304c2\u3064\u3042\u3063\u305f\u307b\u3046\u304c\u3088\u3044\u3002<\/li>\n<li>Pi PICO\u306b\u306f\u30d1\u30ef\u30fc\u30a4\u30f3\u30b8\u30b1\u30fc\u30bfLED (PON LED)\u304c\u306a\u3044\u306e\u3067\u3001\u6d88\u8cbb\u96fb\u6d41\u306e\u9762\u30671mA\u3061\u3087\u3063\u3068\u6709\u5229\u3067\u3042\u308b\u3002<\/li>\n<li>XIAO\u306eUSB\u306fType-C\u3060\u304c\u3001Pi PICO\u306fMicroB\u3002\u540c\u3058MicroB\u3067\u3082\u3001Pro Micro\u30b3\u30d4\u30fc\u54c1\u306e\u3088\u3046\u306a\u3082\u3052\u3084\u3059\u3044\u3082\u306e\u3067\u306f\u306a\u3044\u3002<\/li>\n<\/ul>\n<p>\u500b\u4eba\u7684\u306b\u306f\u3001XIAO RP2040\u306e\u65b9\u304c\u914d\u7dda\u3059\u308b\u624b\u9593\u3082\u5c11\u306a\u304f\u4eca\u56de\u306e\u7528\u9014\u306b\u9069\u3057\u3066\u3044\u308b\u3068\u601d\u3046\u3002<\/p>\n<h2>\u30d3\u30eb\u30c9\u7528\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306b\u3064\u3044\u3066<\/h2>\n<p>\u30d3\u30eb\u30c9\u306fArduino IDE 1.8.19 (Windows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248)\u3067\u884c\u3063\u305f\u3002\u305d\u3057\u3066\u3001RP2040\u7528\u306e\u30b3\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8(\u3042\u308b\u3044\u306fBoard Support Package)\u3068\u3057\u3066\u3001<em>Earle F. Philhower, III<\/em>\u6c0f\u306b\u3088\u308b<strong><a href=\"https:\/\/github.com\/earlephilhower\/arduino-pico\" target=\"_blank\" rel=\"noopener\">\u00a0Raspberry Pi Pico Arduino core (Arduino-Pico)<\/a>\u00a0<\/strong> \u3092\u4f7f\u3046\u3002hoboNicola 1.6.2\u7248\u306e\u8a71\u3068\u91cd\u8907\u3059\u308b\u304c\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u5c0e\u5165\u3059\u308b\u3002<\/p>\n<h4>Arduino-PICO\u306e\u5c0e\u5165<\/h4>\n<p>Arduino IDE\u306e<strong>\u74b0\u5883\u8a2d\u5b9a\uff0f\u8ffd\u52a0\u306e\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3\u306eURL:<\/strong> \u306b\u3001 <span class=\"lang:default decode:true crayon-inline\">https:\/\/github.com\/earlephilhower\/arduino-pico\/releases\/download\/global\/package_rp2040_index.json<\/span>\u00a0\u00a0 \u3092\u8ffd\u52a0\u3057\u3066Arduino IDE\u3092\u518d\u8d77\u52d5\u3059\u308b\u3002\u305d\u3057\u3066\u3001<strong>\u30c4\u30fc\u30eb\uff0f\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3<\/strong>\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b RP2040\u3068\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u00a0<strong>Raspberry Pi Pico\/RP2040 by Earle F. Philhower, III<\/strong> \u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<figure id=\"attachment_15103\" aria-describedby=\"caption-attachment-15103\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/0d40a5e4a645fc6b96e767d64ac0878e.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-15103\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/0d40a5e4a645fc6b96e767d64ac0878e-552x311.png\" alt=\"\" width=\"552\" height=\"311\" \/><\/a><figcaption id=\"caption-attachment-15103\" class=\"wp-caption-text\">Arduino IDE Board Manager<\/figcaption><\/figure>\n<p>\u4eca\u56de\u306f\u3001<strong>\u30d0\u30fc\u30b8\u30e7\u30f32.5.2<\/strong> \u3067\u30d3\u30eb\u30c9\u3068\u52d5\u4f5c\u78ba\u8a8d\u3092\u884c\u3063\u305f\u3002\u8ffd\u8a18\u3057\u3066\u304a\u304f\u3068\u3001<strong>\u30d0\u30fc\u30b8\u30e7\u30f32.6.3<\/strong>\u3067\u306e\u30d3\u30eb\u30c9\uff0f\u52d5\u4f5c\u3082\u554f\u984c\u306a\u304b\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_14969\" class=\"wp-caption aligncenter\" aria-describedby=\"caption-attachment-14969\"><figcaption id=\"caption-attachment-14969\" class=\"wp-caption-text\"><\/figcaption><\/figure>\n<p>\u307e\u305f\u3001\u30b3\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u304a\u3088\u3073hoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4ed6\u306b\u4ee5\u4e0b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5c0e\u5165\u304c\u5fc5\u9808\u3067\u3042\u308b\u3002<\/p>\n<ul>\n<li><strong><a href=\"https:\/\/www.arduino.cc\/reference\/en\/libraries\/pico-pio-usb\/\" target=\"_blank\" rel=\"noopener\">PICO PIO USB 0.5\u7248<\/a><\/strong><\/li>\n<li><a href=\"https:\/\/www.arduino.cc\/reference\/en\/libraries\/adafruit-tinyusb-library\/\"><strong>Adafruit TinyUSB\u00a01.14.3\u7248<\/strong><\/a><\/li>\n<\/ul>\n<p>\u3044\u305a\u308c\u3082ZIP\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u3001Arduino IDE\u306e <strong>\u30b9\u30b1\u30c3\u30c1\uff0f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\uff0f.ZIP\u5f62\u5f0f\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb&#8230;<\/strong> \u3092\u9078\u629e\u3057\u3066\u5c0e\u5165\u3059\u308b\u3002<\/p>\n<h4>\u30d3\u30eb\u30c9\u6642\u306e\u8a2d\u5b9a<\/h4>\n<p>Arduino IDE\u306e <strong>\u30c4\u30fc\u30eb\uff0f\u30dc\u30fc\u30c9<\/strong> \u3067\u00a0<strong>Raspberry Pi RP2040 Boards (2.5.2)<\/strong> \u3092\u9078\u3076\u3068\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u30dc\u30fc\u30c9\u540d\u304c\u305a\u3089\u3063\u3068\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001<strong>Raspberry Pi Pico<\/strong> \u307e\u305f\u306f <strong>Seeed XIAO RP2040<\/strong>\u3092\u9078\u629e\u3059\u308b(\u4ee5\u524d\u306f XIAO\u3067\u306f\u306a\u304f<strong>XAIO\u3060\u3063\u305f<\/strong>\u304c\u3001\u3044\u3064\u306e\u9593\u306b\u304b\u4fee\u6b63\u3055\u308c\u3066\u3044\u305f)\u3002<\/p>\n<figure id=\"attachment_15104\" aria-describedby=\"caption-attachment-15104\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/0d40a5e4a645fc6b96e767d64ac0878e-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-15104 size-large\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/0d40a5e4a645fc6b96e767d64ac0878e-1-552x325.png\" alt=\"\" width=\"552\" height=\"325\" \/><\/a><figcaption id=\"caption-attachment-15104\" class=\"wp-caption-text\">Arduino IDE Board selection.<\/figcaption><\/figure>\n<p><span style=\"font-size: 14pt;\"><strong>CPU Speed:<\/strong> \u306f<strong>120MHz<\/strong><\/span>\u3068\u3059\u308b\u3002TinyUSB + PICO-PIO-USB\u3067USB\u30db\u30b9\u30c8\u6a5f\u80fd\u3092\u5b9f\u73fe\u3059\u308b\u5834\u5408\u3001120MHz\u307e\u305f\u306f\u30aa\u30fc\u30d0\u30fc\u30af\u30ed\u30c3\u30af\u306e240MHz\u3092\u9078\u629e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b(\u30af\u30ed\u30c3\u30af\u304c\u9ad8\u3044\u307b\u3069\u6d88\u8cbb\u96fb\u6d41\u3082\u5927\u304d\u304f\u306a\u308b\u306e\u3067\u3001240MHz\u306f\u8a66\u3057\u3066\u3044\u306a\u3044)\u3002<\/p>\n<p><strong>USB Stack:<\/strong>\u00a0\u306f\u3001<strong>Adafruit TinyUSB<\/strong>\u00a0\u3092\u9078\u629e\u3059\u308b\u3002\u73fe\u72b6\u306ehoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001AVR\u4ee5\u5916\u306fAdafruit TinyUSB\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u3002<\/p>\n<p><strong>\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8:<\/strong> \u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u63a5\u7d9a\u4e2d\u306eRP2040 (Raspberry Pi Pico\u3068\u8868\u793a\u3055\u308c\u308b)\u304c\u898b\u3048\u308b\u306f\u305a\u306a\u306e\u3067\u305d\u308c\u3092\u9078\u629e\u3059\u308b\u3002<\/p>\n<figure id=\"attachment_15109\" aria-describedby=\"caption-attachment-15109\" style=\"width: 492px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/0d40a5e4a645fc6b96e767d64ac0878e-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-15109 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2022\/09\/0d40a5e4a645fc6b96e767d64ac0878e-3.png\" alt=\"\" width=\"492\" height=\"337\" \/><\/a><figcaption id=\"caption-attachment-15109\" class=\"wp-caption-text\">Arduino IDE Serial Port selection<\/figcaption><\/figure>\n<p>\u305d\u306e\u4ed6\u306e\u8a2d\u5b9a\u306f\u3001\u521d\u671f\u5024\u306e\u307e\u307e\u3068\u3057\u3066\u3044\u308b\u3002Flash Size\u306b\u3064\u3044\u3066\u306f\u5c06\u6765\u7684\u306b\u5909\u66f4\u304c\u5fc5\u8981\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<h2>hoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea1.6.3\u7248\u306b\u3064\u3044\u3066<\/h2>\n<p>hoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3064\u3044\u3066\u306f\u6a5f\u80fd\u9762\u3067\u306e\u5909\u66f4\u306f\u307b\u3068\u3093\u3069\u306a\u304f\u3001\u65b0\u305f\u306b\u5bfe\u5fdc\u3057\u305f<strong>Raspberry Pi Pico<\/strong> \u3092\u30bf\u30fc\u30b2\u30c3\u30c8\u30dc\u30fc\u30c9\u3068\u3057\u305f\u3068\u304d\u306e\u5bfe\u7b56\u304c\u4e2d\u5fc3\u3002\u5909\u66f4\u70b9\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3002<\/p>\n<ul style=\"list-style-type: circle;\">\n<li>\u30bf\u30fc\u30b2\u30c3\u30c8\u30dc\u30fc\u30c9\u3068\u3057\u3066<strong>Raspberry Pi Pico<\/strong>\u3092\u9078\u629e\u3057\u305f\u3068\u304d\u3001\u30dc\u30fc\u30c9\u540d\u672a\u5b9a\u7fa9\u306b\u3088\u308b\u30d3\u30eb\u30c9\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u3001\u6570\u30ab\u6240\u306b <em>#if defined(ARDUINO_RASPBERRY_PI_PICO<\/em><em>)<\/em> \u306a\u3069\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30c6\u30a3\u30d6\u3092\u8ffd\u52a0\u3057\u305f\u3002<\/li>\n<li>Raspberry Pi Pico\u7528\u306eLED\u30dd\u30fc\u30c8\u306e\u5b9a\u7fa9\u3092\u8ffd\u52a0\u3002<\/li>\n<li>Seeed Stduio XIAO RP2040\u3092\u9078\u629e\u3057\u305f\u3068\u304d\u3001\u30d3\u30eb\u30c9\u6642\u306b\u5b9a\u7fa9\u3055\u308c\u308b\u30b7\u30f3\u30dc\u30eb\u540d\u304c\u3001<strong>ARDUINO_SEEED_XAIO_RP2040<\/strong> \u304b\u3089 <strong>ARDUINO_SEEED_XIAO_RP2040<\/strong> \u306b\u5909\u66f4\u306b\u306a\u3063\u305f\u306e\u306b\u5bfe\u5fdc\u3002\u3069\u3061\u3089\u3067\u3082\u30d3\u30eb\u30c9\u306f\u901a\u308b\u3088\u3046\u306b\u3057\u305f\u3002<\/li>\n<\/ul>\n<h2>rp_hobo_nicola.ino \u306b\u3064\u3044\u3066<\/h2>\n<p>PICO_PIO_USB\u3092\u4f7f\u3063\u305fhoboNicola\u306e\u30e1\u30a4\u30f3\u30b9\u30b1\u30c3\u30c1\u3068\u3057\u3066\u3001<strong>rp_hobo_nicola.ino<\/strong>\u3092\u4f5c\u6210\u3057\u305f\u3002TinyUSB\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308bPICO_PIO_USB\u3092\u4f7f\u3063\u305fUSB\u30db\u30b9\u30c8\u6a5f\u80fd\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306f\u3001\u3059\u3079\u3066\u3053\u306e\u30b9\u30b1\u30c3\u30c1\u5185\u306b\u304a\u3055\u3081\u3066\u3044\u308b\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u306eexamples\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5165\u3063\u3066\u307e\u3059\u3002<\/p>\n<p>\u30c8\u30d4\u30c3\u30af\u30b9\u7684\u306a\u4e8b\u67c4\u3092\u3044\u304f\u3064\u304b\u3002<\/p>\n<h3>\u30c7\u30e5\u30a2\u30eb\u30b3\u30a2\u95a2\u4fc2<\/h3>\n<h4>USB\u30db\u30b9\u30c8\u6a5f\u80fd\u306fcore1<\/h4>\n<p>TinyUSB\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u542b\u307e\u308c\u3066\u3044\u308b <em><strong>Adafruit_USBH_Host<\/strong><\/em>\u30af\u30e9\u30b9\u306fPICO_PIO_USB\u3067\u5b9f\u73fe\u3055\u308c\u308b2\u3064\u76ee\u306eUSB\u30dd\u30fc\u30c8\u3092\u4f7f\u3063\u3066USB\u30db\u30b9\u30c8\u6a5f\u80fd\u3092\u5b9f\u73fe\u3057\u3066\u304f\u308c\u308b\u30022\u3064\u76ee\u306eUSB\u30dd\u30fc\u30c8\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067(\u3068\u3044\u3046\u304b\u3001PIO\u3067) GPIO\u30dd\u30fc\u30c8\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067\u9001\u53d7\u4fe1\u3092\u5b9f\u73fe\u3057\u3066\u3044\u308b <strong>Bit-Banging USB<\/strong> \u306a\u306e\u3067\u3001\u4ed6\u306e\u51e6\u7406\u3068\u540c\u3058\u30b9\u30ec\u30c3\u30c9\u3067\u52d5\u304b\u3059\u306e\u306f\u3046\u307e\u304f\u306a\u3044\u3002\u305d\u306e\u305f\u3081USB\u30db\u30b9\u30c8\u6a5f\u80fd\u306f\u3001RP2040\u306e2\u3064\u306e\u30b3\u30a2\u306e\u3046\u3061\u306e <strong>core1<\/strong> \u3067\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002USB\u30db\u30b9\u30c8\u4ee5\u5916\u306e\u51e6\u7406(\u4eca\u56de\u306f\u3001hoboNicola\u306eUSB\u30c7\u30d0\u30a4\u30b9 = HID\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u306e\u51e6\u7406)\u306f\u3001\u5f93\u6765\u540c\u69d8\u306b<strong>core0<\/strong>\u3067\u52d5\u4f5c\u3059\u308b\u3002<\/p>\n<p>core1 \u3067\u306e\u51e6\u7406\u306fUSB\u30c7\u30d0\u30a4\u30b9(HID\u30ad\u30fc\u30dc\u30fc\u30c9)\u306e\u63a5\u7d9a\uff0f\u5207\u65ad\u306e\u76e3\u8996\u3084HID\u5165\u529b\u304a\u3088\u3073\u51fa\u529b\u30ec\u30dd\u30fc\u30c8\u306e\u3084\u308a\u53d6\u308a\u306b\u306a\u308b\u3002<strong>\u5f93\u6765\u306ehoboNicola\u30a2\u30c0\u30d7\u30bf\u30fc\u3067USB\u30db\u30b9\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc(MAX3421\u3084CH9350L)\u306b\u983c\u3063\u3066\u3044\u305f\u90e8\u5206\u3092\u3001\u540c\u3058\u30de\u30a4\u30b3\u30f3\u306ecore1\u304c\u62c5\u3046<\/strong>\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<h4>queue\u3092\u4f7f\u3063\u3066\u30b3\u30a2\u9593\u3067\u30ad\u30fc\u5165\u529b\u3092\u53d7\u3051\u6e21\u3059<\/h4>\n<p>core1\u304c\u5f97\u305fHID\u5165\u529b\u30ec\u30dd\u30fc\u30c8(\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u306e\u30ad\u30fc\u5165\u529b)\u306f\u3001\u5f93\u6765\u306e\u30a2\u30c0\u30d7\u30bf\u30fc\u3067\u306fSPI\u3084UART\u3067\u53d7\u3051\u3066\u3044\u305f\u304c\u3001\u4eca\u56de\u306f\u30012\u3064\u306e\u30b3\u30a2\u3067\u5171\u6709\u3059\u308b <strong>queue<\/strong> \u3092\u4ecb\u3057\u3066core0\u306b\u6e21\u3059\u3088\u3046\u306b\u3057\u305f (<a href=\"https:\/\/raspberrypi.github.io\/pico-sdk-doxygen\/group__queue.html\" target=\"_blank\" rel=\"noopener\">queue<\/a>\u306f\u3001Pico SDK\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u4fbf\u5229\u306aAPI\u306e\u4e00\u3064)\u3002<\/p>\n<p>core1\u3067\u306f\u3001\u5165\u529b\u30ec\u30dd\u30fc\u30c8\u3092\u691c\u51fa\u3059\u308b\u3068\u65b0\u305f\u306b\u30aa\u30f3\u306b\u306a\u3063\u305f\u30ad\u30fc\u3001\u30aa\u30d5\u306b\u306a\u3063\u305f\u30ad\u30fc\u306e\u30b3\u30fc\u30c9 (HID Usage ID)\u3092\u751f\u6210\u3057\u3066queue\u306b\u8ffd\u52a0\u3059\u308b\u3002core0\u3067\u52d5\u304f\u30e1\u30a4\u30f3\u30eb\u30fc\u30d7\u306f\u3001\u6570msec\u3054\u3068\u306bqueue \u3092\u30dd\u30fc\u30ea\u30f3\u30b0\u3057\u3066\u65b0\u305f\u306a\u30ad\u30fc\u30a4\u30d9\u30f3\u30c8(\u30b3\u30fc\u30c9\u304a\u3088\u3073\u30aa\u30f3\u30fb\u30aa\u30d5\u60c5\u5831)\u306e\u6709\u7121\u3092\u691c\u51fa\u3059\u308b\u3002\u65b0\u3057\u3044\u30ad\u30fc\u30a4\u30d9\u30f3\u30c8\u304c\u3042\u308c\u3070hoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u6e21\u3057\u3066\u5f93\u6765\u901a\u308a\u306e\u51e6\u7406\u3092\u884c\u3046\u3002\u3064\u307e\u308a\u3001\u30dd\u30fc\u30ea\u30f3\u30b0\u306e\u5bfe\u8c61\u304c\u5909\u308f\u3063\u305f\u3060\u3051\u3067\u3001\u5f93\u6765\u306ehoboNicola\u306e\u30e1\u30a4\u30f3\u30b9\u30b1\u30c3\u30c1\u3068\u5909\u308f\u3089\u306a\u3044\u3002<\/p>\n<p>queue(\u30ad\u30e5\u30fc)\u3063\u3066\u4f55\uff1f \u3068\u3044\u3046\u3068\u304d\u306f<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%82%AD%E3%83%A5%E3%83%BC_%28%E3%82%B3%E3%83%B3%E3%83%94%E3%83%A5%E3%83%BC%E3%82%BF%29\" target=\"_blank\" rel=\"noopener\">wikipedia\u306e\u30da\u30fc\u30b8<\/a>\u3092\u53c2\u7167\u306e\u3053\u3068\u3002<\/p>\n<h4>core0\u3068core1\u306e\u95a2\u4fc2<\/h4>\n<p>Arduino-pico \u3067\u306f\u3001\u30b9\u30b1\u30c3\u30c1\u5185\u306b <em>void setup1()<\/em> \u304a\u3088\u3073 <em>void loop1()<\/em> \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3068\u30de\u30eb\u30c1\u30b3\u30a2\u3092\u610f\u56f3\u3057\u305f\u30b9\u30b1\u30c3\u30c1\u3060\u3068\u5224\u65ad\u3057\u3001<a href=\"https:\/\/raspberrypi.github.io\/pico-sdk-doxygen\/group__pico__multicore.html\" target=\"_blank\" rel=\"noopener\"><em>multicore_launch_core1()<\/em> <\/a>\u3092\u4f7f\u3063\u3066core1\u3092\u958b\u59cb\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u30ea\u30bb\u30c3\u30c8\u5f8c\u306b\u306f\u5fc5\u305acore0\u304c\u958b\u59cb\u3057\u3001\u3053\u306e\u30b3\u30a2\u3067<em> void main()<\/em> \u304c\u5b9f\u884c\u3055\u308c\u308b\u3002\u30de\u30eb\u30c1\u30b3\u30a2\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306a\u3089\u3070\u3001<em>main()<\/em> \u5185\u3067 core1\u3092\u4f7f\u3063\u3066 <em>main1()<\/em> \u304c\u958b\u59cb\u3057\u305d\u306e\u4e2d\u304b\u3089 <em>setup1() \u3068 loop1()<\/em> \u304c\u5b9f\u884c\u3055\u308c\u308b\u3002core1\u3092\u958b\u59cb\u3057\u305f\u3042\u3068\u3001\u3075\u3064\u3046\u306eArduino\u3067\u304a\u306a\u3058\u307f\u306e <em>void setup() \u3068 void loop()<\/em> \u306e\u5b9f\u884c\u304c\u958b\u59cb\u3059\u308b\u3002\u64ec\u4f3c\u30b3\u30fc\u30c9\u3067\u66f8\u304f\u3068\u3060\u3044\u305f\u3044\u3053\u3093\u306a\u5177\u5408\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\">void main1() { \r\n  if (setup1)\r\n    setup1();\r\n  while(1)\r\n    if (loop1) loop1();\r\n}\r\n\r\nvoid main() { \/\/ \u30d7\u30ed\u30b0\u30e9\u30e0\u30a8\u30f3\u30c8\u30ea\r\n  if (setup1 || loop1)\r\n    multicore_launch_core1(main1);\r\n  setup();\r\n  while(1)\r\n    loop();\r\n}<\/pre>\n<h4>setup()\u3092setup1()\u3088\u308a\u5148\u306b\u5b9f\u884c\u3057\u305f\u3044<\/h4>\n<p><em>void main()<\/em> \u3092\u81ea\u524d\u3067\u7528\u610f\u3059\u308c\u3070\u3001\u5148\u306b<em>setup()<\/em> \u3092\u5b9f\u884c\u3057\u305f\u3042\u3068\u3067<em>setup1()<\/em> \u3092\u5b9f\u884c\u3059\u308b\u306a\u3069\u3082\u53ef\u80fd\u3060\u304c\u3001\u30b3\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u66f4\u65b0\u6642\u306b\u306a\u306b\u304b\u8ffd\u52a0\u3055\u308c\u305f\u308a\u3059\u308b\u3068\u3061\u3087\u3063\u3068\u30a2\u30ec\u306a\u306e\u3067\u3001<em>main()<\/em> \u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u3082\u306e (main.cpp) \u3092\u305d\u306e\u307e\u307e\u5229\u7528\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<em>setup1()<\/em>\u306e\u5148\u982d\u306b <strong><em>delay(10);<\/em><\/strong>\u00a0 \u3092\u7f6e\u304f\u3053\u3068\u3067 core1\u306e\u9032\u884c\u3092\u3061\u3087\u3063\u3068\u5f85\u305f\u305b\u308b\u3053\u3068\u306b\u3057\u3001\u305d\u306e\u9593\u306b<em>setup()<\/em>\u3067 LED\u7528\u30dd\u30fc\u30c8\u306e\u521d\u671f\u5316\u3084queue\u306e\u521d\u671f\u5316\u306a\u3069\u3092\u884c\u308f\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002<\/p>\n<h3>TinyUSB\u306eUSB\u30db\u30b9\u30c8\u30b5\u30dd\u30fc\u30c8<\/h3>\n<p>TinyUSB\u306eUSB\u30db\u30b9\u30c8\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u306f\u3001 <em><strong>Adafruit_USBH_Host USBHost\u00a0<\/strong> <\/em>\u3092\u5ba3\u8a00\u3057\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9<em><strong>USBHost <\/strong><\/em>\u306e<em><strong> task();<\/strong> <\/em>\u3092(\u3044\u305a\u308c\u304b\u306e\u30b3\u30a2\u306e)\u30e1\u30a4\u30f3\u30eb\u30fc\u30d7\u3067\u5b9f\u884c\u3059\u308b\u3002USBHost \u5185\u3067\u3001USB HID\u30c7\u30d0\u30a4\u30b9\u306e\u63a5\u7d9a\u3001\u5207\u65ad\u3001\u30c7\u30fc\u30bf\u8ee2\u9001\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u691c\u51fa\u3055\u308c\u308b\u3068\u5bfe\u5fdc\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u308b\u3002rp_hobo_nicola.ino\u3067\u306f\u4ee5\u4e0b\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n<h5>void tuh_hid_mount_cb()<\/h5>\n<p>HID\u30c7\u30d0\u30a4\u30b9(\u30ad\u30fc\u30dc\u30fc\u30c9\u3001\u30de\u30a6\u30b9\u306a\u3069)\u304c2\u3064\u76ee\u306eUSB\u30dd\u30fc\u30c8\u306b\u63a5\u7d9a\u3055\u308c\u3001\u305d\u306e\u30c7\u30d0\u30a4\u30b9\u304c\u6b63\u3057\u304f\u8a8d\u8b58\u3067\u304d\u308b\u3068\u547c\u3073\u51fa\u3055\u308c\u308b\u3002<\/p>\n<p>rp_hobo_nicola.ino\u3067\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u8a8d\u8b58\u3055\u308c\u305f\u3053\u3068\u3092\u793a\u3059 READY_LED\u306e\u70b9\u706f\u3001<em>tuh_hid_parse_report_descriptor()<\/em> \u3092\u4f7f\u3063\u305f\u30ec\u30dd\u30fc\u30c8\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u306e\u89e3\u6790(\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u3042\u308b\u3053\u3068\u306e\u78ba\u8a8d\u3068\u30ec\u30dd\u30fc\u30c8ID\u306e\u53d6\u5f97) \u3092\u884c\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>READY_LED\u306f\u3001Pi PICO\u306a\u3089\u3070\u30aa\u30f3\u30dc\u30fc\u30c9LED(GPIO25)\u3001XIAO RP2040\u306fRGBLED\u306e\u9752(GPIO25)\u306b\u5272\u308a\u5f53\u3066\u3066\u3044\u308b (hobo_board_config.h)\u3002<\/p>\n<p>\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30c7\u30d0\u30a4\u30b9(Composite Device) \u306e\u5834\u5408\u306f\u30ec\u30dd\u30fc\u30c8ID\u304c0\u4ee5\u5916\u3068\u306a\u308b\u306e\u3067\u3001\u30ec\u30dd\u30fc\u30c8\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u304b\u3089\u305d\u308c\u3092\u5f97\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b (\u5165\u529b\u30ec\u30dd\u30fc\u30c8\u306e\u5148\u982d\u306b\u30ec\u30dd\u30fc\u30c8ID\u304c\u8ffd\u52a0\u3055\u308c\u308b)\u3002<\/p>\n<p>\u307e\u305f\u3001\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30c7\u30d0\u30a4\u30b9\u69cb\u6210\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u306b\u3088\u3063\u3066\u306f\u3001\u63a5\u7d9a\u6642\u306b\u3053\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u304c\u8907\u6570\u56de\u547c\u3070\u308c\u3001\u305d\u306e\u5ea6\u3054\u3068\u306b\u7570\u306a\u308b\u30ec\u30dd\u30fc\u30c8\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u304c\u8aad\u307f\u53d6\u308c\u305f\u308a\u3059\u308b\u306e\u3067\u3001Usage Page\u304c0x0001(Generic Desktop)\u3067\u3001Usage\u304c0x06 (\u30ad\u30fc\u30dc\u30fc\u30c9)\u306e\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u3092\u898b\u3064\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>\u30ad\u30fc\u30dc\u30fc\u30c9\u4ee5\u5916\u304c\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u629c\u304b\u308c\u308b\u307e\u3067READY_LED\u3092\u70b9\u6ec5\u3055\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u3042\u308b\u3002<\/p>\n<h5>void tuh_hid_umount_cb()<\/h5>\n<p>HID\u30c7\u30d0\u30a4\u30b9\u304cUSB\u30dd\u30fc\u30c8\u304b\u3089\u629c\u304d\u53bb\u3089\u308c\u305f\u3068\u304d\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002<\/p>\n<p>rp_hobo_nicola.ino\u3067\u306f\u3001READY_LED\u306e\u6d88\u706f\u3068<em>tuh_hid_mount_cb()<\/em>\u3067\u30bb\u30c3\u30c8\u3057\u305f\u60c5\u5831\u306e\u521d\u671f\u5316\u3092\u884c\u3063\u3066\u3044\u308b\u3002<\/p>\n<h5>void tuh_hid_report_received_cb()<\/h5>\n<p>\u63a5\u7d9a\u4e2d\u306eHID\u30c7\u30d0\u30a4\u30b9\u304b\u3089\u306e\u5165\u529b\u30ec\u30dd\u30fc\u30c8\u3092\u53d7\u3051\u305f\u3068\u304d\u306b\u63a5\u7d9a\u6642\u306b\u5f97\u305f\u30ec\u30dd\u30fc\u30c8ID\u304c0\u4ee5\u5916\u306a\u3089\u3070\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30c7\u30d0\u30a4\u30b9\u69cb\u6210\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3001\u305d\u3046\u3067\u306a\u3044\u306a\u3089\u3070\u5358\u306a\u308b\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u307f\u306a\u3057\u3066\u5165\u529b\u30ec\u30dd\u30fc\u30c8\u3092\u89e3\u6790\u3057\u3001\u65b0\u305f\u306a\u30ad\u30fc\u30a4\u30d9\u30f3\u30c8(\u30aa\u30f3\u306b\u306a\u3063\u305f\u30ad\u30fc\u3001\u30aa\u30d5\u306b\u306a\u3063\u305f\u30ad\u30fc\u306e\u60c5\u5831)\u3092\u62bd\u51fa\u3057\u3001queue\u306b\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u53d7\u3051\u308b\u305f\u3081\u306b\u306f\u3001\u6bce\u56de <em>tuh_hid_receive_report()<\/em> \u3092\u547c\u3073\u51fa\u3059\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<h3>\u30ad\u30fc\u30dc\u30fc\u30c9LED\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb<\/h3>\n<p>\u30ad\u30fc\u30dc\u30fc\u30c9\u306eLED (CapsLock, ScrLock, NumLock) \u306e\u72b6\u614b\u306f\u3001PC\u306a\u3069\u306e\u30db\u30b9\u30c8\u304b\u3089\u306e\u51fa\u529b\u30ec\u30dd\u30fc\u30c8\u306b\u3088\u3063\u3066\u6c7a\u307e\u308b\u306e\u3067\u3001\u3053\u308c\u3092<em><strong>USBHost<\/strong><\/em> \u3092\u4f7f\u3063\u3066\u30ad\u30fc\u30dc\u30fc\u30c9\u306b\u4f1d\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>core0\u306ehoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u53d7\u3051\u305fLED\u72b6\u614b(8\u30d3\u30c3\u30c8\u30c7\u30fc\u30bf)\u3092\u5909\u6570<em> kbd_led_state<\/em> \u306b\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304d\u3001core1\u306e <em>loop1()<\/em> \u5185\u3067\u3053\u306e\u5024\u3092\u53c2\u7167\u3059\u308b\u3002LED\u5024\u304c\u524d\u56de\u3068\u7570\u306a\u3063\u3066\u3044\u308c\u3070 <em>tuh_hid_set_report()<\/em>\u00a0 \u3092\u4f7f\u3063\u3066\u30ad\u30fc\u30dc\u30fc\u30c9\u306b\u53cd\u6620\u3059\u308b\u3002\u30eb\u30fc\u30d7\u304c\u56de\u308b\u3054\u3068\u306b\u3084\u308b\u3088\u3046\u306a\u4ed5\u4e8b\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u7d04150msec\u306b\u4e00\u5ea6\u306e\u983b\u5ea6\u3067 <em>kbd_led_state<\/em>\u00a0 \u306e\u30c1\u30a7\u30c3\u30af\u3068\u53cd\u6620\u3092\u884c\u3063\u3066\u3044\u308b\u3002<\/p>\n<h3>\u30b9\u30ea\u30fc\u30d7\u6642\u306e\u52d5\u4f5c\u306b\u3064\u3044\u3066<\/h3>\n<p>RP2040\u3092hoboNicola\u306e\u3088\u3046\u306a\u306e\u3093\u3073\u308a\u3057\u305f\u88c5\u7f6e\u306b\u4f7f\u3046\u3068\u3001\u6d88\u8cbb\u96fb\u6d41\u306e\u5927\u304d\u3055\u304c\u3068\u3066\u3082\u6c17\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002miniUHS\u3084CH9350L\u3068\u7d44\u307f\u5408\u308f\u305b\u305f\u969b\u306f\u3001\u30af\u30ed\u30c3\u30af50MHz\u306b\u843d\u3068\u3059\u3053\u3068\u3067\u6539\u5584\u3057\u305f\u304c\u3001\u4eca\u56de\u306f120MHz\u5fc5\u9808\u3067\u3042\u308b\u3002<\/p>\n<p>Pi PICO\u3067\u306e\u304a\u304a\u3088\u305d\u306e\u6d88\u8cbb\u96fb\u6d41\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u3064\u306a\u3044\u3060\u72b6\u614b\u3067\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u6d88\u8cbb\u96fb\u6d41\uff0b25mA\u307b\u3069\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u629c\u304f\u306823mA\u307b\u3069\u3060\u3063\u305f (READY LED\u3082\u6d88\u706f\u3059\u308b)\u3002\u306a\u304a\u3001\u3053\u3053\u3067\u306e\u96fb\u6d41\u306f\u3001PC\u5074USB\u306eVBUS\u96fb\u6d41\u3092\u30e2\u30cb\u30bf\u3057\u3066\u5f97\u3066\u3044\u308b\u3002<\/p>\n<p>PC\u3092\u30b9\u30ea\u30fc\u30d7\u3055\u305b\u305f\u3068\u304d\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u81ea\u4f53\u3092\u30b5\u30b9\u30da\u30f3\u30c9\u3055\u305b\u308b\u3053\u3068\u3067\u6d88\u8cbb\u96fb\u6d41\u3092\u6e1b\u3089\u3057\u305f\u3044\u306e\u3060\u304c\u3001 TinyUSB\u306eUSB\u30db\u30b9\u30c8\u6a5f\u80fd\u306b\u306f\u3001\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308bUSB\u30c7\u30d0\u30a4\u30b9(\u30ad\u30fc\u30dc\u30fc\u30c9)\u3092<strong>\u30b5\u30b9\u30da\u30f3\u30c9\u3055\u305b\u308bAPI\u304c\u306a\u3044<\/strong>(\u305d\u306e\u3046\u3061\u3067\u304d\u308b\u306e\u304b\u3082)\u3002\u3067\u306f\u81ea\u524d\u3067\u3068\u601d\u3063\u3066\u3044\u308d\u3044\u308d\u3068\u3084\u3063\u3066\u307f\u305f\u304c\u3001\u4eca\u306e\u3068\u3053\u308d\u6b63\u3057\u3044\u65b9\u6cd5(\uff1f)\u3067\u30b5\u30b9\u30da\u30f3\u30c9\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3002\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n<ol>\n<li>core0\u306e\u30e1\u30a4\u30f3\u30eb\u30fc\u30d7\u3067PC\u5074\u306eUSB\u306e\u30b5\u30b9\u30da\u30f3\u30c9(\u30b9\u30ea\u30fc\u30d7\u307e\u305f\u306f\u30aa\u30d5)\u3092\u691c\u51fa\u3057\u305f\u3089\u3001<strong><em>multicore_reset_core1();<\/em> <\/strong>\u3092\u5b9f\u884c\u3057\u3066core1\u306e\u5b9f\u884c\u3092\u6b62\u3081\u3066\u3057\u307e\u3046\u3002<\/li>\n<li>\u7d50\u679c\u3068\u3057\u3066\u30012\u3064\u76ee\u306eUSB\u30dd\u30fc\u30c8\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u30dc\u30fc\u30c9\u3078\u306eSOF\u306e\u9001\u51fa\u304c\u6b62\u307e\u308b\u306e\u3067\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u306f\u30b5\u30b9\u30da\u30f3\u30c9\u3059\u308b\u3002 \u3053\u306e\u72b6\u614b\u3067\u306e\u6d88\u8cbb\u96fb\u6d41\u306f20mA\u7a0b\u5ea6\u306b\u306a\u3063\u305f\u3002<\/li>\n<li>core0\u306e\u30e1\u30a4\u30f3\u30eb\u30fc\u30d7\u3067USB\u304c\u30ea\u30b8\u30e5\u30fc\u30e0\u3057\u305f\u3053\u3068\u3092\u691c\u51fa\u3057\u305f\u3089\u3001<strong><em>watchdog_reboot(0, 0, 10);<\/em> <\/strong>\u306b\u3088\u3063\u3066\u5168\u4f53\u306b\u30ea\u30bb\u30c3\u30c8\u3092\u304b\u3051\u3066\u3001\u3059\u3079\u3066\u6700\u521d\u304b\u3089\u3084\u308a\u76f4\u3059\u3002<\/li>\n<\/ol>\n<p>core1\u304c\u505c\u6b62\u3059\u308b\u3068\u3001 \u7d043mA\u307b\u3069\u6d88\u8cbb\u96fb\u6d41\u304c\u6e1b\u308b\u3088\u3046\u3067\u3042\u308b\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u30b5\u30b9\u30da\u30f3\u30c9\u306b\u3088\u308b\u7701\u96fb\u6d41\u52b9\u679c\u306f\u30ad\u30fc\u30dc\u30fc\u30c9\u306b\u4f9d\u5b58\u3059\u308b\u304c\u3001\u307b\u3068\u3093\u3069\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u6d88\u8cbb\u96fb\u6d41\u306f1mA\u672a\u6e80\u3068\u306a\u308b\u3002<\/p>\n<p>\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u306e\u5fa9\u5e30\u6642\u306bcore1\u306e\u307f\u3092\u518d\u59cb\u52d5\u3055\u305b\u3088\u3046\u3068\u3057\u305f\u304c\u3001\u3046\u307e\u304f\u3044\u304b\u305a\u5168\u4f53\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002core1\u306e\u5b9f\u884c\u304c\u505c\u6b62\u3057\u3066\u3082\u3001USBHost\u3084Pico_Pio_USB\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u52d5\u4f5c\u72b6\u614b(\u5909\u6570\u306e\u5024\u306a\u3069)\u3092\u5143\u306b\u623b\u305b\u306a\u3044\u306e\u3067\u3001\u5b8c\u5168\u306b\u30ea\u30bb\u30c3\u30c8\u3057\u3066\u51fa\u76f4\u3059\u3088\u308a\u307b\u304b\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>1\u30682\u306b\u3064\u3044\u3066\u3001CH9350L\u306eRESET\u7aef\u5b50\u3092\u30a2\u30af\u30c6\u30a3\u30d6\u5316\u3057\u3066SOF \u3092\u505c\u6b62\u3057\u305f\u306e\u3068\u540c\u3058\u3084\u308a\u65b9\u306b\u306a\u308b\u3002<\/p>\n<p>core1\u306e\u30ea\u30bb\u30c3\u30c8\u306b\u3088\u308b\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30b5\u30b9\u30da\u30f3\u30c9\u306f\u3001<strong>\u8a2d\u5b9a\u306eK (KEYBOARD SUSPEND)<\/strong> \u304c\u6709\u52b9\u306e\u5834\u5408\u306b\u306e\u307f\u52d5\u4f5c\u3059\u308b\u3002\u7121\u52b9\u306e\u5834\u5408\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u3084\u30de\u30a4\u30b3\u30f3\u30dc\u30fc\u30c9\u306eLED\u3092\u6d88\u706f\u3059\u308b\u3060\u3051\u3067\u3001\u7279\u306b\u7701\u96fb\u6d41\u306e\u51e6\u7406\u306f\u306a\u3044\u3002\u307e\u305f\u3001\u3044\u305a\u308c\u306e\u5834\u5408\u3082\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u6253\u9375\u306b\u3088\u308b\u30ea\u30b8\u30e5\u30fc\u30e0(\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u306e\u5fa9\u5e30)\u306f\u3067\u304d\u306a\u3044 \u3002<\/p>\n<h3>\u30b7\u30f3\u30b0\u30eb\u30b3\u30a2\u52d5\u4f5c<\/h3>\n<p>\u86c7\u8db3\u306b\u306a\u308b\u304c\u3001USBHost \u306etask() \u3092core0\u3067\u56de\u3059\u3053\u3068\u3067\u3001\u30b7\u30f3\u30b0\u30eb\u30b3\u30a2\u52d5\u4f5c\u3068\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3002\u305d\u306e\u969b\u306b\u306f\u3001setup1() \u3068 loop1() \u306e\u540d\u524d\u3092\u3044\u305a\u308c\u3082\u5909\u66f4\u3057 ( \u305f\u3068\u3048\u3070\u3001usbh_setup() \u3068 usbh_loop() )\u3001\u305d\u308c\u3089\u3092 setup()\u3068loop()\u304b\u3089\u547c\u3073\u51fa\u305b\u3070\u3088\u3044\u3002queue \u3092\u4f7f\u3046\u5fc5\u8981\u3082\u306a\u304f\u306a\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3059\u308b (hoboNicola\u306e\u3088\u3046\u306a\u30ad\u30fc\u30dc\u30fc\u30c9\u5165\u529b\u3092\u51e6\u7406\u3059\u308b\u3060\u3051\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3060\u304b\u3089)\u3002<\/p>\n<p>\u305f\u3060 \u30b7\u30f3\u30b0\u30eb\u30b3\u30a2\u52d5\u4f5c\u306e\u5834\u5408\u3001USB\u30db\u30b9\u30c8\u6a5f\u80fd\u3060\u3051\u505c\u6b62\u3059\u308b\u624b\u6bb5\u304c\u306a\u3044\u306e\u3067\u3001\u30b9\u30ea\u30fc\u30d7\u6642\u306b\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u30b5\u30b9\u30da\u30f3\u30c9\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3002<\/p>\n<h3>\u8a2d\u5b9a\u306e\u4fdd\u5b58\u306b\u3064\u3044\u3066<\/h3>\n<p>hoboNicola\u7528\u306e\u3044\u308d\u3044\u308d\u306a\u8a2d\u5b9a\u306e\u8a18\u61b6\u306b\u306f\u3001Arduino-Pico\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3092\u4f7f\u3063\u305fEEPROM(\u30a8\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3)\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002\u73fe\u72b6\u3001\u4e00\u3064\u306e\u9805\u76ee\u66f8\u304d\u63db\u3048\u308b\u3054\u3068\u306b <strong><em>watchdog_reboot(0, 0, 10); <\/em><\/strong>\u3092\u4f7f\u3063\u3066\u30ea\u30bb\u30c3\u30c8\u3092\u304b\u3051\u3066\u3044\u308b\u3002\u3053\u3093\u306a\u3053\u3068\u3092\u3084\u308b\u5fc5\u8981\u306f\u306a\u3044\u3068\u601d\u3046\u306e\u3060\u304c\u3001EEPROM\u30e9\u30a4\u30d6\u30e9\u30ea\u306e<em>commit()<\/em> \u306b\u3042\u308b <em>rp2040.idleOtherCore(); \u3042\u308b\u3044\u306f rp2040.resumeOtherCore();<\/em> \u306b\u3088\u3063\u3066core1\u306eUSBHost\u3068\u3057\u3066\u306e\u52d5\u4f5c\u304c\u505c\u6b62\u3057\u3066\u3057\u307e\u3046\u3088\u3046\u306a\u306e\u3067\u3001\u3042\u3063\u3055\u308a\u5168\u4f53\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>Pi PICO\u3084XIAO RP2040\u306f\u3001\u304a\u305d\u3089\u304f WinBond\u306eNOR\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea (WS25Q16JV&#8230;) \u307e\u305f\u306f\u4e92\u63db\u54c1\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u601d\u3046\u306e\u3060\u304c\u3001\u305d\u308c\u3089\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306b\u306f\u3001\u30bb\u30af\u30bf\u3054\u3068\u306b10\u4e07\u56de\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\uff0f\u30a4\u30ec\u30fc\u30ba\u30b5\u30a4\u30af\u30eb\u3092\u5b9f\u65bd\u3067\u304d\u307e\u3059\u3088\u3001\u3068\u66f8\u3044\u3066\u3042\u308b\u3002\u4e00\u9805\u76ee\u3054\u3068\u306b\u30d5\u30e9\u30c3\u30b7\u30e5\u66f8\u8fbc\u307f\u3057\u3066\u3044\u3066\u3082\u3001\u3059\u3050\u306b\u5bff\u547d\u3063\u3066\u3053\u3068\u3082\u306a\u3044\u3060\u308d\u3046\u3068\u5224\u65ad\u3057\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001\u8a2d\u5b9a\u5185\u5bb9\u3092\u8868\u793a\u3057\u305f\u3068\u304d\u6700\u5f8c\u306b\u51fa\u3066\u304f\u308b\u6570\u5b57(\u4e0b\u56f3\u3067\u306f 56) \u306f\u3001\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3078\u306e\u66f8\u8fbc\u307f\u56de\u6570\u3092\u8868\u3057\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true \">...\r\n *M : MSC NOTIFY (TINYUSB)\r\n *K : KEYBOARD SUSPEND\r\n  N : NUMLOCK = NICOLA MODE\r\n  S : HAN\/ZEN -&gt; SHIFT+SPACE\r\n  ...\r\n  0000c719 : 00000000 : 56 : 32\r\n<\/pre>\n<p>SAMD21\u7248\u3067\u306fFlashStorage\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30b9\u30b1\u30c3\u30c1\u306e\u66f8\u8fbc\u307f\u6642\u306b\u8a18\u61b6\u5185\u5bb9\u304c\u6d88\u3048\u3001\u66f8\u8fbc\u307f\u56de\u6570\u30820\u306b\u623b\u3063\u3066\u3057\u307e\u3046\u304c\u3001RP2040\u3067\u306f\u5927\u4e08\u592b\u3002<\/p>\n<h3>\u30d3\u30eb\u30c9\u30b5\u30a4\u30ba\u306a\u3069<\/h3>\n<p>\u30d3\u30eb\u30c9\u3057\u305f\u3068\u304d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u30b5\u30a4\u30ba\u3084\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3002<\/p>\n<h4>XIAO RP2040<\/h4>\n<pre class=\"lang:default decode:true\">\u6700\u59272093056\u30d0\u30a4\u30c8\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306e\u3046\u3061\u3001\u30b9\u30b1\u30c3\u30c1\u304c76588\u30d0\u30a4\u30c8\uff083%\uff09\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\r\n\u6700\u5927262144\u30d0\u30a4\u30c8\u306eRAM\u306e\u3046\u3061\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u304c23904\u30d0\u30a4\u30c8\uff089%\uff09\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3067238240\u30d0\u30a4\u30c8\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\r\n<\/pre>\n<h4>Pi PICO<\/h4>\n<pre class=\"lang:default decode:true\">\u6700\u59272093056\u30d0\u30a4\u30c8\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306e\u3046\u3061\u3001\u30b9\u30b1\u30c3\u30c1\u304c76540\u30d0\u30a4\u30c8\uff083%\uff09\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\r\n\u6700\u5927262144\u30d0\u30a4\u30c8\u306eRAM\u306e\u3046\u3061\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u304c23904\u30d0\u30a4\u30c8\uff089%\uff09\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3067238240\u30d0\u30a4\u30c8\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\r\n<\/pre>\n<p>XIAO\u306e\u65b9\u304c\u30b9\u30b1\u30c3\u30c1\u30b5\u30a4\u30ba\u304c\u82e5\u5e72\u5927\u304d\u3044\u3002<\/p>\n<h2>\u65e2\u77e5\u306e\u554f\u984c\u70b9\u3001\u5236\u9650\u4e8b\u9805\u3001\u6ce8\u610f\u70b9\u306a\u3069<\/h2>\n<p>\u4eca\u56de\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u4f7f\u3063\u305f\u307b\u307cNICOLA\u30ad\u30fc\u30dc\u30fc\u30c9\u7528\u30a2\u30c0\u30d7\u30bf\u30fc\u306b\u3064\u3044\u3066\u3001\u5206\u304b\u3063\u3066\u3044\u308b\u554f\u984c\u70b9\u3001\u5236\u9650\u4e8b\u9805\u306a\u3069\u3002<\/p>\n<h4>\u554f\u984c\u70b9\u3068\u5236\u9650\u4e8b\u9805<\/h4>\n<ol style=\"list-style-type: lower-roman;\">\n<li>\u30ad\u30fc\u30dc\u30fc\u30c9\u306b\u3088\u3063\u3066\u306f\u3001\u63a5\u7d9a\u3057\u3066\u3082\u8a8d\u8b58\u3055\u308c\u306a\u3044\u3053\u3068\u304c\u3042\u308b <span style=\"font-size: 12pt;\">(<em>tuh_hid_mount_cb()<\/em> \u304c\u547c\u3070\u308c\u306a\u3044<\/span><span style=\"font-size: 12pt;\">)<\/span> \u3002\u624b\u6301\u3061\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u3046\u3061\u306e6\u7a2e\u985e\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u306f\u610f\u56f3\u901a\u308a\u306b\u52d5\u3044\u305f\u3082\u306e\u306e\u30011\u53f0\u3060\u3051\u8a8d\u8b58\u3055\u308c\u306a\u3044\u3082\u306e\u304c\u3042\u3063\u305f (SANWA\u30b5\u30d7\u30e9\u30a4SKB-E3U)\u3002\u3053\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u306f MAX3421EE\u3084CH9350L\u3092\u4f7f\u3063\u305f\u30a2\u30c0\u30d7\u30bf\u30fc\u3067\u306f\u554f\u984c\u306a\u304f\u52d5\u3044\u3066\u3044\u308b\u304c\u3001\u4eca\u56de\u306e\u30a2\u30c0\u30d7\u30bf\u30fc\u3067\u306f\u306a\u305c\u304b\u8a8d\u8b58\u3055\u308c\u306a\u3044\u3002\u8abf\u67fb\u4e2d\u3067\u3059\u3002<\/li>\n<li>USB\u30cf\u30d6\u3092\u5185\u8535\u3057\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u30c7\u30d0\u30a4\u30b9\u304c\u30cf\u30d6\u306e\u914d\u4e0b\u306b\u3042\u308b\u3088\u3046\u306a\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u5834\u5408\u3001\u4eca\u56de\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u306f\u8a8d\u8b58\u3055\u308c\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u306e\u3046\u3061\u76f4\u3059\u4e88\u5b9a\u3002<\/li>\n<li>PC\u3084\u30cf\u30d6\u306b\u63a5\u7d9a\u6e08\u3067\u52d5\u4f5c\u4e2d\u306e\u30a2\u30c0\u30d7\u30bf\u30fc\u306b\u5f8c\u304b\u3089\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u63a5\u7d9a\u3057\u305f\u5834\u5408\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u8a8d\u8b58\u3055\u308c\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u304c\u3001RP2040\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308c\u3070\u8a8d\u8b58\u3059\u308b\u3002\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u304c\u306a\u3044\u5834\u5408\u3001PC\u3084\u30cf\u30d6\u5074\u306e\u30b1\u30fc\u30d6\u30eb\u3092\u5dee\u3057\u76f4\u3059\u3053\u3068\u306b\u306a\u308b\u3002\u306a\u306b\u304b\u30bf\u30a4\u30df\u30f3\u30b0\u7684\u306a\u3082\u306e\u306e\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u306e\u3067\u3001\u3053\u306e\u9805\u76ee\u3082\u89e3\u6d88\u3057\u305f\u3044\u3068\u3053\u308d\u3002<\/li>\n<li><strong>(\u8ffd\u8a18)<\/strong> \u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u3044\u308b\u3046\u3061\u306b\u6c17\u3065\u3044\u305f\u3053\u3068\u3068\u3057\u3066\u3001<strong>\u8a2d\u5b9a\u306eK (KEYBOARD SUSPEND)<\/strong>\u00a0 \u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u308b\u5834\u5408\u3001PC\u306e\u96fb\u6e90\u30aa\u30f3\u6642\u3084\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u306e\u5fa9\u5e30\u6642\u306a\u3069\u3001Ctrl + Alt + Delete \u304c\u7d20\u76f4\u306b\u52b9\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u3002\u6570\u79d2\u5f85\u3063\u3066\u304b\u3089\u3082\u3046\u4e00\u5ea6\u3084\u308b\u3068\u3061\u3083\u3093\u3068\u5165\u308b\u3053\u3068\u304c\u591a\u3044\u304c\u3001\u7a00\u306bCtrl + Alt + Delete \u3092\u6570\u56de\u3084\u3063\u3066\u3082\u30ed\u30b0\u30aa\u30f3\u753b\u9762\u306b\u306a\u3089\u306a\u3044\u3053\u3068\u3082\u3042\u308b\u3002\u305d\u3046\u3044\u3046\u5834\u5408\u306f\u3001RP2040\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u3068\u3088\u3044\u3088\u3046\u3067\u3059\u3002\u3053\u308c\u3082\u30bf\u30a4\u30df\u30f3\u30b0\u7684\u306a\u3053\u3068\u306e\u3088\u3046\u306a\u6c17\u304c\u3057\u3066\u3044\u308b\u3002<\/li>\n<\/ol>\n<h4>\u30d0\u30fc\u30b8\u30e7\u30f3\u5909\u66f4\u306b\u3088\u308b\u6539\u5584<\/h4>\n<p>\u554f\u984c\u70b91\u306e\u3001SANWA\u30b5\u30d7\u30e9\u30a4SKB-E3U \u306b\u3064\u3044\u3066\u306f\u3001Pico-PIO-USB 0.5.2\u7248 (Arduino-Pico 3.3.0)\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u554f\u984c\u306a\u304f\u8a8d\u8b58\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u307e\u305f\u3001\u554f\u984c\u70b94\u306b\u3064\u3044\u3066\u3082\u767a\u751f\u306e\u983b\u5ea6\u304c\u4e0b\u304c\u3063\u305f\u3088\u3046\u306b\u611f\u3058\u308b\u304c\u3001\u3053\u308c\u306f\u6c17\u306e\u305b\u3044\u304b\u3082\u3002<\/p>\n<h4>\u4e00\u822c\u7684\u306a\u6ce8\u610f\u70b9<\/h4>\n<ol style=\"list-style-type: lower-roman;\">\n<li>Raspberry Pi PICO\u306b<strong>\u521d\u3081\u3066Arduino\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u304d\u8fbc\u3080<\/strong>\u5834\u5408\u3001\u30b7\u30ea\u30a2\u30eb\u30c7\u30d0\u30a4\u30b9\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001BOOTSEL\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u307e\u307e\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u305d\u3046\u3059\u308b\u3053\u3068\u3067Windows Explorer \u306b<strong>RPI-RP2\u30c9\u30e9\u30a4\u30d6<\/strong>\u304c\u73fe\u308c\u308b\u306f\u305a\u306a\u306e\u3067\u3001<em>\u30e6\u30fc\u30b6\u30fc\u540d\/AppData\/Temp\/arduino_build_xxxxx<\/em> \u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3067\u304d\u3066\u3044\u308b <em><strong>rp_hobo_nicola.ino.uf2\u00a0<\/strong><\/em>\u30d5\u30a1\u30a4\u30eb\u3092\u3053\u306e<strong>\u30c9\u30e9\u30a4\u30d6\u306b\u30c9\u30ed\u30c3\u30d7<\/strong>\u3057\u3066\u3084\u308b\u3068\u30b9\u30b1\u30c3\u30c1\u304c\u66f8\u304d\u8fbc\u307e\u308c\u308b\u3002<\/li>\n<li>Arduino IDE\u306bPi PICO\u304c\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u306a\u304b\u3063\u305f\u308a\u3001BOOTSEL + \u30ea\u30bb\u30c3\u30c8\u64cd\u4f5c\u3092\u3057\u305f\u306b\u3082\u95a2\u308f\u3089\u305a PC\u306bRPI-RP2\u30c9\u30e9\u30a4\u30d6\u304c\u73fe\u308c\u305a\u300cUSB\u30c7\u30d0\u30a4\u30b9\u304c\u8a8d\u8b58\u3055\u308c\u307e\u305b\u3093\u300d\u3068\u306a\u308b\u3053\u3068\u304c\u3042\u3063\u305f\u3002\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067PC\u3092\u518d\u8d77\u52d5\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u89e3\u6c7a\u3057\u305f\u3002<\/li>\n<li>\u3053\u306e\u554f\u984c\u306e\u3082\u3046\u4e00\u3064\u306e\u89e3\u6c7a\u65b9\u6cd5\u306f\u3001Pi PICO\u306eUSB\u30b1\u30fc\u30d6\u30eb\u3092\u3064\u306a\u3044\u3067\u3044\u308b<strong>USB\u30cf\u30d6\u306e\u30dd\u30fc\u30c8\u3092\u5909\u66f4<\/strong>\u3057\u3066\u3084\u308b\u3053\u3068\u3002\u5225\u306e\u30dd\u30fc\u30c8\u306b\u5dee\u3057\u76f4\u3059\u3068\u3001\u518d\u8d77\u52d5\u3057\u306a\u304f\u3066\u3082\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u3082\u3067\u3066\u304f\u308b\u3057\u3001RP2\u30c9\u30e9\u30a4\u30d6\u3082\u51fa\u73fe\u3057\u3066\u304f\u308c\u305f\u3002<\/li>\n<\/ol>\n<h1>\u304d\u3087\u3046\u306e\u307e\u3068\u3081<\/h1>\n<p>Pico_Pio_USB\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3088\u3063\u3066USB\u30dd\u30fc\u30c8\u3092\u8ffd\u52a0\u3067\u304d\u308b\u3001\u3068\u3044\u3046\u8a71\u984c\u306f\u4eca\u5e74\u306e\u6625\u3042\u305f\u308a\u304b\u3089\u30ad\u30e3\u30c3\u30c1\u3057\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001USB\u30db\u30b9\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u4f7f\u3063\u305fhoboNicola\u30a2\u30c0\u30d7\u30bf\u30fc\u304c\u4e00\u6bb5\u843d\u3059\u308b\u307e\u3067\u5f8c\u56de\u3057\u306b\u3057\u3066\u304d\u3066\u3001\u3088\u3046\u3084\u304f\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u3002<\/p>\n<p>\u4f59\u8ac7\u3068\u3057\u3066\u3001RP2040\u3068\u3044\u3046\u578b\u756a\u306e\u3046\u3061\u6570\u5b57\u90e8\u5206\u306f\u5185\u8535\u30b3\u30a2\u6570\u3084\u5b9f\u88c5SRAM\u5bb9\u91cf\u3001\u4e0d\u63ee\u767a\u30e1\u30e2\u30ea\u5bb9\u91cf\u306a\u3069\u3092\u8868\u3057\u3066\u3044\u308b(\u8a73\u3057\u304f\u306f\u3001\u6700\u521d\u306b\u30ea\u30f3\u30af\u3092\u8f09\u305b\u305f650\u30da\u30fc\u30b8\u307b\u3069\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u53c2\u7167)\u3002<br \/>\nUSB\u30db\u30b9\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u4f7f\u3063\u305fhoboNicola\u30a2\u30c0\u30d7\u30bf\u30fc\u306b\u4f7f\u3046\u306a\u3089\u3070\u3001\u67b6\u7a7a\u306eRP1020\u00a0 (\u30b7\u30f3\u30b0\u30eb\u30b3\u30a2\u3001SRAM32K\u3001\u305d\u306e\u4ee3\u308f\u308a\u7701\u30a8\u30cd\u7248)\u3067\u5341\u5206\u3060\u308d\u3046\u3002Pico_PIO_USB\u7248\u306e\u5b9f\u88c5\u306b\u306f\u30c7\u30e5\u30a2\u30eb\u30b3\u30a2\u304c\u5fc5\u9808\u3060\u304c\u3002<\/p>\n<p>\u6d88\u8cbb\u96fb\u6d41\u306b\u3064\u3044\u3066\u306f\u3001\u901a\u5e38\u52d5\u4f5c\u6642\u306b\u3064\u3044\u3066\u306fUSB\u30db\u30b9\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u7248\u3088\u308a\u6570mA\u591a\u3044\u304b\u306a\u3068\u3044\u3046\u7a0b\u5ea6(USB\u30db\u30b9\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u52d5\u4f5c\u96fb\u6d41\u304c\u306a\u3044\u306e\u3067)\u3002\u30b9\u30ea\u30fc\u30d7\u6642\u306e\u6d88\u8cbb\u96fb\u6d41\u3068\u3044\u3046\u9762\u3067\u306f\u3001SAMD21\u30dc\u30fc\u30c9\u3068USB\u30db\u30b9\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9(MAX3421EE\u3001CH9350L)\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u52dd\u3063\u3066\u3044\u308b\u3088\u3046\u3060\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u3044\u308b\u6642\u9593\u3088\u308a\u96fb\u6e90\u30aa\u30f3\u3067\u30b9\u30ea\u30fc\u30d7\u3055\u305b\u3066\u3044\u308b\u6642\u9593\u306e\u65b9\u304c\u9577\u3044\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u6e1b\u3089\u3059\u65b9\u304c\u672c\u7b4b\u3060\u308d\u3046\u3002<\/p>\n<p><strong>Pico-PIO-USB \u30e9\u30a4\u30d6\u30e9\u30ea<\/strong>\u3084\u3001\u3053\u308c\u3092\u4f7f\u3063\u305f<strong>Adafruit_TinyUSB\u30e9\u30a4\u30d6\u30e9\u30ea<\/strong>\u3082\u4eca\u5f8c\u66f4\u65b0\u3055\u308c\u3066\u3044\u304f\u3068\u601d\u3046\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u305d\u308c\u306b\u5408\u308f\u305b\u3066\u66f4\u65b0\u3092\u7d9a\u3051\u3066\u3044\u304f\u3053\u3068\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Pico-PIO-USB \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066USB Host \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u7121\u3057\u3067 hoboNicola\u30a2\u30c0\u30d7\u30bf\u30fc\u3092\u5b9f\u73fe\u3059\u308b\u3002Pico-PIO-USB\u306f\u3001RP2040(Raspberry Pi PICO)\u306ePIO(P &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=15096\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">hoboNicola\u306ePico-PIO-USB\u5bfe\u5fdc<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":15120,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[65,151,214,213,209,202],"class_list":["post-15096","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","tag-arduino","tag-hobonicola","tag-pico_pio_usb","tag-raspberry_pi_pico","tag-rp2040","tag-tinyusb"],"_links":{"self":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15096"}],"version-history":[{"count":1,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15096\/revisions"}],"predecessor-version":[{"id":15130,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15096\/revisions\/15130"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/media\/15120"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}