{"id":695,"date":"2018-04-23T15:13:02","date_gmt":"2018-04-23T07:13:02","guid":{"rendered":"https:\/\/usr.nkust.org\/?p=695"},"modified":"2018-04-23T15:13:02","modified_gmt":"2018-04-23T07:13:02","slug":"microbit-raindrop-detection","status":"publish","type":"post","link":"https:\/\/104.es\/index.php\/2018\/04\/23\/microbit-raindrop-detection\/","title":{"rendered":"\u3010 micro:bit\u3011\u96e8\u6ef4\u611f\u6e2c\u5668\u8207\u571f\u58e4\u6fd5\u5ea6\u611f\u6e2c\u5668\u5be6\u7fd2\u8207\u61c9\u7528"},"content":{"rendered":"<p>\u6709\u6642\u5019\u6211\u5011\u6703\u9700\u8981\u56e0\u70ba\u4e0b\u96e8\u800c\u53bb\u57f7\u884c\u4e00\u4e9b\u52d5\u4f5c\uff0c\u6b64\u6642\u5c31\u662f\u96e8\u6ef4\u611f\u6e2c\u5668\u6d3e\u4e0a\u7528\u5834\u7684\u6642\u5019\u4e86\u3002\u96e8\u6ef4\u611f\u6e2c\u6a21\u7d44\u7684\u539f\u7406\u5176\u5be6\u5f88\u7c21\u55ae\uff0c\u4e3b\u8981\u5c31\u662f\u900f\u904e\u91d1\u5c6c\u8868\u9762\u7dda\u8def\u53bb\u63a5\u53d7\u6c34\u6ef4\uff0c\u7531\u65bc\u6c34\u672c\u8eab\u5177\u6709\u5c0e\u96fb\u7684\u7279\u6027\uff0c\u56e0\u6b64\u6c34\u91cf\u6108\u591a\u7684\u6642\u5019\uff0c\u5c0e\u96fb\u7684\u90e8\u4efd\u5c31\u6108\u591a\uff0c\u6211\u5011\u5c31\u53ef\u4ee5\u5075\u6e2c\u51fa\u5176\u9593\u7684\u8b8a\u5316\uff0c\u518d\u5f9e\u8b8a\u5316\u7684\u6578\u503c\u4f86\u6c7a\u5b9a\u4e0b\u4e00\u6b65\u8981\u9032\u884c\u7684\u64cd\u4f5c\u3002\u7136\u800c\uff0c\u5982\u679c\u76f4\u63a5\u628a\u91d1\u5c6c\u677f\u9023\u63a5\u5230\u6211\u5011\u7684\u63a5\u8173\uff0c\u6709\u80fd\u6703\u56e0\u70ba\u96fb\u963b\u503c\u592a\u5c0f\u800c\u9020\u6210\u96fb\u8def\u677f\u7684\u50b7\u5bb3\uff0c\u56e0\u6b64\u9084\u9700\u8981\u52a0\u4e0a\u9650\u6d41\u96fb\u963b\u624d\u884c\uff0c\u6240\u5e78\uff0c\u9019\u4e9b\u96fb\u963b\u7684\u9023\u63a5\u65b9\u5f0f\u4e26\u4e0d\u9700\u8981\u6211\u5011\u8655\u7406\uff0c\u56e0\u70ba\u6a21\u7d44\u90fd\u5e6b\u6211\u5011\u505a\u597d\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-696 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/2018-04-23-14.42.49.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>\u9019\u500b\u6a21\u7d44\u67092\u7d44\u5171\u4e94\u689d\u9023\u63a5\u7dda\uff0c\u5176\u4e2d2\u7d44\u7684\u90a3\u4e00\u689d\u662f\u76f4\u63a5\u9023\u63a5\u5230\u91d1\u5c6c\u5075\u6e2c\u677f\u7684\uff0c\u9023\u63a5\u7684\u60c5\u5f62\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-697 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/2018-04-23-14.43.02.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>\u800c\u5c31\u5982\u540c\u4e0a\u5716\u6240\u793a\uff0c\u53e6\u59163\u689d\u7dda\u7684\u90a3\u7d44\u5247\u662f\u8981\u9023\u63a5\u5230\u677f\u5b50\u4e0a\u3002\u5728\u9019\u500b\u4f8b\u5b50\u4e2d\uff0c\u6211\u5011\u4f7f\u7528\u4e86micro:bit\u7684\u64f4\u5145\u677f\uff0c\u6b643\u689d\u7dda\u4e2d\u7684V\u5c31\u662f\u9023\u63a5\u52303.3V\uff0c\u800cG\u5247\u662f\u9023\u63a5\u5230GND\uff0c\u53e6\u5916\u7684s2\u5247\u662f\u4fe1\u865f\u7dda\uff0c\u4e5f\u5c31\u662fmicro:bit\u7684\u8f38\u5165\u7aef\uff0c\u53ef\u4ee5\u8996\u9700\u8981\u9023\u63a5\u5230\u677f\u5b50\u4e0a\u7684P0, P1\u7b49\u63a5\u8173\uff0c\u5728\u9019\u88e1\u6211\u5011\u628a\u5b83\u9023\u63a5\u5230P0\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-698 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/2018-04-23-14.42.34.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>\u5728\u9023\u7dda\u5b8c\u7562\u4e4b\u5f8c\uff0c\u53ea\u8981\u4f7f\u7528\u7c21\u55ae\u7a0b\u5f0f\u5c31\u53ef\u4ee5\u5f97\u5230\u5075\u6e2c\u677f\u4e0a\u7684\u6578\u503c\uff0c\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-699 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-23-\u4e0b\u53483.00.34.png\" alt=\"\" width=\"365\" height=\"117\" \/><\/p>\n<p>\u6b64\u6642\u540c\u5b78\u5011\u53ef\u4ee5\u8a66\u8a66\u770b\u5728\u5b8c\u5168\u4e7e\u71e5\u7684\u60c5\u5f62\u4e0b\u5448\u73fe\u7684\u6578\u503c\u662f\u591a\u5c11\uff0c\u5728\u8001\u5e2b\u7684\u4f8b\u5b50\u5927\u7d04\u662f40\u5e7e\u5de6\u53f3\uff0c\u7576\u628a\u6c34\u6ef4\u7051\u5728\u677f\u5b50\u4e0a\u6642\uff0c\u5c31\u6703\u8d85\u904e500\u5594\u3002\u7d50\u5408\u4f3a\u670d\u99ac\u9054\uff0c\u5c31\u53ef\u4ee5\u4f9d\u64da\u6578\u503c\u7684\u5167\u5bb9\u57f7\u884c\u52d5\u4f5c\uff0c\u63a5\u7dda\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-702 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/2018-04-23-15.10.19.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>\u7a0b\u5f0f\u7a4d\u6728\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-701 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-23-\u4e0b\u53483.09.47.png\" alt=\"\" width=\"413\" height=\"348\" \/><\/p>\n<p>\u53e6\u5916\u6709\u4e00\u500b\u571f\u58e4\u6aa2\u6e2c\u68d2\uff0c\u7528\u6cd5\u5dee\u4e0d\u591a\uff0c\u5c31\u8acb\u540c\u5b78\u5011\u81ea\u884c\u7df4\u7fd2\u56c9\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-706 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/2018-04-23-15.15.06.jpg\" alt=\"\" width=\"800\" height=\"1067\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u6642\u5019\u6211\u5011\u6703\u9700\u8981\u56e0\u70ba\u4e0b\u96e8\u800c\u53bb\u57f7\u884c\u4e00\u4e9b\u52d5\u4f5c\uff0c\u6b64\u6642\u5c31\u662f\u96e8\u6ef4\u611f\u6e2c\u5668\u6d3e\u4e0a\u7528\u5834\u7684\u6642\u5019\u4e86\u3002\u96e8\u6ef4\u611f\u6e2c\u6a21\u7d44\u7684\u539f\u7406\u5176\u5be6\u5f88\u7c21\u55ae\uff0c\u4e3b\u8981\u5c31\u662f\u900f\u904e\u91d1\u5c6c\u8868\u9762\u7dda\u8def\u53bb\u63a5\u53d7\u6c34\u6ef4\uff0c\u7531\u65bc\u6c34\u672c\u8eab\u5177\u6709\u5c0e\u96fb\u7684\u7279\u6027\uff0c\u56e0\u6b64\u6c34\u91cf\u6108\u591a\u7684\u6642\u5019\uff0c\u5c0e\u96fb\u7684\u90e8\u4efd\u5c31\u6108\u591a\uff0c\u6211\u5011\u5c31\u53ef\u4ee5\u5075\u6e2c\u51fa\u5176\u9593\u7684\u8b8a\u5316\uff0c\u518d\u5f9e\u8b8a\u5316\u7684\u6578\u503c\u4f86\u6c7a\u5b9a\u4e0b\u4e00\u6b65\u8981\u9032\u884c\u7684\u64cd\u4f5c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[218],"tags":[220],"class_list":["post-695","post","type-post","status-publish","format-standard","hentry","category-218","tag-microbit"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/comments?post=695"}],"version-history":[{"count":0,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/695\/revisions"}],"wp:attachment":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media?parent=695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/categories?post=695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/tags?post=695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}