{"id":2899,"date":"2018-04-22T19:16:45","date_gmt":"2018-04-22T11:16:45","guid":{"rendered":"http:\/\/usr.nkust.com\/?p=336"},"modified":"2018-04-22T19:16:45","modified_gmt":"2018-04-22T11:16:45","slug":"microbit-app-inventor-temperature","status":"publish","type":"post","link":"https:\/\/104.es\/index.php\/2018\/04\/22\/microbit-app-inventor-temperature\/","title":{"rendered":"\u3010micro:bit\u3011\u4f7f\u7528APP Inventor\u8b80\u53d6micro:bit\u4e0a\u7684\u6eab\u5ea6\u8cc7\u8a0a"},"content":{"rendered":"<p>micro:bit\u672c\u8eab\u5167\u5efa\u6709\u85cd\u7259\u6a21\u7d44\uff0c\u800c\u5e7e\u4e4e\u6240\u6709\u7684\u624b\u6a5f\u4e5f\u90fd\u6709\u85cd\u7259\u7684\u529f\u80fd\uff0c\u56e0\u6b64\u4f7f\u7528\u624b\u6a5f\u4f86\u8b80\u53d6micro:bit\u4e0a\u7684\u6eab\u5ea6\u8cc7\u8a0a\uff0c\u53ea\u8981\u900f\u904e\u85cd\u7259\u5354\u5b9a\u5c31\u53ef\u4ee5\u4e86\u3002\u5728\u524d\u9762\u55ae\u5143\u4e2d\u6211\u500b\u4f7f\u7528\u4e86\u73fe\u6210\u7684micro:bit Blue APP\u548cmicro:bit\u4e92\u52d5\uff0c\u5176\u5be6\u6211\u5011\u4e5f\u53ef\u4ee5\u81ea\u5df1\u8a2d\u8a08APP\u3002\u5728\u624b\u6a5f\u7a0b\u5f0f\u8a2d\u8a08\u4e2d\uff0cAPP Inventor\u53ef\u4ee5\u7528\u7c21\u55ae\u7684\u65b9\u5f0f\u5f88\u5feb\u5730\u5beb\u51fa\u5177\u6709\u8b80\u53d6\u85cd\u7259\u8cc7\u8a0a\u80fd\u529b\u7684APP\uff0c\u672c\u6587\u5c31\u4f86\u6559\u540c\u5b78\u5011\u5982\u4f55\u505a\u5230\u3002<\/p>\n<p>\u5728\u9032\u884c\u672c\u55ae\u5143\u7684\u6559\u5b78\u4e4b\u524d\uff0c\u4e00\u5b9a\u8981\u78ba\u5b9a\u4f60\u7684\u624b\u6a5f\u548cmicro:bit\u4e4b\u9593\u5df2\u7d93\u9806\u5229\u914d\u5c0d\u800c\u4e14\u9023\u7dda\u5b8c\u6210\u4e86\uff0c\u5982\u679c\u4e0d\u592a\u78ba\u5b9a\u7684\u8a71\uff0c\u7c21\u55ae\u5730\u8aaa\u5c31\u662f\u5982\u679c\u4f60\u80fd\u5920\u9806\u5229\u5730\u5b8c\u6210\u4e0a\u4e00\u55ae\u5143\u7684\u64cd\u4f5c\uff0c\u5728\u9000\u51famicro:bit Blue\u9019\u652fAPP\u4e4b\u5f8c\u7684\u72c0\u614b\uff0c\u5c31\u9084\u662f\u4fdd\u6301\u8457\u85cd\u7259\u4e4b\u9023\u7dda\u72c0\u614b\u7684\uff0c\u8acb\u5728\u9019\u500b\u60c5\u6cc1\u4e0b\u7e7c\u7e8c\u9032\u884c\u4e0b\u9762\u7684\u7df4\u7fd2\u3002<\/p>\n<p>\u9996\u5148\uff0c\u5728APP Inventor\u4e2d\u9810\u8a2d\u662f\u6c92\u6709\u958b\u555f\u85cd\u7259\u80fd\u529b\u7684\uff0c\u6211\u5011\u5fc5\u9808\u900f\u904eExtension\u529f\u80fd\u532f\u5165\u85cd\u7259\u6a21\u7d44\u624d\u884c\uff0c\u9996\u5148\u662f\u532f\u5165BluetoothLE\u5143\u4ef6\uff0c\u8acb\u4f7f\u7528URL\u532f\u5165\u65b9\u5f0f\uff0c\u5982\u4e0b\u6240\u793a\uff08\u7db2\u5740\u662f\uff1ahttp:\/\/iot.appinventor.mit.edu\/assets\/resources\/edu.mit.appinventor.ble.aix\uff09\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-337 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-07-\u4e0b\u534810.57.57.png\" alt=\"\" width=\"493\" height=\"334\" \/><\/p>\n<p>\u532f\u5165\u4e4b\u5f8c\u5373\u53ef\u5728Extension\u4e4b\u4e0b\u770b\u5230BluetoothLE\u5143\u4ef6\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-338 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-07-\u4e0b\u534811.05.09.png\" alt=\"\" width=\"246\" height=\"126\" \/><\/p>\n<p>\u63a5\u8457\u8981\u532f\u5165micro:bit\u7684\u76f8\u95dc\u64cd\u4f5c\u6a21\u7d44\uff0c\u5176\u7db2\u5740\uff1ahttp:\/\/iot.appinventor.mit.edu\/assets\/com.bbc.microbit.profile.aix\uff0c\u532f\u5165\u4e4b\u5f8c\u5373\u53ef\u770b\u5230\u4e00\u5927\u5806\u7684micro:bit\u53ef\u7528\u5143\u4ef6\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-339 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-08-\u4e0a\u534812.13.45.png\" alt=\"\" width=\"237\" height=\"539\" \/><\/p>\n<p>\u56e0\u70ba\u6211\u5011\u8981\u8b80\u53d6\u7684\u662f\u6eab\u5ea6\u7684\u90e8\u4efd\uff0c\u6240\u4ee5\u8acb\u628aMicrobit_Temperature\u9019\u500b\u5143\u4ef6\u62c9\u5230\u624b\u6a5f\u7684\u756b\u9762\u4e2d\uff0c\u5c31\u6703\u5728\u975e\u53ef\u8996\u5143\u4ef6\u5340\u770b\u5230\u9019\u500b\u5143\u4ef6\uff0c\u540c\u6642\u4e5f\u8981\u628aBluetoothLE\u5143\u4ef6\u4e5f\u62c9\u9032\u4f86\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-341 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-08-\u4e0a\u534812.22.00.png\" alt=\"\" width=\"348\" height=\"127\" \/><\/p>\n<p>\u800cMicrobit_Temperature1\u7684\u552f\u4e00\u5c6c\u6027\u662f\u8981\u8a2d\u5b9aBluetooth\u88dd\u7f6e\uff0c\u7576\u7136\u5c31\u662f\u8981\u586b\u5165BluetoothLE1\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-342 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-08-\u4e0a\u534812.22.09.png\" alt=\"\" width=\"437\" height=\"371\" \/><\/p>\n<p>\u5047\u8a2d\u6211\u5011\u8a2d\u8a08\u4e86\u4ee5\u4e0b\u7684\u4ecb\u9762\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-646 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53486.57.14.png\" alt=\"\" width=\"373\" height=\"622\" \/><\/p>\n<p>\u6bcf\u500b\u5143\u4ef6\u7684\u503c\u5206\u5225\u8a2d\u5b9a\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-647 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53486.57.22.png\" alt=\"\" width=\"208\" height=\"346\" \/><\/p>\n<p>\u5e7e\u500b\u6309\u9215\u5206\u5225\u662f\u7528\u4f86\u6383\u63cf\u4ee5\u53ca\u505c\u6b62\u6383\u63cf\u85cd\u7259\u88dd\u7f6e\uff0c\u9078\u64c7\u60f3\u8981\u9023\u7dda\u7684\u88dd\u7f6e\u9032\u884c\u9023\u7dda\u4ee5\u53ca\u505c\u6b62\u9023\u7dda\uff0c\u4ee5\u53ca\u6700\u5f8c\u4e00\u500b\u6309\u9215\u662f\u7528\u4f86\u8b80\u53d6\u6eab\u5ea6\u7684\u3002\u6383\u63cf\u4ee5\u53ca\u505c\u6b62\u6383\u63cf\u7684\u7a0b\u5f0f\u7a4d\u6728\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-649 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.00.44.png\" alt=\"\" width=\"469\" height=\"114\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-648 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.01.27.png\" alt=\"\" width=\"446\" height=\"104\" \/><\/p>\n<p>\u7576\u958b\u59cb\u57f7\u884c\u6383\u63cf\u6642\uff0c\u5982\u679c\u5b8c\u6210\u4e86\u4e4b\u5f8c\u6703\u89f8\u767c\u4e00\u500b\u627e\u5230\u88dd\u7f6e\u7684\u4e8b\u4ef6\uff0c\u5728\u6b64\u4e8b\u4ef6\u4e2d\uff0c\u6211\u5011\u628a\u6240\u6709\u627e\u5230\u7684\u88dd\u7f6e\u6e05\u55ae\u653e\u5230\u6e05\u55ae\u5143\u4ef6\u4e2d\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-650 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.03.25.png\" alt=\"\" width=\"637\" height=\"77\" \/><\/p>\n<p>\u9019\u6642\u5019\u756b\u9762\u4e0a\u6703\u51fa\u73fe\u6240\u6709\u627e\u5230\u7684\u85cd\u7259\u88dd\u7f6e\u4e4b\u5217\u8868\uff0c\u6b64\u6642\u6211\u5011\u53ef\u4ee5\u5728\u9078\u64c7\u5176\u4e2d\u4e00\u500b\u88dd\u7f6e\u6309\u4e0bConnect\u6309\u9215\uff0c\u4ee5\u4e0b\u662fConnect\u6309\u9215\u7684\u7a0b\u5f0f\u7a4d\u6728\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-651 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.05.33.png\" alt=\"\" width=\"588\" height=\"222\" \/><\/p>\n<p>\u5728\u6b64\u7a4d\u6728\u4e2d\u6211\u5011\u5148\u78ba\u5b9a\u4f7f\u7528\u8005\u662f\u5426\u771f\u7684\u6709\u9078\u64c7\u4e86\u5176\u4e2d\u4e00\u500b\u88dd\u7f6e\uff0c\u5982\u679c\u6709\u7684\u8a71\u5c31\u5c0d\u8a72\u88dd\u7f6e\u9032\u884c\u9023\u7dda\u7684\u52d5\u4f5c\uff0c\u5982\u679c\u6c92\u6709\u9078\u64c7\u7684\u8a71\uff0c\u5247\u9810\u8a2d\u662f\u53bb\u9023\u7dda\u7b2c1\u500b\u88dd\u7f6e\u3002\u5982\u679c\u60f3\u8981\u53d6\u6d88\u9023\u7dda\u7684\u8a71\uff0c\u5247\u57f7\u884c\u4ee5\u4e0b\u7684\u7a4d\u6728\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-652 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.07.37.png\" alt=\"\" width=\"312\" height=\"84\" \/><\/p>\n<p>\u5728\u5b8c\u6210\u88dd\u7f6e\u7684\u9023\u7dda\u4e4b\u5f8c\uff0c\u7cfb\u7d71\u6703\u89f8\u767c\u4e00\u500b\u9023\u7dda\u6210\u529f\u7684\u4e8b\u4ef6\uff0c\u5728\u9019\u500b\u4e8b\u4ef6\u4e2d\u8981\u52a0\u4e0a\u4ee5\u4e0b\u7684\u7a0b\u5f0f\u78bc\uff1b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-653 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.08.47.png\" alt=\"\" width=\"824\" height=\"137\" \/><\/p>\n<p>\u9019\u4e9b\u7a0b\u5f0f\u4e3b\u8981\u7684\u52d5\u4f5c\u7b2c\u4e00\u6b65\u5728\u8a2d\u5b9a\u72c0\u614b\u8a0a\u606f\uff0c\u800c\u7b2c\u4e8c\u6b65\u5247\u662f\u8a2d\u5b9a\u8b80\u53d6\u6eab\u5ea6\u7684\u85cd\u7259\u88dd\u7f6e\uff0c\u7b2c\u4e09\u6b65\u662f\u8981\u6c42\u5b9a\u671f\u5730\u66f4\u65b0\u6eab\u5ea6\u7684\u8cc7\u8a0a\u3002\u800c\u5982\u679c\u85cd\u7259\u88dd\u7f6e\u5728\u88ab\u53d6\u6d88\u9023\u7dda\u7684\u6642\u5019\uff0c\u4e5f\u8981\u66f4\u65b0\u4e00\u4e0b\u8a0a\u606f\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-654 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.10.44.png\" alt=\"\" width=\"499\" height=\"76\" \/><\/p>\n<p>\u6700\u5f8c\u4e00\u500b\u6309\u9215\u662f\u7528\u4f86\u4e3b\u52d5\u8b80\u53d6\u6eab\u5ea6\u7684\u52d5\u4f5c\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-655 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.11.18.png\" alt=\"\" width=\"419\" height=\"84\" \/><\/p>\n<p>\u8b80\u53d6\u5230\u6eab\u5ea6\u4e4b\u5f8c\uff0c\u4e5f\u6703\u89f8\u767c\u4e00\u500b\u8b80\u53d6\u5b8c\u7562\u7684\u4e8b\u4ef6\uff0c\u9019\u6642\u5019\u5c31\u8981\u628a\u5b83\u986f\u793a\u51fa\u4f86\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-656 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/screenshot-2018-04-22-\u4e0b\u53487.12.34.png\" alt=\"\" width=\"618\" height=\"142\" \/><\/p>\n<p>\u4ee5\u4e0b\u662fScan\u4e4b\u5f8c\u7684\u756b\u9762\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-658 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/2018-04-22-19.13.40.png\" alt=\"\" width=\"400\" height=\"711\" \/><\/p>\n<p>\u4ee5\u4e0b\u5247\u662f\u8b80\u53d6\u5230\u6eab\u5ea6\u7684\u60c5\u5f62\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-659 aligncenter\" src=\"https:\/\/usr.nkust.org\/wp-content\/uploads\/2018\/04\/2018-04-22-19.13.55.png\" alt=\"\" width=\"400\" height=\"711\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>micro:bit\u672c\u8eab\u5167\u5efa\u6709\u85cd\u7259\u6a21\u7d44\uff0c\u800c\u5e7e\u4e4e\u6240\u6709\u7684\u624b\u6a5f\u4e5f\u90fd\u6709\u85cd\u7259\u7684\u529f\u80fd\uff0c\u56e0\u6b64\u4f7f\u7528\u624b\u6a5f\u4f86\u8b80\u53d6micro:bit\u4e0a\u7684\u6eab\u5ea6\u8cc7\u8a0a\uff0c\u53ea\u8981\u900f\u904e\u85cd\u7259\u5354\u5b9a\u5c31\u53ef\u4ee5\u4e86\u3002\u5728\u524d\u9762\u55ae\u5143\u4e2d\u6211\u500b\u4f7f\u7528\u4e86\u73fe\u6210\u7684micro:bit Blue APP\u548cmicro:bit\u4e92\u52d5\uff0c\u5176\u5be6\u6211\u5011\u4e5f\u53ef\u4ee5\u81ea\u5df1\u8a2d\u8a08APP\u3002\u5728\u624b\u6a5f\u7a0b\u5f0f\u8a2d\u8a08\u4e2d\uff0cAPP Inventor\u53ef\u4ee5\u7528\u7c21\u55ae\u7684\u65b9\u5f0f\u5f88\u5feb\u5730\u5beb\u51fa\u5177\u6709\u8b80\u53d6\u85cd\u7259\u8cc7\u8a0a\u80fd\u529b\u7684APP\uff0c\u672c\u6587\u5c31\u4f86\u6559\u540c\u5b78\u5011\u5982\u4f55\u505a\u5230\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-2899","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\/2899","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=2899"}],"version-history":[{"count":0,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/2899\/revisions"}],"wp:attachment":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media?parent=2899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/categories?post=2899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/tags?post=2899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}