{"id":32642,"date":"2020-05-19T18:47:23","date_gmt":"2020-05-19T10:47:23","guid":{"rendered":"\/blog\/?p=32642"},"modified":"2020-05-19T19:07:51","modified_gmt":"2020-05-19T11:07:51","slug":"community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/","title":{"rendered":"Community Project Collection: How to Input data  to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial"},"content":{"rendered":"\n<p class=\"has-background has-very-light-gray-background-color\">This tutorial is translated by Seeed from <a href=\"https:\/\/homemadegarbage.com\/wioterminal03\">Wio Terminal \u3067USB Host\u6a5f\u80fd\u3092\u582a\u80fd<\/a> written by homemadegarbage (twitter: <a href=\"https:\/\/twitter.com\/H0meMadeGarbage\">@H0meMadeGarbage<\/a>). Thank you for sharing this with us! Visit their homepage for more interesting projects: <a href=\"http:\/\/homemadegarbage.com\/\">homemadegarbage.com<\/a>. <\/p>\n\n\n\n<p>Wio Terminal is equipped with USB Host function and can be connected to USB Device. In this demo, a keyboard is connected to Wio Terminal for data input. As shown on the LCD screen, different keys are assigned with different music scales and can play a melody together.<\/p>\n\n\n\n<figure class=\"wp-block-embed-twitter wp-block-embed is-type-rich is-provider-twitter\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/twitter.com\/H0meMadeGarbage\/status\/1261525568257880066?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1261525568257880066&#038;ref_url=https%3A%2F%2Fhomemadegarbage.com%2Fwioterminal03\n<\/div><\/figure>\n\n\n\n<p>This post will be covered by:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>1. Install USB Host Library SAMD<\/li><li>2. Connect the Keyboard<\/li><li>3. Sample Code<\/li><li>4. Debug<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">1. Install USB Host Library SAMD<\/h2>\n\n\n\n<p>To use the USB Host on Wio Terminal,  <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/gdsports\/USB_Host_Library_SAMD\" target=\"_blank\">USB Host Library SAMD<\/a> is essential. Check <a href=\"https:\/\/wiki.seeedstudio.com\/Wio-Terminal-USBH-Overview\/\">here<\/a> to learn about how to install it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Connect the Keyboard<\/h2>\n\n\n\n<p>Refer to this <a href=\"https:\/\/wiki.seeedstudio.com\/Wio-Terminal-USBH-Keyboard\/\">tutorial<\/a> and connect the keyboard to Wio Terminal. You will also need a <a href=\"https:\/\/www.amazon.co.jp\/dp\/B074PQPLDQ?tag=homemadegarba-22&amp;linkCode=ogi&amp;th=1&amp;psc=1\">USB-C&nbsp;OTG cable<\/a>. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/homemadegarbage.com\/wp\/wp-content\/uploads\/2020\/05\/IMG_20200516_182236.jpg\" alt=\"\" width=\"500\" height=\"322\"\/><\/figure><\/div>\n\n\n\n<p>When using the USB Host function, power supply and USB serial communication cannot be used since the USB Type-C interface has been taken, so we will use the 40-pin header on the back of Wio Terminal instead.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/05\/image-50-1030x841.png\" alt=\"This image has an empty alt attribute; its file name is image-50-1030x841.png\" width=\"515\" height=\"421\"\/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/homemadegarbage.com\/wp\/wp-content\/uploads\/2020\/05\/EYHai1EUEAAC5vm.jpg\" alt=\"This image has an empty alt attribute; its file name is EYHai1EUEAAC5vm.jpg\" width=\"480\" height=\"308\"\/><\/figure><\/div>\n\n\n\n<p>The power supply of the USB serial conversion cable is set to 3.3V (The <a href=\"https:\/\/www.amazon.co.jp\/dp\/B009AME9R4?tag=homemadegarba-22&amp;linkCode=ogi&amp;th=1&amp;psc=1\">FTDI USB to Serial Adapter<\/a> used in this demo can be found on Amazon).<\/p>\n\n\n\n<p>After that, it can be output with Serial1 and monitored with some common serial communication software such as Tera Term.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Sample Code<\/h2>\n\n\n\n<p>Reference:<br>\u3000<a rel=\"noreferrer noopener\" href=\"https:\/\/wiki.seeedstudio.com\/Wio-Terminal-USBH-Keyboard\/\" target=\"_blank\">https:\/\/wiki.seeedstudio.com\/Wio-Terminal-USBH-Keyboard\/<\/a><br>\u3000<a rel=\"noreferrer noopener\" href=\"https:\/\/wiki.seeedstudio.com\/Wio-Terminal-LCD-Basic\/\" target=\"_blank\">https:\/\/wiki.seeedstudio.com\/Wio-Terminal-LCD-Basic\/<\/a><br>\u3000<a rel=\"noreferrer noopener\" href=\"https:\/\/wiki.seeedstudio.com\/Wio-Terminal-Buzzer\/\" target=\"_blank\">https:\/\/wiki.seeedstudio.com\/Wio-Terminal-Buzzer\/<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;KeyboardController.h>\n#define SerialDebug Serial1\n\n#include\"TFT_eSPI.h\"\n#include\"Free_Fonts.h\" \/\/include the header file\n\n#define BUZZER_PIN WIO_BUZZER\n \n\/\/ Initialize USB Controller\nUSBHost usb;\n \n\/\/ Attach keyboard controller to USB\nKeyboardController keyboard(usb);\n \nvoid printKey();\nTFT_eSPI tft;\n\nint key;\n \n\/\/ This function intercepts key press\nvoid keyPressed() {\n  SerialDebug.print(\"Pressed:  \");\n  printKey();\n\n  switch (key) {\n    case 20:\n      tft.drawString(\"C\",140,100);\n      playTone(1915, 400);\n      break;\n    case 26:\n      tft.drawString(\"D\",140,100);\n      playTone(1700, 400);\n      break;\n    case 8:\n      tft.drawString(\"E\",140,100);\n      playTone(1519, 400);\n      break;\n    case 21:\n      tft.drawString(\"F\",140,100);\n      playTone(1432, 400);\n      break;\n    case 23:\n      tft.drawString(\"G\",140,100);\n      playTone(1275, 400);\n      break;\n    case 28:\n      tft.drawString(\"A\",140,100);\n      playTone(1136, 400);\n      break;\n    case 24:\n      tft.drawString(\"B\",140,100);\n       playTone(1014, 400);\n      break;\n    case 12:\n      tft.drawString(\"C+\",140,100);\n      playTone(956, 400);\n      break;\n  }\n}\n \n\/\/ This function intercepts key release\nvoid keyReleased() {\n  SerialDebug.print(\"Released: \");\n  printKey();\n\n  tft.fillScreen(TFT_BLACK); \n  digitalWrite(BUZZER_PIN, LOW);\n}\n \nvoid printKey() {\n  \/\/ getOemKey() returns the OEM-code associated with the key\n  key = keyboard.getOemKey();\n  SerialDebug.print(\" key:\");\n  SerialDebug.print(key);\n\n \n  \/\/ getModifiers() returns a bits field with the modifiers-keys\n  int mod = keyboard.getModifiers();\n  SerialDebug.print(\" mod:\");\n  SerialDebug.print(mod);\n \n  SerialDebug.print(\" => \");\n \n  if (mod &amp; LeftCtrl)\n    SerialDebug.print(\"L-Ctrl \");\n  if (mod &amp; LeftShift)\n    SerialDebug.print(\"L-Shift \");\n  if (mod &amp; Alt)\n    SerialDebug.print(\"Alt \");\n  if (mod &amp; LeftCmd)\n    SerialDebug.print(\"L-Cmd \");\n  if (mod &amp; RightCtrl)\n    SerialDebug.print(\"R-Ctrl \");\n  if (mod &amp; RightShift)\n    SerialDebug.print(\"R-Shift \");\n  if (mod &amp; AltGr)\n    SerialDebug.print(\"AltGr \");\n  if (mod &amp; RightCmd)\n    SerialDebug.print(\"R-Cmd \");\n \n  \/\/ getKey() returns the ASCII translation of OEM key\n  \/\/ combined with modifiers.\n  SerialDebug.write(keyboard.getKey());\n  SerialDebug.println();\n}\n \nuint32_t lastUSBstate = 0;\n \nvoid setup(){\n  tft.begin();\n  tft.setRotation(3);\n  tft.fillScreen(TFT_BLACK); \n \n  tft.setFreeFont(FSSBO24); \n  \n  SerialDebug.begin( 115200 );\n  SerialDebug.println(\"Keyboard Controller Program started\");\n \n  if (usb.Init())\n      SerialDebug.println(\"USB host did not start.\");\n \n  delay( 20 );\n \n  \/\/Coqnfigure pins to enable USB Host on Wio Terminal\n  digitalWrite(PIN_USB_HOST_ENABLE, LOW);\n  digitalWrite(OUTPUT_CTR_5V, HIGH);\n\n  pinMode(BUZZER_PIN, OUTPUT);\n}\n \nvoid loop()\n{\n  \/\/ Process USB tasks\n  usb.Task();\n \n  uint32_t currentUSBstate = usb.getUsbTaskState();\n  if (lastUSBstate != currentUSBstate) {\n    SerialDebug.print(\"USB state changed: 0x\");\n    SerialDebug.print(lastUSBstate, HEX);\n    SerialDebug.print(\" -> 0x\");\n    SerialDebug.println(currentUSBstate, HEX);\n    switch (currentUSBstate) {\n      case USB_ATTACHED_SUBSTATE_SETTLE: SerialDebug.println(\"Device Attached\"); break;\n      case USB_DETACHED_SUBSTATE_WAIT_FOR_DEVICE: SerialDebug.println(\"Detached, waiting for Device\"); break;\n      case USB_ATTACHED_SUBSTATE_RESET_DEVICE: SerialDebug.println(\"Resetting Device\"); break;\n      case USB_ATTACHED_SUBSTATE_WAIT_RESET_COMPLETE: SerialDebug.println(\"Reset complete\"); break;\n      case USB_STATE_CONFIGURING: SerialDebug.println(\"USB Configuring\"); break;\n      case USB_STATE_RUNNING: SerialDebug.println(\"USB Running\"); break;\n    }\n    lastUSBstate = currentUSBstate;\n  }\n}\n\nvoid playTone(int tone, int duration) {\n  for (long i = 0; i &lt; duration * 1000L; i += tone * 2) {\n      digitalWrite(BUZZER_PIN, HIGH);\n      delayMicroseconds(tone);\n      digitalWrite(BUZZER_PIN, LOW);\n      delayMicroseconds(tone);\n  }\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4.  Debug<\/h2>\n\n\n\n<p>After uploading the USB Host code, Wio Terminal will not be recognized even if you connect the Wio Terminal to the PC through its USB-C connector.<\/p>\n\n\n\n<p>In that case, please slide the power button on the side of Wio Terminal twice quickly to put it in the rewrite mode.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Wio Terminal Reset\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/yr0RSgCv0tY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial is translated by Seeed from Wio Terminal \u3067USB Host\u6a5f\u80fd\u3092\u582a\u80fd written by homemadegarbage (twitter:<\/p>\n","protected":false},"author":3487,"featured_media":32651,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[3003],"class_list":["post-32642","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-wio-terminal"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Community Project Collection: How to Input data to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial - Latest News from Seeed Studio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Community Project Collection: How to Input data to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"This tutorial is translated by Seeed from Wio Terminal \u3067USB Host\u6a5f\u80fd\u3092\u582a\u80fd written by homemadegarbage (twitter:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-19T10:47:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-19T11:07:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png\" \/>\n\t<meta property=\"og:image:width\" content=\"452\" \/>\n\t<meta property=\"og:image:height\" content=\"418\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Serene\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Serene\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/\",\"name\":\"Community Project Collection: How to Input data to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png\",\"datePublished\":\"2020-05-19T10:47:23+00:00\",\"dateModified\":\"2020-05-19T11:07:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/0102457b277e33e4cdb544dd3ec2eab5\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png\",\"width\":452,\"height\":418},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Community Project Collection: How to Input data to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/0102457b277e33e4cdb544dd3ec2eab5\",\"name\":\"Serene\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/67d0ba8df1892d2ff8fd9057bbe8caf4?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/67d0ba8df1892d2ff8fd9057bbe8caf4?s=96&r=g\",\"caption\":\"Serene\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/serene\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Community Project Collection: How to Input data to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial - Latest News from Seeed Studio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/","og_locale":"en_US","og_type":"article","og_title":"Community Project Collection: How to Input data to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial - Latest News from Seeed Studio","og_description":"This tutorial is translated by Seeed from Wio Terminal \u3067USB Host\u6a5f\u80fd\u3092\u582a\u80fd written by homemadegarbage (twitter:","og_url":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2020-05-19T10:47:23+00:00","article_modified_time":"2020-05-19T11:07:51+00:00","og_image":[{"width":452,"height":418,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png","type":"image\/png"}],"author":"Serene","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Serene","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/","url":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/","name":"Community Project Collection: How to Input data to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png","datePublished":"2020-05-19T10:47:23+00:00","dateModified":"2020-05-19T11:07:51+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/0102457b277e33e4cdb544dd3ec2eab5"},"breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png","width":452,"height":418},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/05\/19\/community-project-collection-how-to-input-data-from-a-keyboard-to-wio-terminal-using-the-usb-host-function-and-tips-about-how-to-use-the-40-pin-header-for-power-supply-and-usb-serial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Community Project Collection: How to Input data to Wio Terminal from a Keyboard Using USB Host Function, and Tips about How to Use the 40-Pin Header for Power Supply and USB Serial"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/0102457b277e33e4cdb544dd3ec2eab5","name":"Serene","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/67d0ba8df1892d2ff8fd9057bbe8caf4?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/67d0ba8df1892d2ff8fd9057bbe8caf4?s=96&r=g","caption":"Serene"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/serene\/"}]}},"modified_by":"Serene","views":5835,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40-300x277.png",300,277,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",32,30,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40-452x380.png",452,380,true],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/05\/\u622a\u5c4f2020-05-19-\u4e0b\u53485.41.40.png",452,418,false]},"author_info":{"display_name":"Serene","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/serene\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/32642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/3487"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=32642"}],"version-history":[{"count":6,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/32642\/revisions"}],"predecessor-version":[{"id":32676,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/32642\/revisions\/32676"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/32651"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=32642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=32642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=32642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}