{"id":512,"date":"2016-05-26T09:34:10","date_gmt":"2016-05-26T00:34:10","guid":{"rendered":"http:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/?p=512"},"modified":"2016-06-14T11:03:28","modified_gmt":"2016-06-14T02:03:28","slug":"arduino%e3%81%a8rs-232c%e3%82%92%e6%8e%a5%e7%b6%9a%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/?p=512","title":{"rendered":"Arduino\u3068RS-232\u3092\u63a5\u7d9a\u3059\u308b"},"content":{"rendered":"<p>Arduino\u3068\u4ed6\u306e\u6a5f\u5668\u3068\u306e\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306bRS-232\u3057\u304b\u4f7f\u3048\u306a\u3044\u5834\u5408\u3001\u30d4\u30f3#0\u3068#1\u3092\u4f7f\u3048\u308b\u3002\u305f\u3060\u3057\u3001Arduino\u306f0\/+5V\uff080V = 0;\u00a0+5V = 1\uff09\u3001RS-232\u306f\u00b13V\u301c\u00b115V\uff08-3V\u4ee5\u4e0b = 1; +3V\u4ee5\u4e0a = 0 \uff09\u3068\u96fb\u5727\u304c\u7570\u306a\u308b\u306e\u3067\u3001\u30d4\u30f3\u540c\u58eb\u3092\u7d50\u7dda\u3059\u308b\u3060\u3051\u3067\u306f\u4fe1\u53f7\u304c\u4f1d\u308f\u3089\u306a\u3044\u3002<a href=\"https:\/\/www.arduino.cc\/en\/Reference\/Serial\" target=\"_blank\">Arduino\u3092\u7834\u640d\u3059\u308b\u304a\u305d\u308c\u3082\u3042\u308b<\/a>\u3002<a href=\"https:\/\/www.maximintegrated.com\/jp\/products\/interface\/transceivers\/rs-232-transceivers.html\" target=\"_blank\">RS-232\u30c8\u30e9\u30f3\u30b7\u30fc\u30d0<\/a>\u3068\u3044\u3046\u30c1\u30c3\u30d7\u3092\u4f7f\u3046\u3068\u3001\u3053\u306e\u96fb\u5727\u306e\u9055\u3044\u3092\u5909\u63db\u3067\u304d\u308b\u3002<!--more--><\/p>\n<figure id=\"attachment_513\" aria-describedby=\"caption-attachment-513\" style=\"width: 1392px\" class=\"wp-caption alignnone\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"wp-image-513 size-full\" src=\"https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/05\/a277413fd0c288334a5d559e6929c9e7.png?resize=840%2C566\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-05-26 08.37.16\" width=\"840\" height=\"566\" srcset=\"https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/05\/a277413fd0c288334a5d559e6929c9e7.png?w=1392&amp;ssl=1 1392w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/05\/a277413fd0c288334a5d559e6929c9e7.png?resize=300%2C202&amp;ssl=1 300w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/05\/a277413fd0c288334a5d559e6929c9e7.png?resize=768%2C518&amp;ssl=1 768w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/05\/a277413fd0c288334a5d559e6929c9e7.png?resize=1024%2C690&amp;ssl=1 1024w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/05\/a277413fd0c288334a5d559e6929c9e7.png?resize=1200%2C809&amp;ssl=1 1200w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><figcaption id=\"caption-attachment-513\" class=\"wp-caption-text\">\u30b7\u30fc\u30eb\u30c9\u3068\u3057\u3066\u5b9f\u88c5<\/figcaption><\/figure>\n<p>RS-232\u30c8\u30e9\u30f3\u30b7\u30fc\u30d0\u306b\u306f\u3001\u96fb\u6e90\u96fb\u5727\u3001\u5909\u63db\u3067\u304d\u308b\u56de\u8def\u306e\u6570\u3001\u5916\u90e8\u30ad\u30e3\u30d1\u30b7\u30bf\u306e\u8981\u4e0d\u8981\u3001\u7aef\u5b50\u306e\u5f62\u72b6\u3001\u6700\u5927\u30b9\u30d4\u30fc\u30c9\u306a\u3069\u306e\u9055\u3044\u3067\u591a\u7a2e\u3042\u308b\u3002\u4e0b\u306f2\u56de\u8def\u306e\u88fd\u54c1\uff1a<\/p>\n<ul>\n<li>\u5916\u90e8\u30ad\u30e3\u30d1\u30b7\u30bf\u8981\uff1aMAX202\uff085V\uff09\u3001MAX232\uff083.3\/5V\uff09<\/li>\n<li>\u30ad\u30e3\u30d1\u30b7\u30bf\u5185\u8535\uff1aMAX203\uff085V\uff09\u3001MAX233\uff083.3\/5V\uff09<\/li>\n<\/ul>\n<p>MAX232\/233\u306f3.3V\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u30015V\u306a\u3089MAX202\/203\u306e\u307b\u3046\u304c\u3088\u3044\u3002\u30ad\u30e3\u30d1\u30b7\u30bf\u306f\u7a4d\u5c64\u30bb\u30e9\u30df\u30c3\u30af\u30b3\u30f3\u30c7\u30f3\u30b5\u306a\u3069\u3002<\/p>\n<p>RS-232\u306b\u4f7f\u308f\u308c\u308bDB-9\u7aef\u5b50\u3068Arduino\u3068\u306e\u63a5\u7d9a\u306b\u306f<a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/B00CSRGJ2G\/ref=as_li_ss_tl?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=B00CSRGJ2G&amp;linkCode=as2&amp;tag=adammedgunmua-22\">Cisco \u30b3\u30f3\u30bd\u30fc\u30eb\u30b1\u30fc\u30d6\u30eb<\/a><img decoding=\"async\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=adammedgunmua-22&amp;l=as2&amp;o=9&amp;a=B00CSRGJ2G\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/>\uff08\u307e\u305f\u306f\u4e92\u63db\u54c1\uff09\u3092\u4f7f\u3063\u3066RJ-45\u306b\u5909\u63db\u3059\u308b\u306e\u304c\u4fbf\u5229\u3002MAX202\/3\u306eTout\u306bRS-232C\u306eTX\u3092\u3001Rin\u306bRS-232\u306eRX\u3092\u3064\u306a\u3050\u3002\u307e\u305fTX\u3068RX\u3068\u3092\u30af\u30ed\u30b9\u3055\u305b\u305a\u3001\u30b9\u30c8\u30ec\u30fc\u30c8\u7d50\u7dda\u306b\u3059\u308b\u3002\u3059\u306a\u308f\u3061\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u30b1\u30fc\u30d6\u30eb\u306eRJ-45\u7aef\u304b\u3089Arduino\u307e\u3067\u306e\u7d50\u7dda\u306f\u6b21\u306e\u901a\u308a\uff1a<\/p>\n<ul>\n<li>RJ-45 #3 (TX) \u2013 MAX202\/3 T1out \u2013 \u00a0T1in \u2013 Arduino #1 (TX)<\/li>\n<li>RJ-45 #6 (RX) \u2013 MAX202\/3 R1in \u2013 R1out \u2013 Arduino #0 (RX)<\/li>\n<\/ul>\n<p>Arduino\u306e\u30d4\u30f3#0\/#1\u306b\u5e38\u6642\u7d50\u7dda\u3055\u308c\u3066\u3044\u308b\u3068USB\u30dd\u30fc\u30c8\u304c\u7121\u52b9\u306b\u306a\u308a\u3001\u30b9\u30b1\u30c3\u30c1\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u306a\u304f\u306a\u308b\u3002\u305d\u306e\u305f\u3081\u3001\u30d4\u30f3#0\/#1\u306e\u624b\u524d\u306b2\u56de\u8def\u306e\u30aa\u30eb\u30bf\u30cd\u30fc\u30c8\u30b9\u30a4\u30c3\u30c1\u3092\u5165\u308c\u3066\u5207\u65ad\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<p>\u901a\u4fe1\u5236\u5fa1\u306f<a href=\"https:\/\/en.wikipedia.org\/wiki\/8-N-1\" target=\"_blank\">8-N-1<\/a>\u3002<\/p>\n<p>\u540c\u69d8\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u5e02\u8ca9\u306e\u30a2\u30c0\u30d7\u30bf\u3084\u30b7\u30fc\u30eb\u30c9\u3082\u3042\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Arduino\u3068\u4ed6\u306e\u6a5f\u5668\u3068\u306e\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306bRS-232\u3057\u304b\u4f7f\u3048\u306a\u3044\u5834\u5408\u3001\u30d4\u30f3#0\u3068#1\u3092\u4f7f\u3048\u308b\u3002\u305f\u3060\u3057\u3001Arduino\u306f0\/+5V\uff080V = 0;\u00a0+5V = 1\uff09\u3001RS-232\u306f\u00b13V\u301c\u00b115V\uff08-3V\u4ee5\u4e0b = 1; <\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7,25],"tags":[],"class_list":["post-512","post","type-post","status-publish","format-standard","hentry","category-computer-internet","category-diy"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4fFyn-8g","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/posts\/512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=512"}],"version-history":[{"count":22,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/posts\/512\/revisions"}],"predecessor-version":[{"id":591,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/posts\/512\/revisions\/591"}],"wp:attachment":[{"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}