{"id":24318,"date":"2023-10-25T00:00:04","date_gmt":"2023-10-24T16:00:04","guid":{"rendered":"https:\/\/techclass.rohm.com.cn\/?p=24318"},"modified":"2026-04-22T14:14:23","modified_gmt":"2026-04-22T06:14:23","slug":"%e5%88%b6%e4%bd%9c%e5%8d%a1%e9%80%9a%e8%a7%92%e8%89%b2%e9%9a%8f%e9%a3%8e%e6%91%86%e5%8a%a8%e5%b0%b1%e8%83%bd%e7%bb%98%e5%88%b6%e5%9b%be%e5%bd%a2%e4%bd%9c%e5%93%81%e7%9a%84%e8%a3%85%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/techclass.rohm.com.cn\/knowledge\/tech-info\/raspberry\/raspberrypi_i05","title":{"rendered":"\u5236\u4f5c\u5361\u901a\u89d2\u8272\u968f\u98ce\u6446\u52a8\u5c31\u80fd\u7ed8\u5236\u56fe\u5f62\u4f5c\u54c1\u7684\u88c5\u7f6e"},"content":{"rendered":"<p><script type=\"text\/javascript\" src=\"https:\/\/ssl-cache.stream.ne.jp\/www50\/eqa194obdo\/jmc_pub\/jmc_swf\/player\/t3\/if.js\" charset=\"UTF-8\"><\/script><\/p>\n<p>\u7b2c1\u7bc7\uff1a<a href=\"https:\/\/techclass.rohm.com.cn\/knowledge\/tech-info\/raspberry\/raspberrypi_i01\">\u901a\u8fc7Raspberry Pi\u95ea\u70c1LED\u9879\u76ee\u5b66\u4e60\u6b27\u59c6\u5b9a\u5f8b\u3001GPIO\u548c\u6676\u4f53\u7ba1\u77e5\u8bc6<\/a><br \/>\n\u7b2c2\u7bc7\uff1a<a href=\"https:\/\/techclass.rohm.com.cn\/knowledge\/tech-info\/raspberry\/raspberrypi_i02\">\u901a\u8fc7Raspberry Pi\u4f7f\u7528LED\u548c\u7535\u673a\uff1a\u5982\u4f55\u5904\u7406\u5927\u7535\u6d41<\/a><br \/>\n\u7b2c3\u7bc7\uff1a<a href=\"https:\/\/techclass.rohm.com.cn\/knowledge\/tech-info\/raspberry\/raspberrypi_i03\">\u4f7f\u7528Raspberry Pi\u8fdb\u884c\u4f20\u611f\u5668\u8f93\u5165\u5b9e\u9a8c<\/a><br \/>\n\u7b2c4\u7bc7\uff1a<a href=\"https:\/\/techclass.rohm.com.cn\/knowledge\/tech-info\/raspberry\/raspberrypi_i04\">\u4f7f\u7528\u4f20\u611f\u5668\u8f7b\u677e\u5236\u4f5c\u6709\u8da3\u7684\u9879\u76ee<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u5728\u672c\u7cfb\u5217\u8fde\u8f7d\u4e2d\uff0c\u4e3b\u8981\u662f\u901a\u8fc7\u4f7f\u7528Raspberry Pi\u521b\u5efa\u7684\u7b80\u5355\u9879\u76ee\u6765\u5b66\u4e60\u7535\u5b50\u5236\u4f5c\u7684\u539f\u7406\u548c\u57fa\u7840\u77e5\u8bc6\u3002\u6b64\u6b21\u7684\u5206\u4eab\u5609\u5bbe\u662f\u4f0a\u85e4\u5c1a\u672a\u5148\u751f\uff0c\u4ed6\u6d3b\u8dc3\u4e8e\u5a92\u4f53\u827a\u672f\u9886\u57df\uff0c\u5e76\u4e14\u4ee5\u8bb2\u89e3\u201c\u66f4\u6df1\u5c42\u6b21\u7684\u539f\u7406\u201d\u7684\u4e66\u7c4d\u800c\u95fb\u540d\u4e16\u754c\u3002\u5728<a href=\"https:\/\/techclass.rohm.com.cn\/knowledge\/tech-info\/raspberry\/raspberrypi_i04\">\u4e0a\u4e00\u7bc7<\/a>\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5b66\u4e60\u4e86\u4f7f\u7528\u4f20\u611f\u5668\u521b\u5efa\u6709\u8da3\u7684\u9879\u76ee\uff0c\u5728\u672c\u6587\u4e2d\uff0c\u5c06\u4e3a\u60a8\u4ecb\u7ecd\u4e00\u6b3e\u8ba9\u4eba\u70ed\u60c5\u9ad8\u6da8\u7684\u7535\u5b50\u4f5c\u54c1\uff0c\u901a\u8fc7\u8ba9\u88c5\u7f6e\u548c\u548c\u663e\u793a\u5668\u8054\u52a8\u6765\u521b\u4f5c\u827a\u672f\u4f5c\u54c1\u3002<\/p>\n<p style=\"text-align: center;\">\u25c6<\/p>\n<h3>[\u76ee\u5f55]<\/h3>\n<h6>1.\u524d\u8a00<br \/>\n2.\u6a21\u62df\u6280\u672f\u548c\u6570\u5b57\u6280\u672f\u7684\u4e50\u8da3<br \/>\n3.\u786e\u5b9a\u4f5c\u54c1\u65b9\u5411<br \/>\n4.\u53cd\u6620\u6211\u4eec\u7684\u610f\u56fe\uff0c\u5374\u5e76\u4e0d\u4e3a\u6211\u4eec\u7684\u610f\u8bc6\u6240\u63a7\u5236\u7684\u4f5c\u54c1<br \/>\n5.\u968f\u98ce\u800c\u6210\u7684\u56fe\u5f62\u4f5c\u54c1<br \/>\n6.\u901a\u8fc7\u7a0b\u5e8f\u751f\u6210\u5404\u79cd\u5404\u6837\u7684\u56fe\u5f62\u4f5c\u54c1<br \/>\n7.\u603b\u7ed3<\/h6>\n<h2>1.\u524d\u8a00<\/h2>\n<p>\u4e00\u76f4\u4ee5\u6765\uff0c\u6211\u90fd\u70ed\u8877\u4e8e\u201c\u624b\u5de5\u5236\u4f5c\u201d\uff0c\u505a\u4e86\u5f88\u591a\u5177\u8c61\u4f5c\u54c1\u3002\u5f53\u7136\uff0c\u5728\u8fd9\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4e00\u76f4\u662f\u6309\u7167\u827a\u672f\u9886\u57df\u7684\u827a\u672f\u5448\u73b0\u5f62\u5f0f\u6765\u5f00\u5c55\u5236\u4f5c\u5de5\u4f5c\u7684\u3002\u6240\u4ee5\uff0c\u6211\u4e5f\u66fe\u53cd\u590d\u601d\u7d22\u201c\u5236\u4f5c\u4ec0\u4e48\u6837\u7684\u4f5c\u54c1\u624d\u6bd4\u8f83\u6709\u8da3\u5462\uff1f\u201d\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u8ba4\u4e3a\u5728\u90a3\u4e9b\u81ea\u5df1\u5173\u6ce8\u7684\u9886\u57df\u5185\uff0c\u7b26\u5408\u81ea\u5df1\u5174\u8da3\u7684\u4e1c\u897f\uff0c\u5e94\u8be5\u90fd\u80fd\u79f0\u5f97\u4e0a\u201c\u6709\u8da3\u201d\u5427\u3002\u56e0\u6b64\uff0c\u5728\u672c\u6587\u4e2d\u6211\u5c06\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e00\u9879\u6211\u8ba4\u4e3a\u6bd4\u8f83\u6709\u8da3\u7684\u4f5c\u54c1\u7684\u5236\u4f5c\u65b9\u6cd5\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25059\" src=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_2.png\" alt=\"ito_05_2\" width=\"141\" height=\"243\" \/><\/p>\n<h2>2.\u6a21\u62df\u6280\u672f\u548c\u6570\u5b57\u6280\u672f\u7684\u4e50\u8da3<\/h2>\n<p>\u6211\u5e76\u4e0d\u60f3\u5728\u6a21\u62df\u6280\u672f\u548c\u6570\u5b57\u6280\u672f\u4e4b\u95f4\u8bbe\u4e00\u4e2a\u9608\u503c\uff08threshold\uff09\u6765\u5c06\u5b83\u4eec\u6cfe\u6e2d\u5206\u660e\u5730\u533a\u5206\u5f00\u6765\u3002\u8fd9\u4e24\u79cd\u6280\u672f\u6beb\u65e0\u7591\u95ee\uff0c\u90fd\u975e\u5e38\u6709\u8da3\u3002<\/p>\n<p>\u6bd4\u5982\uff0c\u901a\u8fc7\u4f7f\u7528\u4f20\u611f\u5668\u611f\u77e5\u6216\u8005\u68c0\u6d4b\u67d0\u4e00\u4fe1\u606f\uff0c\u518d\u6839\u636e\u8be5\u4fe1\u606f\u8f93\u51fa\u67d0\u4e00\u54cd\u5e94\u6307\u4ee4\uff0c\u8fd9\u65e0\u7591\u662f\u5fae\u63a7\u5236\u5668\u6240\u64c5\u957f\u7684\u5de5\u4f5c\u3002\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u53cd\u5c04\u5f0f\u5149\u7535\u4f20\u611f\u5668\uff0c\u5b9e\u73b0\u4e86\u5bf9\u663e\u793a\u5c4f\u4e0a\u7684\u5361\u901a\u89d2\u8272\u7684\u64cd\u63a7\u3002\u4e4b\u540e\u6211\u5c31\u5728\u60f3\uff0c\u80fd\u4e0d\u80fd\u5e72\u8106\u8fde\u53cd\u5c04\u5f0f\u5149\u7535\u4f20\u611f\u5668\u3001\u5149\u4f20\u611f\u5668\u7b49\u534a\u5bfc\u4f53\u4ea7\u54c1\u4e5f\u4e0d\u4f7f\u7528\uff0c\u8fd9\u4e2a\u601d\u8def\u662f\u5426\u53ef\u884c\u5462\uff1f\u3002<\/p>\n<p>\u4ece\u4e0a\u4e00\u7bc7\u6587\u7ae0\u7684\u4f5c\u54c1\u6765\u770b\uff0c\u5373\u4f7f\u6211\u4eec\u7528\u4e86\u534a\u5bfc\u4f53\u4ea7\u54c1\uff0c\u5f97\u5230\u4e86\u4f20\u611f\u5668\u68c0\u6d4b\u5230\u7684\u6570\u503c\uff0c\u6700\u7ec8\u4e5f\u53ea\u662f\u4f7f\u75280\u6216\u80051\u7684\u529f\u80fd\u3002\u5982\u679c\u4ec5\u4ec5\u662f\u8fd9\u6837\uff0c\u76f4\u63a5\u4f7f\u7528\u5f00\u5173\u4e0d\u5c31\u884c\u4e86\u5417\u3002\u5f53\u6211\u610f\u8bc6\u5230\u8fd9\u4e00\u70b9\u65f6\uff0c\u6211\u4e0d\u7531\u5f00\u59cb\u5f97\u91cd\u65b0\u601d\u8003\u5f00\u5173\u548c\u4f20\u611f\u5668\u7a76\u7adf\u6709\u4ec0\u4e48\u533a\u522b\uff0c\u751a\u81f3\u8ba4\u4e3a\u4e24\u8005\u5b9e\u9645\u4e0a\u4e5f\u8bb8\u5c5e\u4e8e\u540c\u4e00\u79cd\u4e1c\u897f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25060\" src=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_3.png\" alt=\"ito_05_3\" width=\"164\" height=\"269\" \/><\/p>\n<p>\u6211\u8fd9\u91cc\u63d0\u5230\u7684\u4f20\u611f\u5668\uff0c\u4e3b\u8981\u6307\u7684\u662f\u7531\u534a\u5bfc\u4f53\u6784\u6210\u7684\u4ea7\u54c1\uff0c\u800c\u5f00\u5173\u5219\u662f\u7531\u7269\u7406\u89e6\u70b9\u6784\u6210\u7684\u4ea7\u54c1\u3002\u4f46\u662f\uff0c\u5f53\u6211\u518d\u6b21\u601d\u8003\u5f00\u5173\u548c\u4f20\u611f\u5668\u7a76\u7adf\u6709\u4ec0\u4e48\u533a\u522b\u65f6\uff0c\u4e0d\u7531\u5f97\u611f\u89c9\u4e24\u8005\u5b9e\u9645\u4e0a\u4e5f\u8bb8\u53ef\u4ee5\u5f52\u4e3a\u540c\u4e00\u7c7b\u4ea7\u54c1\u3002<\/p>\n<p>\u5f53\u7136\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u4e3a\u4e86\u51cf\u5c11\u78e8\u635f\u3001\u53d1\u70ed\u3001\u653e\u7535\u7684\u5f71\u54cd\uff0c\u6709\u4e9b\u5f00\u5173\u89e6\u70b9\u4f1a\u4f7f\u7528\u8010\u78e8\u635f\u3001\u8010\u70ed\u3001\u8010\u7535\u5f3a\u5ea6\u9ad8\u7684\u5408\u91d1\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techclass.rohm.com.cn\/wp-content\/uploads\/2023\/10\/ito_05_5.png\" alt=\"arduino explorer rover\" width=\"700\" height=\"500\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>\u90a3\u4e48\u4f20\u611f\u5668\u53c8\u600e\u4e48\u6837\u5462\uff1f\u5c31\u534a\u5bfc\u4f53\u6784\u6210\u7684\u4f20\u611f\u5668\u800c\u8a00\uff08\u867d\u7136\u5c06\u5176\u7edf\u4e00\u5f52\u7c7b\u4e3a\u201c\u4f20\u611f\u5668\u201d\u672c\u8eab\u6709\u70b9\u7b80\u5355\u7c97\u66b4\uff09\uff0c\u76f8\u6bd4\u7269\u7406\u89e6\u70b9\uff0c\u5b83\u7684\u54cd\u5e94\u6548\u7387\uff08\u6b21\u6570\uff09\u5177\u6709\u538b\u5012\u6027\u7684\u4f18\u52bf\uff0c\u800c\u4e14\u8fd8\u53ef\u4ee5\u901a\u8fc7\u7535\u8def\u8c03\u6574\u9608\u503c\uff08threshold\uff09\uff0c\u4e5f\u5c31\u662f\u8bf4\u8fd8\u53ef\u4ee5\u8fdb\u884c\u7075\u654f\u5ea6\u7684\u5fae\u8c03\u3002<\/p>\n<p>\u8fd9\u4e48\u60f3\u6765\uff0c\u4f20\u611f\u5668\u7684\u786e\u66f4\u5177\u4f18\u52bf\u3002\u4f46\u662f\u5bf9\u4e8e\u7535\u5b50\u5236\u4f5c\u800c\u8a00\uff0c\u5f88\u591a\u4f5c\u54c1\u7b80\u5355\u800c\u4e14\u8d34\u8fd1\u751f\u6d3b\uff0c\u6240\u4ee5\u5c3d\u53ef\u80fd\u4f7f\u7528\u5bb9\u6613\u83b7\u53d6\u7684\u96f6\u90e8\u4ef6\u66ff\u4ee3\u7279\u6b8a\u96f6\u90e8\u4ef6\uff0c\u53ea\u8981\u80fd\u591f\u5177\u5907\u5fc5\u8981\u7684\u529f\u80fd\u5373\u53ef\uff0c\u5b9e\u9645\u4e0a\u8fd9\u6837\u4e5f\u662f\u53ef\u884c\u7684\u3002<\/p>\n<h2>3.\u786e\u5b9a\u4f5c\u54c1\u65b9\u5411<\/h2>\n<p>\u8003\u8651\u5230\u4e0e\u4e4b\u524d\u7684\u8fde\u8f7d\u5185\u5bb9\u7684\u8fde\u8d2f\u6027\uff0c\u8fd9\u6b21\u6211\u60f3\u5236\u4f5c\u4e00\u4e2a\u57fa\u4e8e\u7269\u7406\u52a8\u4f5c\uff08\u4e5f\u5c31\u662f\u8bf4\u611f\u77e5\u5230\u4ec0\u4e48\u4e1c\u897f\uff09\uff0c\u5e76\u5229\u7528\u8be5\u52a8\u4f5c\u5c31\u53ef\u4ee5\u5b9e\u73b0\u8f93\u51fa\u7684\u4f5c\u54c1\u3002<\/p>\n<p>\u80fd\u591f\u5b9e\u73b0\u8fd9\u4e00\u6548\u679c\u7684\u5668\u4ef6\u6709\u5f88\u591a\uff0c\u5f53\u7136\u8fd8\u9700\u8981\u8003\u8651\u8010\u4e45\u6027\u548c\u7cbe\u5ea6\u7b49\u591a\u79cd\u56e0\u7d20\u3002\u6240\u4ee5\uff0c\u6211\u6700\u7ec8\u51b3\u5b9a\u6b64\u6b21\u7684\u4f5c\u54c1\u4f7f\u7528\u6a21\u62df\u7c7b\u89e6\u70b9\u3002<\/p>\n<p>\u5c31\u4f5c\u54c1\u7684\u8f93\u51fa\u6548\u679c\u6765\u8bf4\uff0c\u5982\u679c\u4ec5\u4ec5\u662f\u7c7b\u4f3c\u4e8e\u53d1\u5149\u6216\u8005\u662f\u5b9e\u73b0\u52a8\u8d77\u6765\u4e4b\u7c7b\u7684\u52a8\u4f5c\u63a7\u5236\uff0c\u5176\u5b9e\u5b8c\u5168\u4e0d\u9700\u8981\u4f7f\u7528Raspberry Pi\uff0c\u6240\u4ee5\u6211\u6700\u7ec8\u786e\u5b9a\u4e86\u4f5c\u54c1\u7684\u65b9\u5411\u2014\u2014\u8ba9\u5b83\u5728\u663e\u793a\u5c4f\u4e0a\u7ed8\u5236\u7684\u6240\u8c13\u7684\u56fe\u5f62\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25062\" src=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_6.png\" alt=\"ito_05_6\" width=\"157\" height=\"183\" \/><\/p>\n<h2>4.\u53cd\u6620\u6211\u4eec\u7684\u610f\u56fe\uff0c\u5374\u5e76\u4e0d\u4e3a\u6211\u4eec\u7684\u610f\u8bc6\u6240\u63a7\u5236\u7684\u4f5c\u54c1<\/h2>\n<p>\u90a3\u4e48\uff0c\u63a5\u4e0b\u6765\u8ba9\u6211\u4eec\u4ee5\u8349\u56fe\u7684\u5f62\u5f0f\u770b\u770b\u5b83\u5177\u4f53\u662f\u4ec0\u4e48\u6837\u5b50\u5427\u3002\u6211\u4e4b\u524d\u5c31\u5728\u60f3\uff0c\u80fd\u4e0d\u80fd\u5728\u4e0a\u671f\u4f5c\u54c1\u4e2d\u7528\u5230\u7684\u73bb\u7483\u7403\u548c\u53cd\u5c04\u5f0f\u5149\u7535\u4f20\u611f\u5668\u7684\u57fa\u7840\u4e0a\uff0c\u518d\u52a0\u4e0a\u4e00\u4e9b\u6a21\u62df\u76f8\u5173\u7684\u5143\u7d20\uff0c\u8ba9\u5361\u901a\u89d2\u8272\u52a8\u8d77\u6765\uff0c\u518d\u878d\u5165\u4e00\u4e9b\u827a\u672f\u5143\u7d20\uff0c\u4ee5\u6b64\u6765\u4f53\u73b0\u4f5c\u54c1\u7684\u8da3\u5473\u6027\u3002\u4e8e\u662f\uff0c\u6211\u5c31\u60f3\u5230\u4e86\u4e0b\u56fe\u6240\u793a\u7684\u88c5\u7f6e\uff0c\u8ba9\u5b83\u50cf\u98ce\u94c3\u4e00\u6837\uff0c\u98ce\u5439\u8fc7\u4e4b\u540e\uff0c\u5361\u901a\u89d2\u8272\u5f00\u59cb\u8fd0\u52a8\uff0c\u518d\u5c06\u5176\u8fd0\u52a8\u8f68\u8ff9\u63cf\u7ed8\u51fa\u6765\uff0c\u7ed8\u5236\u51fa\u4e0d\u4e3a\u6211\u4eec\u7684\u610f\u8bc6\u6240\u63a7\u5236\u7684\u56fe\u5f62\u4f5c\u54c1\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techclass.rohm.com.cn\/wp-content\/uploads\/2023\/10\/ito_05_7.png\" alt=\"arduino explorer rover\" width=\"700\" height=\"500\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>\u5c31\u50cf\u524d\u6587\u63d0\u5230\u7684\u90a3\u6837\uff0c\u8be5\u88c5\u7f6e\u4ee5\u201c\u98ce\u201d\u4e3a\u4e3b\u4f53\uff0c\u5728\u4fdd\u6301\u5c3d\u53ef\u80fd\u7b80\u5355\u7684\u98ce\u683c\u7684\u540c\u65f6\uff0c\u518d\u52a0\u4e0a\u4e00\u70b9\u70b9\u7f16\u7a0b\u8fdb\u884c\u8c03\u6821\u3002<\/p>\n<h2>5.\u968f\u98ce\u800c\u6210\u7684\u56fe\u5f62\u4f5c\u54c1<\/h2>\n<p>\u8f93\u5165\u90e8\u5206\u7684\u539f\u7406\u975e\u5e38\u7b80\u5355\u3002\u4ee5\u56db\u4e2a\u87ba\u4e1d\u4f5c\u4e3a\u89e6\u70b9\uff0c\u5728\u5b83\u4eec\u4e2d\u95f4\u540a\u4e00\u4e2a\u5706\u76d8\uff0c\u518d\u88c5\u4e00\u4e2a\u968f\u98ce\u6446\u52a8\u7684\u7eb8\u6761\u3002\u5f53\u5706\u76d8\u548c\u87ba\u4e1d\u63a5\u89e6\u65f6\uff0c\u5f00\u5173\u63a5\u901a\uff0c\u5361\u901a\u89d2\u8272\u5219\u4f1a\u671d\u8be5\u65b9\u5411\u79fb\u52a8\u3002\u5361\u901a\u89d2\u8272\u5e26\u6709\u201c\u753b\u7b14\u201d\u7684\u529f\u80fd\uff0c\u80fd\u591f\u4ee5\u7ebf\u6761\u7684\u5f62\u5f0f\uff0c\u7559\u4e0b\u5b83\u7684\u8fd0\u52a8\u8f68\u8ff9\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25064\" src=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_8.png\" sizes=\"(max-width: 643px) 100vw, 643px\" srcset=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_8.png 643w, https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_8-300x226.png 300w\" alt=\"ito_05_8\" width=\"643\" height=\"485\" \/><\/p>\n<p>\u4e0a\u56fe\u5c31\u662f\u5361\u901a\u89d2\u8272\u5b9e\u9645\u8fd0\u52a8\u7684\u8f68\u8ff9\uff0c\u8fd9\u6837\u4e00\u770b\uff0c\u6211\u89c9\u5f97\u8fd8\u633a\u7b26\u5408\u73b0\u4ee3\u7f8e\u672f\u4f5c\u54c1\u7684\u611f\u89c9\u3002<\/p>\n<h2>6.\u901a\u8fc7\u7a0b\u5e8f\u751f\u6210\u5404\u79cd\u5404\u6837\u7684\u56fe\u5f62\u4f5c\u54c1<\/h2>\n<p>\u4e0b\u56fe\u5c31\u662f\u901a\u8fc7Scratch\u521b\u5efa\u7684\u7a0b\u5e8f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25065\" src=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_10.png\" sizes=\"(max-width: 229px) 100vw, 229px\" srcset=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_10.png 229w, https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_10-86x300.png 86w\" alt=\"ito_05_10\" width=\"229\" height=\"798\" \/><\/p>\n<p>\u901a\u8fc7\u56db\u4e2aGPIO\u5f15\u811a\u6765\u5206\u522b\u63a7\u5236\u5361\u901a\u89d2\u8272\u7684\u79fb\u52a8\u65b9\u5411\uff0c\u8ba9\u5b83\u4e00\u6b65\u4e00\u6b65\u79fb\u52a8\u3002\u4e0e\u6b64\u540c\u65f6\uff0c\u901a\u8fc7\u201c\u753b\u7b14\u201d\u529f\u80fd\uff0c\u63cf\u7ed8\u5b83\u7684\u8fd0\u52a8\u8f68\u8ff9\u3002\u5f53\u8d85\u51fa\u663e\u793a\u5c4f\u7684\u5750\u6807\u65f6\uff0c\u5219\u4f1a\u8ba9\u5361\u901a\u89d2\u8272\u8fd4\u56de\u4e2d\u592e\u4f4d\u7f6e\uff0c\u6b64\u65f6\u201c\u753b\u7b14\u201d\u7684\u989c\u8272\u4e5f\u4f1a\u7a0d\u6709\u6539\u53d8\uff0c\u800c\u662f\u5426\u8d85\u51fa\u5750\u6807\uff0c\u5219\u662f\u901a\u8fc7\u5404\u4e2a\u87ba\u4e1d\u6784\u6210\u7684\u89e6\u70b9\u8fdb\u884c\u68c0\u6d4b\uff0c\u5e76\u636e\u6b64\u63a7\u5236\u5361\u901a\u89d2\u8272\u7684\u8fd0\u52a8\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25066\" src=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_11.png\" alt=\"ito_05_11\" width=\"262\" height=\"255\" \/><\/p>\n<p>\u4e0a\u56fe\u5c31\u662f\u5f00\u5173\u7684\u7535\u8def\u56fe\uff0c\u975e\u5e38\u7b80\u5355\uff08\u7b11\uff09\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25067\" src=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_12.png\" sizes=\"(max-width: 343px) 100vw, 343px\" srcset=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_12.png 343w, https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/09\/ito_05_12-195x300.png 195w\" alt=\"ito_05_12\" width=\"343\" height=\"527\" \/><\/p>\n<p>\u8fd9\u662f\u8be5\u88c5\u7f6e\u7684\u5b9e\u7269\u7167\u7247\u3002\u867d\u7136\u753b\u51fa\u6765\u7684\u53ea\u6709\u4e0a\u4e0b\u5de6\u53f3\u56db\u4e2a\u65b9\u5411\u7684\u8fd0\u52a8\u8f68\u8ff9\uff0c\u4f46\u662f\u5982\u679c\u6211\u4eec\u8c03\u6574\u76f8\u90bb\u7684\u4e24\u4e2a\u89e6\u70b9\uff0c\u4e5f\u53ef\u4ee5\u6cbf45\u5ea6\u65b9\u5411\u8fd0\u52a8\u3002\u5728\u4f5c\u54c1\u51fa\u6765\u4e4b\u524d\uff0c\u6211\u8fd8\u5728\u60f3\uff0c\u5f53\u5361\u901a\u89d2\u8272\u5230\u4e86\u663e\u793a\u5c4f\u7684\u8fb9\u7f18\u4f4d\u7f6e\u65f6\uff0c\u5c31\u4f1a\u8fd4\u56de\u4e2d\u592e\u4f4d\u7f6e\uff0c\u90a3\u5e94\u8be5\u8bf4\u4e0d\u5b9a\u8fd8\u80fd\u753b\u51fa\u653e\u5c04\u72b6\u7684\u56fe\u5f62\u5427\uff0c\u7136\u800c\u5b9e\u9645\u4e0a\u5e76\u6ca1\u6709\u90a3\u4e48\u7b80\u5355\u3002\u4e0d\u8fc7\uff0c\u6b63\u662f\u56e0\u4e3a\u6700\u540e\u51fa\u6765\u7684\u4f5c\u54c1\u4f1a\u51fa\u4e4e\u6211\u4eec\u7684\u610f\u6599\uff0c\u8fd9\u624d\u6709\u8da3\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25093\" src=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/10\/ito_05.png\" sizes=\"(max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/10\/ito_05.png 700w, https:\/\/deviceplus.jp\/wp-content\/uploads\/2019\/10\/ito_05-300x212.png 300w\" alt=\"ito_05\" width=\"700\" height=\"495\" \/><\/p>\n<p>\u901a\u8fc7\u7f16\u7a0b\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f53\u9a8c\u5404\u79cd\u5404\u6837\u7684\u56fe\u5f62\u98ce\u683c\u6240\u5e26\u6765\u7684\u4e50\u8da3\u3002\u6bd4\u5982\uff0c\u901a\u8fc7\u67d0\u4e9b\u63a7\u5236\u6761\u4ef6\uff0c\u6539\u53d8\u201c\u753b\u7b14\u201d\u7684\u7c97\u7ec6\uff0c\u6216\u8005\u6539\u53d8\u201c\u753b\u7b14\u201d\u7684\u989c\u8272\uff0c\u53c8\u6216\u8005\u6539\u53d8\u5361\u901a\u89d2\u8272\u7684\u52a8\u4f5c\u7b49\u7b49\uff0c\u60f3\u6cd5\u4e07\u5343\uff0c\u53d8\u5316\u4e07\u5343\u3002<\/p>\n<div class=\"video-container\"><script type=\"text\/javascript\">\n\tjstream_t3.PlayerFactoryIF.create({\n\tb:\"eqa194obdo.eq.webcdn.stream.ne.jp\/www50\/eqa194obdo\/jmc_pub\/jmc_swf\/player\/\",\n\tc:\"NDc3\",\n\tm:\"MjEyOA==\",\n\ts:{\n\t\thp:360,\n          wp:480,\n          dq:\"0\",\n          mdq:\"0\",\n          ft:\"\",\n          pb:\"on\",\n          vc:\"on\",\n          sb:\"on\",\n          fs:\"on\",\n          fa:\"right\",\n          ti:\"on\",\n          is:\"on\",\n          ip:\"off\",\n          el:\"on\",\n          tg:\"on\",\n          mb:\"on\",\n          sn:\"f,t\",\n          rp:\"off\",\n          wm:\"on\",\n          wd:1,\n          cp:\"on\",\n          rb:\"off\",\n          il:\"off\",\n          rs:\"off\",\n          prl:\"off\",\n          sbt:\"off\",\n          pr:\"\",\n          cc:\"on\",\n          lu:\"off\",\n          plac:\"off\",\n          skb:\"10\",\n          fskb:\"10\",\n          bskb:\"10\",\n          cpt:\"on\"\n\t}});\n<\/script><br \/>\n<\/iframe><\/div>\n<h2>7.\u603b\u7ed3<\/h2>\n<p>\u6a21\u62df\u76f8\u5173\u7684\u6280\u672f\u624b\u6bb5\u867d\u7136\u5e76\u4e0d\u590d\u6742\uff0c\u4f46\u662f\u5b9e\u9645\u8fd0\u7528\u8d77\u6765\u5374\u51fa\u4eba\u610f\u6599\u7684\u56f0\u96be\uff0c\u7ecf\u5e38\u4f1a\u504f\u79bb\u6211\u4eec\u7684\u8bbe\u60f3\u3002\u7136\u800c\uff0c\u5728\u6211\u770b\u6765\uff0c\u8fd9\u6b63\u662f\u5b83\u7684\u9b45\u529b\u6240\u5728\uff0c\u4e5f\u5b58\u5728\u8fdb\u4e00\u6b65\u5f00\u53d1\u7684\u7a7a\u95f4\u3002<\/p>\n<p>\u8fd9\u6b21\u6211\u5199\u4e86\u5f88\u591a\u6211\u5728\u5236\u4f5c\u4f5c\u54c1\u65f6\u7684\u60f3\u6cd5\uff0c\u8fd8\u52a0\u5165\u4e86\u7c7b\u4f3c\u4e8e\u6a21\u62df\u6280\u672f\u6548\u679c\u7684\u624b\u7ed8\u8349\u56fe\uff0c\u8fd9\u4e5f\u662f\u6211\u7684\u4e00\u79cd\u65b0\u7684\u5c1d\u8bd5\u3002<\/p>\n<p>\u4e00\u76f4\u4ee5\u6765\uff0c\u6709\u8bfb\u8005\u670b\u53cb\u8868\u793a\uff0c\u201c\u7535\u5b50\u5236\u4f5c\u201d\u6709\u70b9\u9ad8\u4e0d\u53ef\u6500\uff0c\u5f88\u96be\u5165\u95e8\u3002\u6240\u4ee5\uff0c\u6211\u5c31\u60f3\u5c3d\u53ef\u80fd\u5730\u8fdb\u884c\u6539\u5584\uff0c\u4e8e\u662f\u5c31\u6709\u4e86\u8fd9\u6b21\u8fd9\u6837\u7684\u6587\u7ae0\uff0c\u5927\u5bb6\u89c9\u5f97\u600e\u4e48\u6837\u5462\uff1f<\/p>\n<p>\u5b9e\u9645\u4e0a\u5728\u8fd9\u6b21\u7684\u5236\u4f5c\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4e5f\u5207\u5b9e\u5730\u611f\u53d7\u5230\uff0c\u7535\u5b50\u5236\u4f5c\u4e5f\u5b58\u5728\u4e00\u4e2a\u6df1\u5c42\u6b21\u610f\u4e49\u4e0a\u7684\u3001\u770b\u4e0d\u89c1\u7684\u9608\u503c\uff08threshold\uff09\uff0c\u90a3\u5c31\u662f\u6211\u4eec\u5728\u8fdb\u884c\u5404\u79cd\u601d\u8003\u3001\u5404\u79cd\u7ea0\u7ed3\u4e4b\u540e\uff0c\u6700\u540e\u4f5c\u54c1\u5982\u4f55\u5448\u73b0\u624d\u6bd4\u8f83\u6709\u8da3\uff0c\u624d\u80fd\u591f\u4ee4\u81ea\u5df1\u6ee1\u610f\u3002<\/p>\n<p>\u4e0b\u6b21\uff0c\u6211\u5c06\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u5c06\u7cbe\u7f8e\u7684\u56fe\u5f62\u548c\u7535\u5b50\u4f5c\u54c1\u7ed3\u5408\u5728\u4e00\u8d77\u7684\u4f5c\u54c1\u5236\u4f5c\u65b9\u6cd5\uff0c\u5b83\u878d\u548c\u4e86\u7269\u7406\u73b0\u8c61\u548c\u7535\u8111\u6280\u672f\uff0c\u656c\u8bf7\u671f\u5f85\u3002<\/p>\n<p>\u5e0c\u671b\u4e86\u89e3\u66f4\u591a\u6709\u5173\u4f20\u611f\u5668\u57fa\u7840\u77e5\u8bc6\u7684\u8bfb\u8005\u670b\u53cb\uff0c\u6b22\u8fce\u8bbf\u95eeROHM\u5b98\u7f51\u7684\u201c<a href=\"https:\/\/www.rohm.com.cn\/electronics-basics\/sensors\/sensor_what1\" target=\"_blank\" rel=\"noopener\">\u7535\u5b50\u5c0f\u767e\u79d1<\/a>\u201d\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>\u672c\u7cfb\u5217\u8fde\u8f7d\u7684\u5185\u5bb9<\/strong><\/span><\/p>\n<p>\u7b2c1\u7bc7\uff1a<a href=\"\/knowledge\/tech-info\/raspberry\/raspberrypi_i01\">\u901a\u8fc7Raspberry Pi\u95ea\u70c1LED\u9879\u76ee\u5b66\u4e60\u6b27\u59c6\u5b9a\u5f8b\u3001GPIO\u548c\u6676\u4f53\u7ba1\u77e5\u8bc6<\/a><br \/>\n\u7b2c2\u7bc7\uff1a<a href=\"\/knowledge\/tech-info\/raspberry\/raspberrypi_i02\">\u901a\u8fc7Raspberry Pi\u4f7f\u7528LED\u548c\u7535\u673a\uff1a\u5982\u4f55\u5904\u7406\u5927\u7535\u6d41<\/a><br \/>\n\u7b2c3\u7bc7\uff1a<a href=\"\/knowledge\/tech-info\/raspberry\/raspberrypi_i03\">\u4f7f\u7528Raspberry Pi\u8fdb\u884c\u4f20\u611f\u5668\u8f93\u5165\u5b9e\u9a8c<\/a><br \/>\n\u7b2c4\u7bc7\uff1a<a href=\"\/knowledge\/tech-info\/raspberry\/raspberrypi_i04\">\u4f7f\u7528\u4f20\u611f\u5668\u8f7b\u677e\u5236\u4f5c\u6709\u8da3\u7684\u9879\u76ee<\/a><br \/>\n\u7b2c5\u7bc7\uff1a\u5236\u4f5c\u5361\u901a\u89d2\u8272\u968f\u98ce\u6446\u52a8\u5c31\u80fd\u7ed8\u5236\u56fe\u5f62\u4f5c\u54c1\u7684\u88c5\u7f6e\uff08\u672c\u6587\uff09<br \/>\n\u7b2c6\u7bc7\uff1a<a href=\"\/knowledge\/tech-info\/raspberry\/raspberrypi_i06\">\u81ea\u5236\u4f5c\u4e00\u6b3e\u56fe\u5f62\u5904\u7406\u88c5\u7f6e\uff0c\u7528\u6570\u5b57\u63a7\u5236\u81ea\u7136\u529b<\/a><\/p>\n<div class=\"author-box-wrapper\">\n<div class=\"avatar-wrapper\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techclass.rohm.com.cn\/wp-content\/uploads\/2026\/04\/etsw.jpg\" alt=\"\u4f0a\u85e4 \u5c1a\u672a\" width=\"264\" height=\"264\" \/><\/div>\n<div class=\"desc-wrapper\">\n<h2><a href=\"https:\/\/deviceplus.jp\/author\/naomiito\/\" class=\"broken_link\">\u4f0a\u85e4 \u5c1a\u672a<\/a><\/h2>\n<div class=\"desc\">\n<p>\u65e5\u672c\u7535\u5b50\u5236\u4f5c\u666e\u53ca\u63a8\u8fdb\u59d4\u5458\u4f1a\u4ee3\u8868\u3001\u5a92\u4f53\u827a\u672f\u5bb6\u3002\u4f5c\u4e3a\u79d1\u666e\u4f5c\u5bb6\u3001\u5047\u626e\u52a8\u7269\u56ed\u7ba1\u7406\u5458\u7684\u7535\u5de5\u3001\u7406\u79d1\u5b9e\u9a8c\u8bfe\u5802\u8bb2\u5e08\u3001\u5de5\u4f5c\u574a\u8bb2\u5e08\u3001\u6559\u6750\u5f00\u53d1\u4eba\u5458\u7b49\uff0c\u79ef\u6781\u53c2\u4e0e\u5404\u79cd\u6d3b\u52a8\u3002 \u5728\u6708\u520a\u300a\u513f\u7ae5\u79d1\u5b66\uff08\u8bda\u6587\u5802\u65b0\u5149\u793e\uff09\u300b\u8fde\u8f7d\u7535\u5b50\u5236\u4f5c\u9879\u76ee\u957f\u8fbe19\u5e74\uff0c\u4ee3\u8868\u8457\u4e66\u6709\u300a\u7535\u5b50\u5236\u4f5c\u5927\u56fe\u9274\u300b\u3001\u300a\u7535\u5b50\u5236\u4f5c\u5b8c\u7f8e\u6307\u5357\u300b\u3002<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u7b2c1\u7bc7\uff1a\u901a\u8fc7Raspberry Pi\u95ea\u70c1LED\u9879\u76ee\u5b66\u4e60\u6b27\u59c6\u5b9a\u5f8b\u3001GPIO\u548c\u6676\u4f53\u7ba1\u77e5\u8bc6 \u7b2c2\u7bc7\uff1a\u901a\u8fc7Raspbe [&hellip;]","protected":false},"author":4,"featured_media":24346,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1132],"tags":[],"acf":[],"wps_subtitle":"","_links":{"self":[{"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/posts\/24318"}],"collection":[{"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/comments?post=24318"}],"version-history":[{"count":16,"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/posts\/24318\/revisions"}],"predecessor-version":[{"id":29433,"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/posts\/24318\/revisions\/29433"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/media\/24346"}],"wp:attachment":[{"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/media?parent=24318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/categories?post=24318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techclass.rohm.com.cn\/wp-json\/wp\/v2\/tags?post=24318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}