{"id":58787,"date":"2023-10-23T09:48:05","date_gmt":"2023-10-23T01:48:05","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=58787"},"modified":"2023-10-23T09:48:05","modified_gmt":"2023-10-23T01:48:05","slug":"ekzr","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/58787.html","title":{"rendered":"ESP8266\u63a7\u5236RS485"},"content":{"rendered":"

  ESP8266\u662f\u4e00\u79cd\u4f4e\u529f\u8017\u7684Wi-Fi\u6a21\u5757\uff0c\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5404\u79cd\u8bbe\u5907\uff0c\u5176\u4e2d\u5305\u62ecRS485\u603b\u7ebf\u3002RS485\u603b\u7ebf\u662f\u4e00\u79cd\u5e38\u7528\u7684\u5de5\u4e1a\u63a7\u5236\u603b\u7ebf\uff0c\u80fd\u591f\u652f\u6301\u9ad8\u901f\u3001\u9ad8\u53ef\u9760\u6027\u7684\u63a7\u5236\uff0c\u5e76\u80fd\u591f\u652f\u6301\u8fdc\u8ddd\u79bb\u7684\u63a7\u5236\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528ESP8266\u63a7\u5236RS485\u603b\u7ebf\u3002<\/p>\n

ESP8266\u7684\u7279\u6027<\/h2>\n

  ESP8266\u662f\u4e00\u6b3e\u4f4e\u529f\u8017\u7684Wi-Fi\u6a21\u5757\uff0c\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5404\u79cd\u8bbe\u5907\uff0c\u5e76\u4e14\u5177\u6709\u4f4e\u6210\u672c\u3001\u4f4e\u529f\u8017\u548c\u9ad8\u53ef\u9760\u6027\u7684\u7279\u70b9\u3002ESP8266\u53ef\u4ee5\u652f\u6301IEEE 802.11 b\/g\/n\u534f\u8bae\uff0c\u5177\u6709\u8f83\u9ad8\u7684\u53ef\u7f16\u7a0b\u6027\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u63a7\u5236\u534f\u8bae\uff0c\u5305\u62ecRS485\u3001Modbus\u3001CAN\u7b49\u3002<\/p>\n

ESP8266\u63a7\u5236RS485\u4e3b\u8981\u6b65\u9aa4<\/h2>\n

  1.\u51c6\u5907\u786c\u4ef6<\/h3>\n

  \u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u51c6\u5907ESP8266\u4e3b\u63a7\u677f\u3001RS485\u6a21\u5757\u3001USB\u8f6cTTL\u9002\u914d\u5668\u7b49\u786c\u4ef6\u3002ESP8266\u4e3b\u63a7\u677f\u53ef\u4ee5\u662fESP-12E\u3001ESP-12F\u3001NodeMCU\u7b49\uff0cRS485\u6a21\u5757\u53ef\u4ee5\u662fMAX485\u3001SN65HVD30\u7b49\uff0cUSB\u8f6cTTL\u9002\u914d\u5668\u53ef\u4ee5\u662fCH340\u3001FT232\u7b49\u3002<\/p>\n

  2.\u7f16\u5199\u7a0b\u5e8f<\/h3>\n

  \u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u7f16\u5199\u7a0b\u5e8f\uff0c\u5c06ESP8266\u4e0eRS485\u6a21\u5757\u8fde\u63a5\u8d77\u6765\uff0c\u5e76\u901a\u8fc7ESP8266\u6765\u63a7\u5236RS485\u603b\u7ebf\u4e0a\u7684\u8bbe\u5907\u3002\u5177\u4f53\u7684\u7a0b\u5e8f\u53ef\u4ee5\u53c2\u8003\u7f51\u4e0a\u7684\u6559\u7a0b\uff0c\u4e5f\u53ef\u4ee5\u81ea\u884c\u7f16\u5199\uff0c\u4f46\u662f\u6700\u597d\u4f7f\u7528\u6807\u51c6\u7684Modbus\u534f\u8bae\uff0c\u4ee5\u786e\u4fdd\u63a7\u5236\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n

  3.\u8fde\u63a5\u786c\u4ef6<\/h3>\n

  \u6700\u540e\uff0c\u6211\u4eec\u9700\u8981\u5c06ESP8266\u548cRS485\u6a21\u5757\u8fde\u63a5\u8d77\u6765\uff0c\u5e76\u5c06USB\u8f6cTTL\u9002\u914d\u5668\u8fde\u63a5\u5230ESP8266\uff0c\u4ee5\u4fbf\u5c06\u7a0b\u5e8f\u70e7\u5f55\u5230ESP8266\u4e2d\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86\u4f7f\u7528ESP8266\u63a7\u5236RS485\u603b\u7ebf\u7684\u65b9\u6cd5\u3002<\/strong>\u9996\u5148\uff0c\u6211\u4eec\u51c6\u5907\u597d\u6240\u9700\u7684\u786c\u4ef6\uff0c\u7136\u540e\u7f16\u5199\u76f8\u5e94\u7684\u7a0b\u5e8f\uff0c\u6700\u540e\u5c06ESP8266\u548cRS485\u6a21\u5757\u8fde\u63a5\u8d77\u6765\uff0c\u5e76\u5c06USB\u8f6cTTL\u9002\u914d\u5668\u8fde\u63a5\u5230ESP8266\uff0c\u5373\u53ef\u5b8c\u6210ESP8266\u63a7\u5236RS485\u603b\u7ebf\u7684\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

ESP8266\u662f\u4e00\u79cd\u4f4e\u529f\u8017\u7684Wi-Fi\u6a21\u5757\uff0c\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5404\u79cd\u8bbe\u5907\uff0c\u5176\u4e2d\u5305\u62ecRS485\u603b\u7ebf\u3002RS485\u603b\u7ebf\u662f\u4e00\u79cd\u5e38\u7528\u7684\u5de5\u4e1a\u63a7\u5236\u603b\u7ebf\uff0c\u80fd\u591f\u652f\u6301\u9ad8\u901f\u3001\u9ad8\u53ef\u9760\u6027\u7684\u63a7\u5236\uff0c\u5e76\u80fd\u591f\u652f\u6301<\/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":[61],"class_list":["post-58787","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\/58787"}],"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=58787"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/58787\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=58787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=58787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=58787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}