{"id":2054,"date":"2022-04-22T16:11:18","date_gmt":"2022-04-22T16:11:18","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=2054"},"modified":"2023-08-28T09:30:37","modified_gmt":"2023-08-28T09:30:37","slug":"diy-sensors","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/zh\/diy-sensors\/","title":{"rendered":"DIY\u4f20\u611f\u5668"},"content":{"rendered":"<p>\u5b66\u4e60\u5982\u4f55\u81ea\u5236 DIY \u4f20\u611f\u5668\u3002\u5b83\u7b80\u5355\u3001\u5feb\u6377\uff0c\u800c\u4e14\u51e0\u4e4e\u4e0d\u82b1\u94b1\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u80fd\u5b66\u5230\u5f88\u591a\u5173\u4e8e\u4f20\u611f\u5668\u7684\u77e5\u8bc6\u3002<\/p>\n\n\n\n<p>\u67e5\u9605 <a href=\"https:\/\/www.youtube.com\/watch?v=QsllRarEKB4\">\u6211\u4eec\u7684\u89c6\u9891<\/a> \u5982\u679c\u4f60\u4e0d\u559c\u6b22\u9605\u8bfb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" hcb-fetch-image-from=\"https:\/\/www.youtube.com\/watch?v=QsllRarEKB4\" title=\"DIY\u4f20\u611f\u5668 - \u5efa\u7acb\u4f60\u81ea\u5df1\u7684Flex\u4f20\u611f\u5668\uff0c\u538b\u529b\u4f20\u611f\u5668\u548c\u632f\u52a8\u4f20\u611f\u5668\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/QsllRarEKB4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-work\">\u4f20\u611f\u5668\u5982\u4f55\u5de5\u4f5c<\/h2>\n\n\n\n<p>\u6709\u65e0\u6570\u7c7b\u578b\u7684\u4f20\u611f\u5668\u3002\u7528\u4e8e\u6d4b\u91cf\u6e29\u5ea6\u3001\u5149\u3001\u58f0\u97f3\u6216\u529b\u7684\u4f20\u611f\u5668\uff0c\u4ec5\u4e3e\u51e0\u4f8b\u3002\u6bcf\u4e2a\u4f20\u611f\u5668\u90fd\u6709\u4e0d\u540c\u7684\u6784\u9020\uff0c\u5e76\u4e14\u6b63\u5728\u4e0d\u65ad\u7814\u7a76\u5982\u4f55\u4f7f\u5b83\u4eec\u53d8\u5f97\u66f4\u597d\u3002<\/p>\n\n\n\n<p>\u5c3d\u7ba1\u5982\u6b64\uff0c\u5927\u591a\u6570\u4f20\u611f\u5668\u7684\u5de5\u4f5c\u539f\u7406\u662f\u7c7b\u4f3c\u7684\u3002\u5b83\u4eec\u57fa\u672c\u4e0a\u662f\u4e00\u4e2a\u53ef\u53d8\u7535\u963b\uff0c\u5bf9\u88ab\u6d4b\u91cf\u7684\u8f93\u5165\u4f5c\u51fa\u53cd\u5e94\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Resistance-R.jpg\" alt=\"\u7535\u963b - R\" class=\"wp-image-2058\" style=\"width:346px;height:239px\" width=\"346\" height=\"239\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Resistance-R.jpg 958w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Resistance-R-300x207.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Resistance-R-768x531.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Resistance-R-18x12.jpg 18w\" sizes=\"auto, (max-width: 346px) 100vw, 346px\" \/><figcaption class=\"wp-element-caption\">\u7535\u963b - R<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u8ba9\u6211\u4eec\u770b\u4e00\u4e0b\u6e29\u5ea6\u4f20\u611f\u5668\u4f5c\u4e3a\u4e00\u4e2a\u4f8b\u5b50\u3002\u5bf9\u4e8e\u8bb8\u591a\u6750\u6599\u6765\u8bf4\uff0c\u7535\u963b\u7387\u968f\u7740\u6e29\u5ea6\u7684\u5347\u9ad8\u800c\u589e\u52a0\u3002\u6b64\u5916\uff0c\u5927\u591a\u6570\u91d1\u5c5e\u7684\u5bfc\u70ed\u6027\u975e\u5e38\u597d\uff0c\u8fd9\u610f\u5473\u7740\u5b83\u4eec\u5bf9\u6e29\u5ea6\u53d8\u5316\u7684\u53cd\u5e94\u5f88\u5feb\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Copper-Cu-1024x541.jpg\" alt=\"\u94dc - Cu\" class=\"wp-image-2057\" style=\"width:437px;height:230px\" width=\"437\" height=\"230\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Copper-Cu-1024x541.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Copper-Cu-300x158.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Copper-Cu-768x406.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Copper-Cu-18x10.jpg 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Copper-Cu.jpg 1253w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><figcaption class=\"wp-element-caption\">\u94dc - Cu<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u56e0\u6b64\uff0c\u5982\u679c\u4f60\u6d4b\u91cf\u4e00\u6839\u975e\u5e38\u7ec6\u7684\u94dc\u7ebf\u7684\u7535\u963b\uff0c\u5f53\u6e29\u5ea6\u4e0a\u5347\u65f6\uff0c\u5b83\u51e0\u4e4e\u4f1a\u5b9e\u65f6\u589e\u52a0\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"420\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Temperature-Sensor-Example-1024x420.jpg\" alt=\"\u6e29\u5ea6\u4f20\u611f\u5668\u5b9e\u4f8b\" class=\"wp-image-2154\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Temperature-Sensor-Example-1024x420.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Temperature-Sensor-Example-300x123.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Temperature-Sensor-Example-768x315.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Temperature-Sensor-Example-1536x630.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Temperature-Sensor-Example-2048x840.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Temperature-Sensor-Example-18x7.jpg 18w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">\u6e29\u5ea6\u4f20\u611f\u5668\u5b9e\u4f8b<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u8fd9\u79cd\u7535\u963b\u7684\u53d8\u5316\u53ef\u4ee5\u901a\u8fc7\u6d4b\u91cf\u6765\u8ba1\u7b97\u6e29\u5ea6\u3002<\/p>\n\n\n\n<p>\u73b0\u5728\u4f60\u77e5\u9053\u4e86\u5927\u591a\u6570\u4f20\u611f\u5668\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff0c\u8ba9\u6211\u4eec\u6765\u5efa\u7acb\u6211\u4eec\u81ea\u5df1\u7684\u4f20\u611f\u5668\u5427!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"requirements\">\u8981\u6c42<\/h2>\n\n\n\n<p>\u8fd9\u4e9b\u6750\u6599\u975e\u5e38\u4fbf\u5b9c\uff0c\u800c\u4e14\u4f60\u5bb6\u91cc\u53ef\u80fd\u6709\u5927\u90e8\u5206\u7684\u6750\u6599\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u538b\u529b\u4f20\u611f\u5668<\/strong><\/td><td><strong>\u67d4\u6027\u4f20\u611f\u5668<\/strong><\/td><td><strong>\u632f\u52a8\u4f20\u611f\u5668<\/strong><\/td><\/tr><tr><td>\u7eb8\u677f<\/td><td>\u7eb8\u677f<\/td><td>\u7535\u963b\u5668 (10 k\u03a9)<\/td><\/tr><tr><td>\u94dd\u7b94<\/td><td>\u94dd\u7b94<\/td><td>\u94dc\u7ebf\uff08\u5355\u80a1\uff09<\/td><\/tr><tr><td>\u5f55\u50cf\u5e26<\/td><td>\u5f55\u50cf\u5e26<\/td><td>\u87ba\u6813\u6216\u87ba\u4e1d\uff0c\u76f4\u5f84\u7ea63mm<\/td><\/tr><tr><td>\u80f6\u6c34<\/td><td>\u80f6\u6c34<\/td><td>\u70ed\u80f6\u67aa<\/td><\/tr><tr><td>\u526a\u5200<\/td><td>\u526a\u5200<\/td><td><\/td><\/tr><tr><td>\u94dc\u7ebf<\/td><td>\u94dc\u7ebf<\/td><td><\/td><\/tr><tr><td>\u94c5\u7b14<\/td><td>\u94c5\u7b14<\/td><td><\/td><\/tr><tr><td>\u7eb8\u5f20<\/td><td>\u7eb8\u5f20<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pressure-sensor\">\u538b\u529b\u4f20\u611f\u5668<\/h2>\n\n\n\n<p>\u4ece\u7eb8\u677f\u4e0a\u526a\u4e0b\u4e24\u4e2a2\u00d72\u5398\u7c73\u7684\u65b9\u5757\uff0c\u4ece\u7eb8\u4e0a\u526a\u4e0b\u4e00\u4e2a2\u00d72\u5398\u7c73\u7684\u65b9\u5757\uff0c\u4ece\u94dd\u7b94\u4e0a\u526a\u4e0b\u4e24\u4e2a2\u00d72\u5398\u7c73\u7684\u65b9\u5757\u3002\u5bf9\u4e8e\u89e6\u70b9\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u94dc\u7ebf\u6216\u8df3\u7ebf\u3002\u4ece\u94dc\u7ebf\u6216\u8df3\u7ebf\u4e0a\u526a\u4e0b4\u5398\u7c73\uff0c\u5e76\u786e\u4fdd\u53bb\u9664\u7edd\u7f18\u5c42\u3002\u6700\u540e\uff0c\u7528\u94c5\u7b14\u5c06\u7eb8\u7684\u4e24\u9762\u5b8c\u5168\u6d82\u6210\u9ed1\u8272\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong><span style=\"color:#9b51e0\" class=\"tadv-color\">\u6ce8\u610f\u4e8b\u9879<\/span><\/strong> \u5982\u679c\u4f60\u5bb6\u91cc\u6709Velostat\uff0c\u4f60\u53ef\u4ee5\u7528\u5b83\u6765\u4ee3\u66ff\u9634\u5f71\u7eb8\u65b9\u3002<\/p>\n<\/blockquote>\n\n\n\n<p>\u73b0\u5728\u4e00\u5207\u90fd\u51c6\u5907\u597d\u4e86\uff0c\u53ef\u4ee5\u8fdb\u884c\u7ec4\u88c5\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1299-1024x502.jpg\" alt=\"\u538b\u529b\u4f20\u611f\u5668\" class=\"wp-image-2104\" style=\"width:353px;height:172px\" width=\"353\" height=\"172\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1299-1024x502.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1299-300x147.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1299-768x377.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1299-1536x753.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1299-2048x1005.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1299-18x9.jpg 18w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><figcaption class=\"wp-element-caption\">\u538b\u529b\u4f20\u611f\u5668<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u53d6\u4e00\u4e2a\u7eb8\u677f\u65b9\u5757\uff0c\u5728\u4e00\u8fb9\u6d82\u4e0a\u80f6\u6c34\u3002\u7c98\u4e0a\u4e00\u4e2a\u89e6\u70b9\uff0c\u4f7f\u5176\u7a0d\u7a0d\u6328\u7740\u4e2d\u5fc3\uff0c\u7a81\u51fa\u7ea62\u5398\u7c73\u3002\u7528\u4e00\u4e2a\u94dd\u7b94\u65b9\u5757\u8986\u76d6\u4e00\u5207\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Pressure-sensor-and-Flex-sensor-1024x982.jpg\" alt=\"\u538b\u529b\u548c\u67d4\u6027\u4f20\u611f\u5668\" class=\"wp-image-2108\" style=\"width:400px;height:383px\" width=\"400\" height=\"383\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Pressure-sensor-and-Flex-sensor-1024x982.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Pressure-sensor-and-Flex-sensor-300x288.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Pressure-sensor-and-Flex-sensor-768x736.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Pressure-sensor-and-Flex-sensor-13x12.jpg 13w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Pressure-sensor-and-Flex-sensor.jpg 1434w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption class=\"wp-element-caption\">\u538b\u529b\u548c\u67d4\u6027\u4f20\u611f\u5668<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u73b0\u5728\u7528\u5269\u4e0b\u7684\u7eb8\u677f\u3001\u63a5\u89e6\u7269\u548c\u94dd\u7b94\u5efa\u7acb\u4e00\u4e2a\u76f8\u540c\u7684\u526f\u672c\u3002\u4e4b\u540e\uff0c\u628a\u9634\u5f71\u7eb8\u65b9\u5757\u653e\u5728\u94dd\u7b94\u65b9\u5757\u4e4b\u95f4\uff0c\u5c31\u50cf\u4e00\u4e2a\u4e09\u660e\u6cbb--\u7eb8\u677f\u3001\u94c1\u4e1d\u3001\u94dd\u7b94\u3001\u7eb8\u3001\u94dd\u7b94\u3001\u94c1\u4e1d\u3001\u7eb8\u677f\u7684\u4e09\u660e\u6cbb\u3002<\/p>\n\n\n\n<p>\u6700\u540e\uff0c\u7528\u80f6\u5e26\u628a\u6240\u6709\u4e1c\u897f\u90fd\u7262\u7262\u5730\u5305\u8d77\u6765\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"flex-sensor\">\u67d4\u6027\u4f20\u611f\u5668<\/h2>\n\n\n\n<p>\u67d4\u6027\u4f20\u611f\u5668\u4e0e\u538b\u529b\u4f20\u611f\u5668\u7c7b\u4f3c\uff0c\u552f\u4e00\u7684\u533a\u522b\u662f\u5c3a\u5bf8\u4e0d\u540c\u3002\u5bf9\u4e8e\u67d4\u6027\u4f20\u611f\u5668\uff0c\u4f60\u9700\u8981\u5c06\u4efb\u4f55\u4e1c\u897f\u5207\u5272\u6210\u77e9\u5f62\u800c\u4e0d\u662f\u6b63\u65b9\u5f62\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1300-1024x447.jpg\" alt=\"\u67d4\u6027\u4f20\u611f\u5668\" class=\"wp-image-2093\" style=\"width:467px;height:203px\" width=\"467\" height=\"203\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1300-1024x447.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1300-300x131.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1300-768x335.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1300-1536x670.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1300-2048x893.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1300-18x8.jpg 18w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><figcaption class=\"wp-element-caption\">\u67d4\u6027\u4f20\u611f\u5668<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u6211\u4f7f\u7528\u4e861\u00d76\u5398\u7c73\u7684\u77e9\u5f62\uff0c\u56e0\u4e3a\u6211\u5728\u672a\u6765\u7684\u9879\u76ee\u4e2d\u9700\u8981\u8fd9\u79cd\u683c\u5f0f\u3002<\/p>\n\n\n\n<p>\u6709\u8c01\u731c\u5230\u8fd9\u53ef\u80fd\u662f\u4ec0\u4e48\u5417\uff1f\u8bf7\u5728\u8bc4\u8bba\u4e2d\u7559\u8a00 \ud83d\ude00<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"vibration-sensor\">\u632f\u52a8\u4f20\u611f\u5668<\/h2>\n\n\n\n<p>\u5efa\u7acb\u4e00\u4e2a\u632f\u52a8\u4f20\u611f\u5668\u662f\u975e\u5e38\u5bb9\u6613\u7684\u3002\u5c06\u94dc\u7ebf\u7f20\u7ed5\u5728\u4e00\u4e2a\u87ba\u4e1d\u4e0a\uff0c\u5f97\u5230\u4e00\u4e2a\u5f39\u7c27\u3002\u7136\u540e\u628a\u5176\u4e2d\u4e00\u4e2a\u8fb9\u62c9\u76f4\u3002\u8fd9\u5728\u4ee5\u540e\u53ef\u4ee5\u4f5c\u4e3a\u63a5\u89e6\u3002\u5f39\u7c27\u5e94\u8be5\u662f\u975e\u5e38\u6447\u6446\u4e0d\u5b9a\u7684\u3002\u6211\u4f7f\u7528\u7684\u662f0.6\u6beb\u7c73\u76f4\u5f84\u7684\u94dc\u7ebf\uff0c\u53d1\u73b05\u5398\u7c73\u662f\u5f39\u7c27\u7684\u6700\u7ec8\u957f\u5ea6\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Vibration-sensor-577x1024.jpg\" alt=\"\u632f\u52a8\u4f20\u611f\u5668\" class=\"wp-image-2107\" style=\"width:256px;height:454px\" width=\"256\" height=\"454\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Vibration-sensor-577x1024.jpg 577w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Vibration-sensor-169x300.jpg 169w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Vibration-sensor-768x1364.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Vibration-sensor-7x12.jpg 7w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/Vibration-sensor.jpg 773w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><figcaption class=\"wp-element-caption\">\u632f\u52a8\u4f20\u611f\u5668<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u73b0\u5728\u7528\u70ed\u80f6\u67aa\u5c06\u7535\u963b\u7c98\u5728\u5f39\u7c27\u4e0a\u3002\u5176\u4e2d\u4e00\u6839\u5f15\u7ebf\u5c06\u6210\u4e3a\u7b2c\u4e8c\u4e2a\u89e6\u70b9\u3002\u5728\u80f6\u6c34\u5e72\u71e5\u65f6\uff0c\u53e6\u4e00\u6839\u5f15\u7ebf\u9700\u8981\u5b8c\u5168\u5c45\u4e2d\uff0c\u4ee5\u4fbf\u5b83\u4e0d\u4f1a\u78b0\u5230\u5f39\u7c27\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1298-1-1024x386.jpg\" alt=\"\u632f\u52a8\u4f20\u611f\u5668\" class=\"wp-image-2101\" style=\"width:479px;height:180px\" width=\"479\" height=\"180\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1298-1-1024x386.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1298-1-300x113.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1298-1-768x290.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1298-1-1536x580.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1298-1-2048x773.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1298-1-18x7.jpg 18w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><figcaption class=\"wp-element-caption\">\u632f\u52a8\u4f20\u611f\u5668<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u5728\u9759\u6b62\u7684\u4f53\u80b2\u573a\u4e2d\uff0c\u7535\u963b\u548c\u5f39\u7c27\u6ca1\u6709\u63a5\u89e6\uff0c\u56e0\u6b64\u7535\u6d41\u4e0d\u80fd\u6d41\u52a8\u3002\u4e00\u65e6\u4f20\u611f\u5668\u56e0\u649e\u51fb\u800c\u632f\u52a8\uff0c\u7535\u963b\u548c\u5f39\u7c27\u5c31\u4f1a\u63a5\u89e6\u5e76\u5173\u95ed\u7535\u8def\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"testing\">\u6d4b\u8bd5\u4f20\u611f\u5668<\/h2>\n\n\n\n<p>\u6d4b\u8bd5\u4f20\u611f\u5668\u7684\u6700\u5feb\u901f\u548c\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u4e00\u4e2a\u6570\u5b57\u4e07\u7528\u8868\u3002<\/p>\n\n\n\n<p>\u5c06\u9ed1\u8272\u63a2\u9488\u63d2\u5165 <strong>\u6dd8\u5b9d\u7f51<\/strong> \u548c\u7ea2\u8272\u63a2\u9488\u8fdb\u5165 <strong>\u03a9<\/strong>.\u7136\u540e\u628a\u8f6c\u76d8\u8f6c\u5230 <strong>\u03a9<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1297-1-768x1024.jpg\" alt=\"\u7528\u6570\u5b57\u4e07\u7528\u8868\u6d4b\u8bd5\u4f20\u611f\u5668\" class=\"wp-image-2095\" style=\"width:386px;height:514px\" width=\"386\" height=\"514\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1297-1-768x1024.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1297-1-225x300.jpg 225w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1297-1-1152x1536.jpg 1152w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1297-1-1536x2048.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1297-1-9x12.jpg 9w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/IMG-1297-1-scaled.jpg 1920w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><figcaption class=\"wp-element-caption\">\u7528\u6570\u5b57\u4e07\u7528\u8868\u6d4b\u8bd5\u4f20\u611f\u5668<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u8981\u6d4b\u8bd5\u4e00\u4e2a\u4f20\u611f\u5668\uff0c\u5c06\u4e00\u4e2a\u63a2\u9488\u8fde\u63a5\u5230\u5176\u4e2d\u4e00\u4e2a\u89e6\u70b9\uff0c\u53e6\u4e00\u4e2a\u63a2\u9488\u8fde\u63a5\u5230\u53e6\u4e00\u4e2a\u89e6\u70b9\u3002\u7136\u540e\u4f60\u53ef\u4ee5\u6309\u538b\u6216\u5f2f\u66f2\uff0c\u6216\u6447\u6643\u4f20\u611f\u5668\uff0c\u770b\u770b\u5b83\u662f\u5426\u5728\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p>\u5f53\u7136\uff0c\u6bcf\u4e2a\u4f20\u611f\u5668\u7684\u8868\u73b0\u5404\u4e0d\u76f8\u540c\uff0c\u4f46\u4f8b\u5982\u4f60\u53ef\u4ee5\u6d4b\u91cf\u4e00\u4e2a\u67d4\u6027\u4f20\u611f\u5668\u7684\u5f2f\u66f2\u89d2\u5ea6\u5e76\u8bb0\u4e0b\u76f8\u5e94\u7684\u7535\u963b\u3002\u7136\u540e\u4f60\u5c31\u53ef\u4ee5\u7528\u4e00\u4e2a \"\u6d4b\u91cf\u5668 \"\u6765\u8bfb\u51fa\u8be5\u4f20\u611f\u5668\u7684\u7535\u963b\u3002 <strong>ADC<\/strong> (<strong>A<\/strong>\u5364\u7d20 <strong>D<\/strong>\u6570\u5b57 <strong>C<\/strong>\u8f6c\u6362\u5668\uff09\u6765\u6d4b\u91cf\u76f8\u5e94\u7684\u5f2f\u66f2\u89d2\u5ea6\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u4f60\u9700\u8981\u4e00\u4e9b\u7075\u611f\uff0c\u8fd9\u91cc\u6709\u4e00\u4e9b\u5173\u4e8e\u4f20\u611f\u5668\u7684\u9879\u76ee\u60f3\u6cd5\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5efa\u9020\u4e00\u4e2a\u96c6\u6210\u4e86\u538b\u529b\u4f20\u611f\u5668\u7684\u5730\u57ab\uff0c\u5982\u679c\u6709\u4eba\u8e29\u5230\u5b83\uff0c\u5c31\u4f1a\u89e6\u53d1\u706f\u5149\u3002<\/li>\n\n\n\n<li>\u7528Flex\u4f20\u611f\u5668\u5efa\u7acb\u4e00\u4e2a\u91cf\u89d2\u5668\u6765\u6d4b\u91cf\u89d2\u5ea6<\/li>\n\n\n\n<li>\u5c06\u632f\u52a8\u4f20\u611f\u5668\u8fde\u63a5\u5230\u4f60\u7684\u6d17\u8863\u673a\u4e0a\uff0c\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u5728\u6d17\u5b8c\u8863\u670d\u540e\u5f97\u5230\u901a\u77e5\u3002<\/li>\n<\/ul>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2Fdiy-sensors%2F&text=DIY%20Sensors\" title=\"\u5728 X \u4e0a\u5206\u4eab\" aria-label=\"\u5728 X \u4e0a\u5206\u4eab\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2Fdiy-sensors%2F\" title=\"\u5728Facebook\u4e0a\u5206\u4eab\" aria-label=\"\u5728Facebook\u4e0a\u5206\u4eab\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2Fdiy-sensors%2F&text=DIY%20Sensors\" title=\"\u5728\u7535\u62a5\u4e0a\u5206\u4eab\" aria-label=\"\u5728\u7535\u62a5\u4e0a\u5206\u4eab\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fzh%2Fdiy-sensors%2F\" title=\"\u5206\u4eab\u81f3Reddit\" aria-label=\"\u5206\u4eab\u81f3Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">\u5206\u4eab<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>\u5b66\u4e60\u5982\u4f55\u81ea\u5236 DIY \u4f20\u611f\u5668\u3002\u5b83\u7b80\u5355\u3001\u5feb\u6377\uff0c\u800c\u4e14\u51e0\u4e4e\u4e0d\u82b1\u94b1\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u80fd\u5b66\u5230\u5f88\u591a\u5173\u4e8e\u4f20\u611f\u5668\u7684\u77e5\u8bc6\u3002\u5982\u679c\u60a8\u4e0d\u60f3\u9605\u8bfb\uff0c\u8bf7\u89c2\u770b\u6211\u4eec\u7684\u89c6\u9891\u3002\u4f20\u611f\u5668\u7684\u5de5\u4f5c\u539f\u7406 \u4f20\u611f\u5668\u7684\u79cd\u7c7b\u6570\u4e0d\u80dc\u6570\u3002\u7528\u4e8e\u6d4b\u91cf\u6e29\u5ea6\u3001\u5149\u3001\u58f0\u97f3\u6216\u529b\u7684\u4f20\u611f\u5668\uff0c\u7528\u4e8e\u6d4b\u91cf...<\/p>","protected":false},"author":3,"featured_media":2151,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,3],"tags":[184,190,189,191,188,187,186,185,192],"class_list":["post-2054","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi-projects","category-raspberry-pi-how-to","tag-diy","tag-flex-sensor","tag-pi","tag-pressure-sensor","tag-raspberry","tag-raspberry-pi","tag-sensor","tag-sensors","tag-vibration-sensor"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DIY Sensors | PiCockpit<\/title>\n<meta name=\"description\" content=\"Learn how to build your own DIY sensors. It&#039;s easy, it&#039;s fast and it costs almost nothing. Additionally, you will learn a lot about sensors.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/zh\/diy-sensors\/\" \/>\n<meta property=\"og:locale\" content=\"zh_HK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DIY Sensors | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"Learn how to build your own DIY sensors. It&#039;s easy, it&#039;s fast and it costs almost nothing. Additionally, you will learn a lot about sensors.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/zh\/diy-sensors\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-22T16:11:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-28T09:30:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/DIY-Sensors-Thumbnail.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nathan Busler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nathan Busler\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u8a08\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/\"},\"author\":{\"name\":\"Nathan Busler\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/e38fef75134e5e54175b2615a8c3eb47\"},\"headline\":\"DIY Sensors\",\"datePublished\":\"2022-04-22T16:11:18+00:00\",\"dateModified\":\"2023-08-28T09:30:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/\"},\"wordCount\":818,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/DIY-Sensors-Thumbnail.jpg\",\"keywords\":[\"DIY\",\"Flex sensor\",\"Pi\",\"Pressure sensor\",\"Raspberry\",\"Raspberry Pi\",\"Sensor\",\"Sensors\",\"Vibration Sensor\"],\"articleSection\":[\"Raspberry Pi projects\",\"Tutorials\"],\"inLanguage\":\"zh-HK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/\",\"name\":\"DIY Sensors | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/DIY-Sensors-Thumbnail.jpg\",\"datePublished\":\"2022-04-22T16:11:18+00:00\",\"dateModified\":\"2023-08-28T09:30:37+00:00\",\"description\":\"Learn how to build your own DIY sensors. It's easy, it's fast and it costs almost nothing. Additionally, you will learn a lot about sensors.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/#breadcrumb\"},\"inLanguage\":\"zh-HK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/DIY-Sensors-Thumbnail.jpg\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/DIY-Sensors-Thumbnail.jpg\",\"width\":1920,\"height\":1080,\"caption\":\"DIY Sensors\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/diy-sensors\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/raspberry-pi-how-to\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DIY Sensors\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-HK\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/e38fef75134e5e54175b2615a8c3eb47\",\"name\":\"Nathan Busler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-HK\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"caption\":\"Nathan Busler\"},\"sameAs\":[\"https:\\\/\\\/buyzero.de\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/zh\\\/author\\\/nathan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DIY \u4f20\u611f\u5668 | PiCockpit","description":"\u5b66\u4e60\u5982\u4f55\u81ea\u5236 DIY \u4f20\u611f\u5668\u3002\u5b83\u7b80\u5355\u3001\u5feb\u6377\uff0c\u800c\u4e14\u51e0\u4e4e\u4e0d\u82b1\u94b1\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u80fd\u5b66\u5230\u5f88\u591a\u5173\u4e8e\u4f20\u611f\u5668\u7684\u77e5\u8bc6\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/picockpit.com\/raspberry-pi\/zh\/diy-sensors\/","og_locale":"zh_HK","og_type":"article","og_title":"DIY Sensors | PiCockpit","og_description":"Learn how to build your own DIY sensors. It's easy, it's fast and it costs almost nothing. Additionally, you will learn a lot about sensors.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/zh\/diy-sensors\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2022-04-22T16:11:18+00:00","article_modified_time":"2023-08-28T09:30:37+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/DIY-Sensors-Thumbnail.jpg","type":"image\/jpeg"}],"author":"Nathan Busler","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"\u4f5c\u8005":"Nathan Busler","\u9810\u8a08\u95b1\u8b80\u6642\u9593":"6 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/"},"author":{"name":"Nathan Busler","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/e38fef75134e5e54175b2615a8c3eb47"},"headline":"DIY Sensors","datePublished":"2022-04-22T16:11:18+00:00","dateModified":"2023-08-28T09:30:37+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/"},"wordCount":818,"commentCount":0,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/DIY-Sensors-Thumbnail.jpg","keywords":["DIY","Flex sensor","Pi","Pressure sensor","Raspberry","Raspberry Pi","Sensor","Sensors","Vibration Sensor"],"articleSection":["Raspberry Pi projects","Tutorials"],"inLanguage":"zh-HK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/","url":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/","name":"DIY \u4f20\u611f\u5668 | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/DIY-Sensors-Thumbnail.jpg","datePublished":"2022-04-22T16:11:18+00:00","dateModified":"2023-08-28T09:30:37+00:00","description":"\u5b66\u4e60\u5982\u4f55\u81ea\u5236 DIY \u4f20\u611f\u5668\u3002\u5b83\u7b80\u5355\u3001\u5feb\u6377\uff0c\u800c\u4e14\u51e0\u4e4e\u4e0d\u82b1\u94b1\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u80fd\u5b66\u5230\u5f88\u591a\u5173\u4e8e\u4f20\u611f\u5668\u7684\u77e5\u8bc6\u3002","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/#breadcrumb"},"inLanguage":"zh-HK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/"]}]},{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/DIY-Sensors-Thumbnail.jpg","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/04\/DIY-Sensors-Thumbnail.jpg","width":1920,"height":1080,"caption":"DIY Sensors"},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/diy-sensors\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/raspberry-pi-how-to\/"},{"@type":"ListItem","position":3,"name":"DIY Sensors"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"\u7801\u5934","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-HK"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/e38fef75134e5e54175b2615a8c3eb47","name":"Nathan Busler","image":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","caption":"Nathan Busler"},"sameAs":["https:\/\/buyzero.de"],"url":"https:\/\/picockpit.com\/raspberry-pi\/zh\/author\/nathan\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/2054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/comments?post=2054"}],"version-history":[{"count":30,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/2054\/revisions"}],"predecessor-version":[{"id":4976,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/posts\/2054\/revisions\/4976"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/media\/2151"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/media?parent=2054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/categories?post=2054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/zh\/wp-json\/wp\/v2\/tags?post=2054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}