{"id":63906,"date":"2023-10-22T21:43:54","date_gmt":"2023-10-22T13:43:54","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=63906"},"modified":"2024-01-09T09:51:13","modified_gmt":"2024-01-09T01:51:13","slug":"wxscmkzmxrsj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/63906.html","title":{"rendered":"\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u600e\u4e48\u5199\u5165\u6570\u636e?"},"content":{"rendered":"\n

\u3000\u3000\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u662f\u4e00\u79cd\u5e38\u7528\u7684\u65e0\u7ebf\u901a\u4fe1\u8bbe\u5907\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u7b49\u9886\u57df\u3002\u5728\u4f7f\u7528\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u65f6\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5c06\u6570\u636e\u5199\u5165\u6a21\u5757\u4e2d<\/strong>\uff0c\u4ee5\u5b9e\u73b0\u6570\u636e\u7684\u4f20\u8f93\u548c\u901a\u4fe1\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u6570\u636e\u5199\u5165\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e9b\u6ce8\u610f\u4e8b\u9879\uff0c\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u4f7f\u7528\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e00\u3001\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u6570\u636e\u5199\u5165\u65b9\u6cd5<\/h2>\n\n\n\n

\u3000\u3000\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u6570\u636e\u5199\u5165\u65b9\u6cd5\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u79cd\uff1a<\/p>\n\n\n\n

\u3000\u30001. \u4e32\u53e3\u5199\u5165<\/strong>\uff1a\u901a\u8fc7\u4e32\u53e3\u901a\u4fe1\u5c06\u6570\u636e\u5199\u5165\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u3002\u8fd9\u662f\u4e00\u79cd\u5e38\u7528\u7684\u6570\u636e\u5199\u5165\u65b9\u6cd5\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5b9e\u65f6\u4f20\u8f93\u6570\u636e\u7684\u573a\u666f\u3002\u4f7f\u7528\u4e32\u53e3\u5199\u5165\u6570\u636e\u65f6\uff0c\u9700\u8981\u5148\u8fde\u63a5\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u4e32\u53e3\u63a5\u53e3\uff0c\u5e76\u8bbe\u7f6e\u597d\u4e32\u53e3\u53c2\u6570\uff0c\u5982\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u7b49\u3002\u7136\u540e\uff0c\u901a\u8fc7\u7f16\u7a0b\u8bed\u8a00\u6216\u4e32\u53e3\u5de5\u5177\u53d1\u9001\u6570\u636e\u5230\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u3002<\/p>\n\n\n\n

\u3000\u30002. SPI\u5199\u5165<\/strong>\uff1a\u901a\u8fc7SPI\u63a5\u53e3\u5c06\u6570\u636e\u5199\u5165\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u3002SPI(Serial Peripheral Interface)\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u4e32\u884c\u5916\u8bbe\u63a5\u53e3\uff0c\u5177\u6709\u9ad8\u901f\u4f20\u8f93\u548c\u7075\u6d3b\u7684\u901a\u4fe1\u65b9\u5f0f\u3002\u4f7f\u7528SPI\u5199\u5165\u6570\u636e\u65f6\uff0c\u9700\u8981\u5c06\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u4e0e\u4e3b\u63a7\u8bbe\u5907\u901a\u8fc7SPI\u63a5\u53e3\u8fde\u63a5\uff0c\u5e76\u6839\u636e\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u901a\u4fe1\u534f\u8bae\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n

\u3000\u30003. I2C\u5199\u5165<\/strong>\uff1a\u901a\u8fc7I2C\u63a5\u53e3\u5c06\u6570\u636e\u5199\u5165\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u3002I2C(Inter-Integrated Circuit)\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u9002\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u8bbe\u5907\u7684\u573a\u666f\u3002\u4f7f\u7528I2C\u5199\u5165\u6570\u636e\u65f6\uff0c\u9700\u8981\u5c06\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u4e0e\u4e3b\u63a7\u8bbe\u5907\u901a\u8fc7I2C\u63a5\u53e3\u8fde\u63a5\uff0c\u5e76\u6309\u7167\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u901a\u4fe1\u534f\u8bae\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e8c\u3001\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u6570\u636e\u5199\u5165\u7684\u6ce8\u610f\u4e8b\u9879<\/h2>\n\n\n\n

\u3000\u3000\u5728\u8fdb\u884c\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u6570\u636e\u5199\u5165\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n\n\n\n

\u3000\u30001. \u786e\u8ba4\u63a5\u53e3\u548c\u901a\u4fe1\u534f\u8bae<\/strong>\uff1a\u5728\u9009\u62e9\u6570\u636e\u5199\u5165\u65b9\u6cd5\u4e4b\u524d\uff0c\u8981\u786e\u4fdd\u4e86\u89e3\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u63a5\u53e3\u7c7b\u578b\u548c\u901a\u4fe1\u534f\u8bae\u3002\u4e0d\u540c\u7684\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u53ef\u80fd\u91c7\u7528\u4e0d\u540c\u7684\u63a5\u53e3\u548c\u901a\u4fe1\u534f\u8bae\uff0c\u56e0\u6b64\u9700\u8981\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u5199\u5165\u65b9\u6cd5\u3002<\/p>\n\n\n\n

\u3000\u30002. \u914d\u7f6e\u53c2\u6570\u8bbe\u7f6e<\/strong>\uff1a\u5728\u5199\u5165\u6570\u636e\u4e4b\u524d\uff0c\u9700\u8981\u5bf9\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u8fdb\u884c\u76f8\u5e94\u7684\u914d\u7f6e\u53c2\u6570\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u53c2\u6570\u5305\u62ec\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u7b49\uff0c\u6839\u636e\u5b9e\u9645\u9700\u6c42\u8fdb\u884c\u8bbe\u7f6e\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u6b63\u786e\u4f20\u8f93\u548c\u901a\u4fe1\u3002<\/p>\n\n\n\n

\u3000\u30003. \u6570\u636e\u683c\u5f0f\u8f6c\u6362<\/strong>\uff1a\u5728\u5199\u5165\u6570\u636e\u4e4b\u524d\uff0c\u9700\u8981\u5c06\u6570\u636e\u8fdb\u884c\u683c\u5f0f\u8f6c\u6362\uff0c\u4ee5\u9002\u5e94\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u8981\u6c42\u3002\u4f8b\u5982\uff0c\u5c06\u6570\u636e\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u6216\u7279\u5b9a\u7684\u901a\u4fe1\u534f\u8bae\u683c\u5f0f\uff0c\u786e\u4fdd\u6570\u636e\u80fd\u591f\u6b63\u786e\u5730\u88ab\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u63a5\u6536\u548c\u89e3\u6790\u3002<\/p>\n\n\n\n

\u3000\u30004. \u9519\u8bef\u5904\u7406\u548c\u5f02\u5e38\u60c5\u51b5\u5904\u7406<\/strong>\uff1a\u5728\u6570\u636e\u5199\u5165\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u9519\u8bef\u6216\u5f02\u5e38\u60c5\u51b5\uff0c\u5982\u901a\u4fe1\u4e2d\u65ad\u3001\u6570\u636e\u4e22\u5931\u7b49\u3002\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u7684\u5b8c\u6574\u6027\u548c\u53ef\u9760\u6027\uff0c\u9700\u8981\u5728\u7a0b\u5e8f\u4e2d\u8fdb\u884c\u76f8\u5e94\u7684\u9519\u8bef\u5904\u7406\u548c\u5f02\u5e38\u60c5\u51b5\u5904\u7406\uff0c\u4ee5\u63d0\u9ad8\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n\n\n\n

\u3000\u30005. \u6570\u636e\u5199\u5165\u901f\u5ea6\u63a7\u5236<\/strong>\uff1a\u6839\u636e\u5b9e\u9645\u9700\u6c42\u548c\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u6027\u80fd\uff0c\u5408\u7406\u63a7\u5236\u6570\u636e\u5199\u5165\u7684\u901f\u5ea6\u3002\u5982\u679c\u6570\u636e\u5199\u5165\u901f\u5ea6\u8fc7\u5feb\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u6216\u901a\u4fe1\u9519\u8bef;\u5982\u679c\u6570\u636e\u5199\u5165\u901f\u5ea6\u8fc7\u6162\uff0c\u53ef\u80fd\u4f1a\u5f71\u54cd\u7cfb\u7edf\u7684\u5b9e\u65f6\u6027\u548c\u54cd\u5e94\u6027\u3002<\/p>\n\n\n\n

\u3000\u3000\u7ed3\u8bba\uff1a<\/h2>\n\n\n\n

\u3000\u3000\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u6570\u636e\u5199\u5165\u662f\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u548c\u901a\u4fe1\u7684\u5173\u952e\u6b65\u9aa4\u3002\u672c\u6587\u4ecb\u7ecd\u4e86\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u6570\u636e\u5199\u5165\u65b9\u6cd5\uff0c\u5305\u62ec\u4e32\u53e3\u5199\u5165\u3001SPI\u5199\u5165\u548cI2C\u5199\u5165\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6ce8\u610f\u4e8b\u9879\u3002<\/strong>\u901a\u8fc7\u5408\u7406\u9009\u62e9\u6570\u636e\u5199\u5165\u65b9\u6cd5\u3001\u6b63\u786e\u8bbe\u7f6e\u53c2\u6570\u3001\u8fdb\u884c\u6570\u636e\u683c\u5f0f\u8f6c\u6362\u4ee5\u53ca\u8fdb\u884c\u9519\u8bef\u5904\u7406\u548c\u901f\u5ea6\u63a7\u5236\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u5b9e\u73b0\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u7684\u6570\u636e\u5199\u5165\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u60a8\u5728\u4f7f\u7528\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u65f6\u6709\u6240\u5e2e\u52a9!<\/p>\n","protected":false},"excerpt":{"rendered":"

\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u662f\u4e00\u79cd\u5e38\u7528\u7684\u65e0\u7ebf\u901a\u4fe1\u8bbe\u5907\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u7b49\u9886\u57df\u3002\u5728\u4f7f\u7528\u65e0\u7ebf\u6570\u4f20\u6a21\u5757\u65f6\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5c06\u6570\u636e\u5199\u5165\u6a21\u5757\u4e2d<\/p>\n","protected":false},"author":1,"featured_media":6014,"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":[369,76],"class_list":["post-63906","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-wxscmk","tag-wxmk"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/63906","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=63906"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/63906\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/6014"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=63906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=63906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=63906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}