{"id":56669,"date":"2023-10-23T00:58:48","date_gmt":"2023-10-22T16:58:48","guid":{"rendered":"\/\/www.viralrail.com\/?p=56669"},"modified":"2023-10-23T00:58:48","modified_gmt":"2023-10-22T16:58:48","slug":"uzcdckxy","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/56669.html","title":{"rendered":"Unity\u652f\u6301\u7684\u4e32\u53e3\u534f\u8bae"},"content":{"rendered":"

  \u4e32\u53e3\u534f\u8bae\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u901a\u4fe1\u534f\u8bae\u3002Unity\u662f\u4e00\u6b3e\u591a\u5e73\u53f0\u5f00\u53d1\u5f15\u64ce\uff0c\u5b83\u652f\u6301\u591a\u79cd\u4e32\u53e3\u534f\u8bae\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728Unity\u6e38\u620f\u4e2d\u5f00\u53d1\u4e32\u53e3\u901a\u4fe1\u529f\u80fd\u3002\u672c\u6587\u5c06\u4ecb\u7ecdUnity\u652f\u6301\u7684\u51e0\u79cd\u4e32\u53e3\u534f\u8bae\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u4eec\u6765\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u3002<\/p>\n

RS-232<\/h2>\n

  RS-232\u662f\u4e00\u79cd\u5e7f\u6cdb\u4f7f\u7528\u7684\u4e32\u53e3\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u7684\u7279\u70b9\u662f\u53ef\u4ee5\u5728\u8f83\u8fdc\u7684\u8ddd\u79bb\u4f20\u8f93\u6570\u636e\uff0c\u800c\u4e14\u5177\u6709\u8f83\u9ad8\u7684\u6570\u636e\u4f20\u8f93\u7387\u3002Unity\u652f\u6301RS-232\u534f\u8bae\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u3002<\/p>\n

  \u5982\u4f55\u4f7f\u7528RS-232\u534f\u8bae\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1<\/h3>\n

  \u4f7f\u7528RS-232\u534f\u8bae\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u9700\u8981\u786c\u4ef6\u8bbe\u5907\uff0c\u4f8b\u5982RS-232\u8f6c\u6362\u5668\u548cUSB\u8f6c\u6362\u5668\u3002\u9996\u5148\uff0c\u9700\u8981\u628aRS-232\u8f6c\u6362\u5668\u8fde\u63a5\u5230\u4e24\u4e2a\u8bbe\u5907\uff0c\u7136\u540e\u4f7f\u7528USB\u8f6c\u6362\u5668\u628aRS-232\u8f6c\u6362\u5668\u8fde\u63a5\u5230Unity\u6e38\u620f\u4e2d\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Unity\u7684SerialPort\u7c7b\u6765\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728Unity\u6e38\u620f\u4e2d\u5b9e\u73b0RS-232\u534f\u8bae\u7684\u4e32\u53e3\u901a\u4fe1\u529f\u80fd\u3002<\/p>\n

RS-485<\/h2>\n

  RS-485\u662f\u4e00\u79cd\u53ef\u9760\u7684\u4e32\u53e3\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5728\u8f83\u8fdc\u7684\u8ddd\u79bb\u4f20\u8f93\u6570\u636e\uff0c\u800c\u4e14\u5177\u6709\u8f83\u9ad8\u7684\u6570\u636e\u4f20\u8f93\u7387\u3002Unity\u652f\u6301RS-485\u534f\u8bae\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u3002<\/p>\n

  \u5982\u4f55\u4f7f\u7528RS-485\u534f\u8bae\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1<\/h3>\n

  \u4f7f\u7528RS-485\u534f\u8bae\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u9700\u8981\u786c\u4ef6\u8bbe\u5907\uff0c\u4f8b\u5982RS-485\u8f6c\u6362\u5668\u548cUSB\u8f6c\u6362\u5668\u3002\u9996\u5148\uff0c\u9700\u8981\u628aRS-485\u8f6c\u6362\u5668\u8fde\u63a5\u5230\u4e24\u4e2a\u8bbe\u5907\uff0c\u7136\u540e\u4f7f\u7528USB\u8f6c\u6362\u5668\u628aRS-485\u8f6c\u6362\u5668\u8fde\u63a5\u5230Unity\u6e38\u620f\u4e2d\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Unity\u7684SerialPort\u7c7b\u6765\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728Unity\u6e38\u620f\u4e2d\u5b9e\u73b0RS-485\u534f\u8bae\u7684\u4e32\u53e3\u901a\u4fe1\u529f\u80fd\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  Unity\u652f\u6301\u591a\u79cd\u4e32\u53e3\u534f\u8bae\uff0c\u5305\u62ecRS-232\u548cRS-485\u534f\u8bae\u3002<\/strong>\u8fd9\u4e9b\u534f\u8bae\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728Unity\u6e38\u620f\u4e2d\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u529f\u80fd\u3002\u8981\u4f7f\u7528\u8fd9\u4e9b\u534f\u8bae\uff0c\u9700\u8981\u4f7f\u7528\u786c\u4ef6\u8bbe\u5907\uff0c\u5982RS-232\u8f6c\u6362\u5668\u548cRS-485\u8f6c\u6362\u5668\uff0c\u5e76\u4f7f\u7528Unity\u7684SerialPort\u7c7b\u6765\u5b9e\u73b0\u4e32\u53e3\u901a\u4fe1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4e32\u53e3\u534f\u8bae\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u901a\u4fe1\u534f\u8bae\u3002Unity\u662f\u4e00\u6b3e\u591a\u5e73\u53f0\u5f00\u53d1\u5f15\u64ce\uff0c\u5b83\u652f\u6301\u591a\u79cd\u4e32\u53e3\u534f\u8bae\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728Unity\u6e38\u620f\u4e2d\u5f00\u53d1\u4e32\u53e3\u901a\u4fe1\u529f\u80fd\u3002\u672c\u6587\u5c06\u4ecb\u7ecdUni<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[69],"class_list":["post-56669","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/56669"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=56669"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/56669\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=56669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=56669"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=56669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}