{"id":3751,"date":"2023-09-06T07:44:21","date_gmt":"2023-09-06T07:44:21","guid":{"rendered":"https:\/\/staging.mixtile.com\/?post_type=ht_kb&#038;p=1396"},"modified":"2024-10-09T08:19:15","modified_gmt":"2024-10-09T08:19:15","slug":"use-rs485","status":"publish","type":"ht_kb","link":"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/","title":{"rendered":"RS485\u3092\u4f7f\u7528"},"content":{"rendered":"<p>\u30a8\u30c3\u30b82\u306b\u306fRS485\u30b3\u30cd\u30af\u30bf\u304c1\u3064\u3042\u308b\u3002<\/p>\n\n\n\n<h2 id=\"connecting-hardware\">\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306e\u63a5\u7d9a<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/#connecting-hardware\"><\/a><\/h2>\n\n\n\n<p>USB-RS485\u30b3\u30f3\u30d0\u30fc\u30bf\u3092PC\u306b\u63a5\u7d9a\u3057\u3001\u30b1\u30fc\u30d6\u30eb\u3092Edge 2 RS485\u30b3\u30cd\u30af\u30bf\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30ef\u30a4\u30e4\u30fc\u30b7\u30fc\u30b1\u30f3\u30b9\u63a5\u7d9a\u56f3\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/RS485-connection.png?w=1020&#038;ssl=1\" alt=\"RS485-connection\" data-recalc-dims=\"1\"\/><\/figure>\n\n\n\n<h2 id=\"testing-rs485\">RS485\u306e\u30c6\u30b9\u30c8<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/#testing-rs485\"><\/a><\/h2>\n\n\n\n<h3 id=\"open-the-pc-serial-port\">PC\u306e\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u3092\u958b\u304f<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/#open-the-pc-serial-port\"><\/a><\/h3>\n\n\n\n<p>macOS\u3092\u4f8b\u306b\u3068\u308b\u3068\u3001USB-RS485\u5909\u63db\u30ce\u30fc\u30c9&nbsp;<code>tty.usbserial-14310<\/code>&nbsp;\u304c\u30b7\u30b9\u30c6\u30e0\u306b\u5b58\u5728\u3057\u3001\u305d\u308c\u3092\u958b\u304f\u30b3\u30de\u30f3\u30c9\u306f&nbsp;<code>picocom<\/code>&nbsp;\u30c4\u30fc\u30eb\u306f\u4ee5\u4e0b\u306e\u901a\u308a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ picocom -b 9600 \/dev\/tty.usbserial-14310 \n<\/code><\/pre>\n\n\n\n<p>USB\u304b\u3089UART\u3078\u306e\u30b3\u30f3\u30d0\u30fc\u30bf\u30fc\u30fb\u30ce\u30fc\u30c9\u306f\u3001Ubuntu\u306b\u6b21\u306e\u3088\u3046\u306a\u5f62\u3067\u5b58\u5728\u3059\u308b\u3002&nbsp;<code>\/dev\/ttyUSB[1\u30012\u30013......]\u3002<\/code>.<\/p>\n\n\n\n<p>USB\u304b\u3089UART\u3078\u306e\u30b3\u30f3\u30d0\u30fc\u30bf\u30fc\u30fb\u30ce\u30fc\u30c9\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u3067Windows\u306b\u5b58\u5728\u3059\u308b\u3002&nbsp;<code>COM[1\u30012\u30013......]\u3002<\/code>.<\/p>\n\n\n\n<p>\u8a73\u7d30\u306f&nbsp;<strong><u>\u30b7\u30ea\u30a2\u30eb\u30c7\u30d0\u30c3\u30b0<\/u><\/strong>.<\/p>\n\n\n\n<h3 id=\"sending-data-from-edge-2\">Edge 2\u304b\u3089\u306e\u30c7\u30fc\u30bf\u9001\u4fe1<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/#sending-data-from-edge-2\"><\/a><\/h3>\n\n\n\n<p>Edge 2 UART5 \u30c7\u30d0\u30a4\u30b9\u30d5\u30a1\u30a4\u30eb\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002&nbsp;<code>\/dev\/ttyS4<\/code>.Edge 2\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"edge2 RS485 test...\"&gt; \/dev\/ttyS4\n<\/code><\/pre>\n\n\n\n<p>PC\u306e\u30b7\u30ea\u30a2\u30eb\u30bf\u30fc\u30df\u30ca\u30eb(<code>picocom<\/code>)\u306f\u6587\u5b57\u5217&nbsp;<code>\"edge2 RS485\u30c6\u30b9\u30c8...\"<\/code>.<\/p>\n\n\n\n<h3 id=\"receiving-data-by-edge-2\">\u30a8\u30c3\u30b82\u306b\u3088\u308b\u30c7\u30fc\u30bf\u53d7\u4fe1<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/#receiving-data-by-edge-2\"><\/a><\/h3>\n\n\n\n<p>Edge 2\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/dev\/ttyS4\n<\/code><\/pre>\n\n\n\n<p>\u6587\u5b57\u5217\u3092\u9001\u4fe1\u3059\u308b\u3002&nbsp;<code>\"edge2 UART5\u30c6\u30b9\u30c8...\"<\/code>PC\u306e\u30b7\u30ea\u30a2\u30eb\u30bf\u30fc\u30df\u30ca\u30eb(<code>picocom<\/code>) \u3092\u4f7f\u3063\u3066\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30a8\u30c3\u30b82\u306b\u3082\u540c\u3058\u6587\u5b57\u5217\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"configuring-rs485\">RS485\u306e\u8a2d\u5b9a<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/#configuring-rs485\"><\/a><\/h2>\n\n\n\n[<strong>\u6ce8<\/strong>]:Mixtile \u304c\u30ea\u30ea\u30fc\u30b9\u3057\u305f Android \/ Debian \u306f\u3001\u3059\u3067\u306b\u30ab\u30fc\u30cd\u30eb\u3067 RS485 \u6a5f\u80fd\u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u307e\u3059\u3002Andorid \/ Debian\u30b7\u30b9\u30c6\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bRS485\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>Edge 2\u306eRS485\u30b3\u30cd\u30af\u30bf\u306fUART4\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002RS485\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u3067UART4\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30ab\u30fc\u30cd\u30eb\u306b\u95a2\u4fc2\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u4ee5\u4e0b\u306e\u901a\u308a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kernel\/arch\/arm64\/boot\/dts\/rockchip\/mixtile-edge2.dts\n<\/code><\/pre>\n\n\n\n<p>UART4 \u3092\u6709\u52b9\u306b\u3059\u308b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&amp;uart4\n    status = \"OK\"\uff1b\n    pinctrl-0 = \uff1b\n};\n<\/code><\/pre>\n\n\n\n<p>\u30ab\u30fc\u30cd\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u306b\u306f&nbsp;<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#compiling-kernel\"><strong>\u30ab\u30fc\u30cd\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<\/strong><\/a>&nbsp;\u306e\u7ae0\u3067\u8a73\u3057\u304f\u8aac\u660e\u3059\u308b\u3002<\/p>\n\n\n\n<p>boot.img\u3092\u713c\u304f\u306b\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002&nbsp;<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/getting-started\/update-firmware\/\"><strong>\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u66f4\u65b0<\/strong><\/a>&nbsp;\u306e\u7ae0\u3067\u8a73\u3057\u304f\u8aac\u660e\u3059\u308b\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Edge 2 has one RS485 connector. Connecting hardware Port the USB to RS485 converter to the PC, and connect the cable to the Edge 2 RS485 connector. Refer to the following wire sequence connection diagram: Testing RS485 Open the PC serial port Taking macOS as an example, the USB to RS485 converter node&nbsp;tty.usbserial-14310&nbsp;exists in the [&#8230;]","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"spay_email":""},"ht-kb-category":[77],"ht-kb-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Use RS485 | Mixtile<\/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.mixtile.com\/ja\/docs\/use-rs485\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use RS485 | Mixtile\" \/>\n<meta property=\"og:description\" content=\"Edge 2 has one RS485 connector. Connecting hardware Port the USB to RS485 converter to the PC, and connect the cable to the Edge 2 RS485 connector. Refer to the following wire sequence connection diagram: Testing RS485 Open the PC serial port Taking macOS as an example, the USB to RS485 converter node&nbsp;tty.usbserial-14310&nbsp;exists in the [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/\" \/>\n<meta property=\"og:site_name\" content=\"Mixtile\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-09T08:19:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/RS485-connection.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#organization\",\"name\":\"Mixtile Limited\",\"url\":\"https:\/\/www.mixtile.com\/ja\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#logo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg\",\"contentUrl\":\"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg\",\"caption\":\"Mixtile Limited\"},\"image\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\",\"url\":\"https:\/\/www.mixtile.com\/ja\/\",\"name\":\"Mixtile\",\"description\":\"Hardware for IoT Solutions\",\"publisher\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mixtile.com\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/RS485-connection.png\",\"contentUrl\":\"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/RS485-connection.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#webpage\",\"url\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/\",\"name\":\"Use RS485 | Mixtile\",\"isPartOf\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#primaryimage\"},\"datePublished\":\"2023-09-06T07:44:21+00:00\",\"dateModified\":\"2024-10-09T08:19:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mixtile.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use RS485\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Use RS485 | Mixtile","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.mixtile.com\/ja\/docs\/use-rs485\/","og_locale":"ja_JP","og_type":"article","og_title":"Use RS485 | Mixtile","og_description":"Edge 2 has one RS485 connector. Connecting hardware Port the USB to RS485 converter to the PC, and connect the cable to the Edge 2 RS485 connector. Refer to the following wire sequence connection diagram: Testing RS485 Open the PC serial port Taking macOS as an example, the USB to RS485 converter node&nbsp;tty.usbserial-14310&nbsp;exists in the [...]","og_url":"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/","og_site_name":"Mixtile","article_modified_time":"2024-10-09T08:19:15+00:00","og_image":[{"url":"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/RS485-connection.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.mixtile.com\/ja\/#organization","name":"Mixtile Limited","url":"https:\/\/www.mixtile.com\/ja\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.mixtile.com\/ja\/#logo","inLanguage":"ja","url":"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg","contentUrl":"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg","caption":"Mixtile Limited"},"image":{"@id":"https:\/\/www.mixtile.com\/ja\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.mixtile.com\/ja\/#website","url":"https:\/\/www.mixtile.com\/ja\/","name":"Mixtile","description":"Hardware for IoT Solutions","publisher":{"@id":"https:\/\/www.mixtile.com\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mixtile.com\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#primaryimage","inLanguage":"ja","url":"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/RS485-connection.png","contentUrl":"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-rs485\/RS485-connection.png"},{"@type":"WebPage","@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#webpage","url":"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/","name":"Use RS485 | Mixtile","isPartOf":{"@id":"https:\/\/www.mixtile.com\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#primaryimage"},"datePublished":"2023-09-06T07:44:21+00:00","dateModified":"2024-10-09T08:19:15+00:00","breadcrumb":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-rs485\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mixtile.com\/"},{"@type":"ListItem","position":2,"name":"Use RS485"}]}]}},"_links":{"self":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3751"}],"collection":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/comments?post=3751"}],"version-history":[{"count":5,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3751\/revisions"}],"predecessor-version":[{"id":7076,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3751\/revisions\/7076"}],"wp:attachment":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/media?parent=3751"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-category?post=3751"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-tag?post=3751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}