{"id":77912,"date":"2024-01-04T23:02:08","date_gmt":"2024-01-04T15:02:08","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=77912"},"modified":"2024-01-04T23:02:08","modified_gmt":"2024-01-04T15:02:08","slug":"syrzmljs","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/77912.html","title":{"rendered":"\u4f7f\u7528RS485\u600e\u4e48\u8fde\u63a5STM32"},"content":{"rendered":"

  RS485\u662f\u4e00\u79cd\u5e38\u7528\u7684\u4e32\u884c\u901a\u8baf\u534f\u8bae\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u9886\u57df\u548c\u81ea\u52a8\u5316\u63a7\u5236\u3002\u4eca\u5929\u6211\u4eec\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728STM32<\/a>\u5355\u7247\u673a<\/a>\u4e0a\u4f7f\u7528RS485\u901a\u8baf\uff0c\u5e76\u5728\u5de5\u63a7\u9886\u57df\u4e2d\u53d1\u6325\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n

\u7b2c\u4e00\u90e8\u5206\uff1aSTM32\u4e32\u53e3\u914d\u7f6e<\/h2>\n

  \u4e3a\u4e86\u4f7f\u7528RS485\u901a\u8baf\uff0c\u9996\u5148\u9700\u8981\u914d\u7f6eSTM32\u7684\u4e32\u53e3\u4f5c\u4e3aRS485\u7684\u53d1\u9001\u548c\u63a5\u6536\u7aef\u53e3\u3002\u4ee5\u4e0b\u662f\u914d\u7f6e\u6b65\u9aa4\uff1a<\/p>\n

  1.1 \u914d\u7f6e\u5f15\u811a<\/h3>\n

  \u8981\u4f7f\u7528STM32\u7684\u4e32\u53e3\u4f5c\u4e3aRS485\u901a\u8baf\u53e3\uff0c\u9996\u5148\u9700\u8981\u914d\u7f6e\u5bf9\u5e94\u7684\u5f15\u811a\u3002\u53ef\u4ee5\u901a\u8fc7STM32\u7684\u6570\u636e\u624b\u518c\u627e\u5230\u76f8\u5e94\u7684\u7ba1\u811a\u6620\u5c04\uff0c\u5e76\u8fdb\u884c\u6b63\u786e\u7684\u5f15\u811a\u914d\u7f6e\u3002<\/p>\n

  1.2 \u521d\u59cb\u5316\u4e32\u53e3<\/h3>\n

  \u5728\u4ee3\u7801\u4e2d\u4f7f\u7528STM32\u7684\u4e32\u53e3\u521d\u59cb\u5316\u51fd\u6570\uff0c\u8bbe\u7f6e\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u7b49\u53c2\u6570\uff0c\u4ee5\u786e\u4fdd\u4e32\u53e3\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n

\u7b2c\u4e8c\u90e8\u5206\uff1aRS485\u901a\u8baf\u8bbe\u7f6e<\/h2>\n

  \u4e00\u65e6STM32\u4e32\u53e3\u914d\u7f6e\u5b8c\u6210\uff0c\u63a5\u4e0b\u6765\u5c31\u662f\u8bbe\u7f6eRS485\u901a\u8baf\u76f8\u5173\u7684\u53c2\u6570\u3002<\/p>\n

  2.1 \u8bbe\u7f6e\u53d1\u9001\u6a21\u5f0f<\/h3>\n

  \u5728RS485\u901a\u8baf\u4e2d\uff0c\u9700\u8981\u6839\u636e\u5177\u4f53\u60c5\u51b5\u5207\u6362\u53d1\u9001\u548c\u63a5\u6536\u6a21\u5f0f\u3002\u5728STM32\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7GPIO<\/a>\u63a7\u5236\u6765\u5207\u6362\u53d1\u9001\u548c\u63a5\u6536\u6a21\u5f0f\u3002<\/p>\n

  2.2 \u6dfb\u52a0\u6570\u636e\u5904\u7406\u903b\u8f91<\/h3>\n

  \u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9700\u8981\u6dfb\u52a0\u6570\u636e\u5904\u7406\u903b\u8f91\uff0c\u5305\u62ec\u6570\u636e\u5c01\u88c5\u3001\u89e3\u6790\u548c\u6821\u9a8c\uff0c\u4ee5\u786e\u4fddRS485\u901a\u8baf\u7684\u53ef\u9760\u6027\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u8bfb\u8005\u5bf9\u5982\u4f55\u5728STM32\u4e0a\u4f7f\u7528RS485\u901a\u8baf\u5e94\u8be5\u6709\u4e86\u521d\u6b65\u7684\u4e86\u89e3\u3002<\/strong>\u5408\u7406\u914d\u7f6eSTM32\u4e32\u53e3\u548cRS485\u901a\u8baf\u53c2\u6570\uff0c\u53ef\u4ee5\u4f7fSTM32\u5355\u7247\u673a\u5728\u5de5\u63a7\u9886\u57df\u4e2d\u53d1\u6325\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

RS485\u662f\u4e00\u79cd\u5e38\u7528\u7684\u4e32\u884c\u901a\u8baf\u534f\u8bae\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u9886\u57df\u548c\u81ea\u52a8\u5316\u63a7\u5236\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728STM32\u5355\u7247\u673a\u4e0a\u4f7f\u7528RS485\u901a\u8baf\uff0c\u5e76\u5728\u5de5\u63a7\u9886\u57df\u4e2d\u53d1\u6325\u91cd\u8981\u4f5c\u7528\u3002\u7b2c\u4e00\u90e8\u5206\uff1aSTM<\/p>\n","protected":false},"author":1,"featured_media":64183,"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":[61],"class_list":["post-77912","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-r"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/77912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=77912"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/77912\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64183"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=77912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=77912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=77912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}