{"id":24743,"date":"2023-12-20T00:00:21","date_gmt":"2023-12-19T16:00:21","guid":{"rendered":"https:\/\/techclass.wfjydl.com\/?p=24743"},"modified":"2026-05-07T10:29:26","modified_gmt":"2026-05-07T02:29:26","slug":"%e4%bd%bf%e7%94%a8raspberry-pi-4%e8%bf%9b%e8%a1%8c%e7%94%b5%e5%ad%90%e5%88%b6%e4%bd%9c-%e5%85%a5%e9%97%a8%ef%bc%81%e3%80%90%e7%ac%ac4%e7%af%87%e3%80%91-%e4%bd%bf%e7%94%a8raspberry-pi-4%e5%92%8cgpio","status":"publish","type":"post","link":"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/raspberrypi4_04\/","title":{"rendered":"\u4f7f\u7528Raspberry Pi 4\u8fdb\u884c\u7535\u5b50\u5236\u4f5c \u5165\u95e8\uff01\u3010\u7b2c4\u7bc7\u3011 \u4f7f\u7528Raspberry Pi 4\u548cGPIO\uff0c\u6311\u6218\u57fa\u7840\u7684\u7535\u5b50\u4f5c\u54c1\u5236\u4f5c\uff01"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>\u203b\u672c\u6587\u6700\u521d\u53d1\u8868\u4e8e2020\u5e742\u670812\u65e5\uff0c\u5bf9\u5176\u91cd\u65b0\u7f16\u8f91\u540e\u4e8e2022\u5e743\u670814\u65e5\u518d\u6b21\u53d1\u8868\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u7b2c1\u7bc7\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/raspberrypi4_01\/\">\u5f00\u59cb\u4f7f\u7528\u65b0\u4ea7\u54c1\u201cRaspberry Pi 4\u201d\uff01<\/a><br \/>\n\u7b2c2\u7bc7\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/raspberrypi4_02\/\">Raspberry Pi 4\u7684\u8bbe\u7f6e\uff01<\/a><br \/>\n\u7b2c3\u7bc7\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/raspberrypi4_03\/\">\u65e0\u5934\u6a21\u5f0f\u4e0b\u719f\u7ec3\u4f7f\u7528Raspberry Pi 4\uff01<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u5409\u7530\uff01<br \/>\n\u5728\u672c\u7cfb\u5217\u8fde\u8f7d\u4e2d\uff0c\u6211\u5c06\u4f7f\u7528Raspberry Pi 4 Model B\uff08Raspberry Pi4\uff09\uff0c\u548c\u5404\u4f4d\u8bfb\u8005\u670b\u53cb\u4e00\u8d77\uff0c\u5bf9Raspberry Pi\u7684\u8bbe\u7f6e\u4ee5\u53ca\u7535\u5b50\u5236\u4f5c\u7684\u57fa\u7840\u77e5\u8bc6\u8fdb\u884c\u56de\u987e\uff0c\u672c\u7bc7\u662f\u6700\u7ec8\u7bc7\u3002<\/p>\n<p>\u5728\u7b2c\u4e00\u7bc7\u5230<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/raspberrypi4_03\/\">\u7b2c3\u7bc7<\/a>\u4e2d\uff0c\u6211\u5df2\u7ecf\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e86Raspberry Pi OS\uff08Raspbian Buster\uff09\u7684\u5b89\u88c5\u3001\u73af\u5883\u8bbe\u7f6e\u4ee5\u53ca\u57fa\u672c\u4f7f\u7528\u65b9\u6cd5\u3002\u5728\u672c\u7bc7\u4e2d\uff0c\u6211\u5c06\u4f7f\u7528GPIO\uff08\u6570\u636e\u8f93\u5165\u8f93\u51fa\u7aef\u53e3\uff09\uff0c\u8fde\u63a5\u4f20\u611f\u5668\u7b49\u5668\u4ef6\uff0c\u5b9e\u9645\u8fdb\u884c\u7535\u5b50\u4f5c\u54c1\u7684\u5236\u4f5c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26025\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/1.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/1.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/1.png 300w\" alt=\"1\" width=\"700\" height=\"480\" \/><\/p>\n<h2>\u76ee\u5f55<\/h2>\n<ol class=\"number-list\">\n<li><a href=\"#01\">\u672c\u9879\u76ee\u6240\u9700\u90e8\u4ef6<\/a><\/li>\n<li><a href=\"#02\">Raspberry Pi\u548c\u786c\u4ef6\u7684\u8fde\u63a5\uff08GPIO\uff09<\/a><\/li>\n<li><a href=\"#03\">Raspberry Pi 4\u8fde\u63a5\u4f20\u611f\u5668\u5e76\u8fdb\u884c\u6d4b\u91cf<\/a><\/li>\n<li><a href=\"#04\">\u70b9\u4eaeLED\uff08NeoPixel\uff09<\/a><\/li>\n<li><a href=\"#05\">LED\u548c\u4f20\u611f\u5668\u8054\u52a8\u5de5\u4f5c<\/a><\/li>\n<li><a href=\"#06\">\u603b\u7ed3<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<div class=\"box-red-01\">\n<h2 id=\"01\">1. \u672c\u9879\u76ee\u6240\u9700\u90e8\u4ef6<\/h2>\n<p>Raspberry Pi 4Model B<br \/>\n(\u5982\u679c\u4f7f\u7528\u5165\u95e8\u5957\u4ef6\u7b49\u5957\u88c5\u4ea7\u54c1\uff0c\u91cc\u9762\u4f1a\u5305\u542b\u542f\u7528\u6240\u9700\u7684\u76f8\u5173\u90e8\u4ef6\u3002\uff09<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25699\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi04_1.png\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi04_1.png 331w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi04_1.png 150w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi04_1.png 300w\" alt=\"raspberrypi04_1\" width=\"331\" height=\"331\" \/><\/p>\n<p><a href=\"https:\/\/www.amazon.co.jp\/s?k=bme280&amp;__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;_encoding=UTF8&amp;camp=1207&amp;creative=8415&amp;linkCode=shr&amp;tag=ktrip-22\" target=\"_blank\" rel=\"noopener\">BME280\u6e29\u6e7f\u5ea6\u4f20\u611f\u5668<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26026\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/3.png\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/3.png 330w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/3.png 300w\" alt=\"3\" width=\"330\" height=\"293\" \/><\/p>\n<p><a href=\"https:\/\/www.amazon.co.jp\/Adafruit-NeoPixel-Ring-16%E9%80%A3%E3%83%95%E3%83%AB%E3%82%AB%E3%83%A9%E3%83%BC%E3%82%B7%E3%83%AA%E3%82%A2%E3%83%ABLED-%E3%80%901463%E3%80%91\/dp\/B019IBEPFW\/ref=as_li_ss_tl?ie=UTF8&amp;linkCode=sl1&amp;tag=ktrip-22&amp;linkId=a2837ead4f7af1de5432d773c71524fe&amp;language=ja_JP\" target=\"_blank\" rel=\"noopener\">16-LED neopixel \u73af<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26027\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/4.png\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/4.png 330w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/4.png 300w\" alt=\"4\" width=\"330\" height=\"240\" \/><\/p>\n<p><a href=\"https:\/\/www.amazon.co.jp\/Elegoo-JP-EL-CP-006-ELEGOO-Arduino%E7%94%A8170%E3%82%BF%E3%82%A4%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88-Mini%E3%83%96%E3%83%AC%E3%83%83%E3%83%89%E3%83%9C%E3%83%BC%E3%83%896PCS\/dp\/B06ZZSB77C\/ref=as_li_ss_tl?_encoding=UTF8&amp;pd_rd_i=B06ZZSB77C&amp;pd_rd_r=fd9ccdcb-7f5d-472c-be73-a364eeaf4ab0&amp;pd_rd_w=949mp&amp;pd_rd_wg=IacXy&amp;pf_rd_p=aeee4cf9-9af8-43b4-b05c-0ae7c82d9d5e&amp;pf_rd_r=0A7W7QK1W0K53KF901JA&amp;psc=1&amp;refRID=0A7W7QK1W0K53KF901JA&amp;linkCode=sl1&amp;tag=ktrip-22&amp;linkId=8b6c61030c9654cb5cffae2f97ac219e&amp;language=ja_JP\" target=\"_blank\" rel=\"noopener\">\u8ff7\u4f60\u9762\u5305\u677f<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26047\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/5.png\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/5.png 330w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/5.png 300w\" alt=\"5\" width=\"330\" height=\"217\" \/><\/p>\n<\/div>\n<h2 id=\"02\">2. Raspberry Pi\u548c\u786c\u4ef6\u7684\u8fde\u63a5\uff08GPIO\uff09<\/h2>\n<p>Raspberry Pi\u4e0a\u6709\u5f88\u591a\u7528\u4e8e\u786c\u4ef6\u8fde\u63a5\u7684\u63a5\u53e3\uff0c\u5305\u62ec\u7528\u4e8e\u6570\u5b57\u8f93\u5165\u8f93\u51fa\u7684GPIO\u548c\u6444\u50cf\u5934\u3001\u97f3\u54cd\u7b49\u63a5\u53e3\u3002\u901a\u8fc7\u8fd9\u4e9b\u63a5\u53e3\u4e0e\u786c\u4ef6\u8fde\u63a5\uff0c\u5c31\u53ef\u4ee5\u5236\u4f5c\u5404\u79cd\u5404\u6837\u7684\u7535\u5b50\u4f5c\u54c1\u3002<br \/>\n<strong>GPIO\u8fde\u63a5<\/strong><br \/>\nRaspberry Pi\u4e3b\u8981\u662f\u901a\u8fc740\u4e2a\u88ab\u79f0\u4e3aGPIO\uff08General Purpose Input Output\uff09\u7684\u7aef\u53e3\u4e0e\u786c\u4ef6\u8fdb\u884c\u8fde\u63a5\uff0c\u4e5f\u5c31\u662fRaspberry Pi\u5de6\u4e0b\u89d2\u76841\u53f7\u5f15\u811a\u5230\u53f3\u4e0a\u89d2\u768440\u53f7\u5f15\u811a\u3002\u901a\u8fc7\u4e0b\u56fe\u6240\u793a\u7684GPIOxx\u7f16\u53f7\uff0c\u53ef\u4ee5\u5728\u7a0b\u5e8f\u4e2d\u8fdb\u884c\u6307\u5b9a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26029\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/6.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/6.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/6.png 300w\" alt=\"6\" width=\"700\" height=\"402\" \/><\/p>\n[GPIO\u5f15\u811a\u5206\u914d] <a href=\"https:\/\/www.raspberrypi.org\/documentation\/usage\/gpio\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.raspberrypi.org\/documentation\/usage\/gpio\/<\/a><\/p>\n<p>\u5404\u4e2aGPIO\u5f15\u811a\u7684\u529f\u80fd\u4e8b\u5148\u5df2\u7ecf\u5206\u914d\u5b8c\u6bd5\uff0c\u8fd9\u4e9b\u5f15\u811a\u7684\u529f\u80fd\u533a\u5206\u5927\u81f4\u5982\u4e0b\uff1a<\/p>\n<p><strong>\u7535\u6e90\u548cGND: <\/strong>Raspberry Pi\u4e0a\u4e8b\u5148\u5df2\u7ecf\u6307\u5b9a\u4e863.5V\u548c5V\u7684\u4f9b\u7535\u5f15\u811a\u54042\u4e2a\uff0c\u9664\u6b64\u4ee5\u5916\uff0c\u8fd8\u67098\u4e2aGND\u5f15\u811a\uff08\u7535\u538b0V\uff09\u3002<\/p>\n<p><strong>\u6570\u5b57\u8f93\u5165\u8f93\u51fa: <\/strong>\u9664\u4e86\u4e0a\u8ff0\u7aef\u53e3\u4e4b\u5916\uff0c\u5176\u4ed6\u7684\u7aef\u53e3\u90fd\u53ef\u4ee5\u7528\u4e8e\u6570\u5b57\u8f93\u5165\u8f93\u51fa\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u5c31\u662f\u53ef\u4ee5\u6839\u636e\u9700\u8981\uff0c\u901a\u8fc7GPIO2\u301c27\u6765\u8fde\u63a5LED\u548c\u5f00\u5173\u7b49\u90e8\u4ef6\uff0c\u8fdb\u884c\u7535\u5b50\u4f5c\u54c1\u7684\u5236\u4f5c\u3002\u53e6\u5916\uff0c\u8fd9\u4e9b\u7aef\u53e3\u53ef\u4ee5\u652f\u6301\u6570\u5b57\u8f93\u5165\u8f93\u51fa\u548cPWM\uff08\u6a21\u62df\u8f93\u51fa\uff09\u7b49\u901a\u4fe1\u65b9\u5f0f\u3002<\/p>\n<p><strong>PWM\uff1a<\/strong>Raspberry Pi\u867d\u7136\u539f\u5219\u4e0a\u53ea\u80fd\u5904\u7406\u6570\u5b57\u4fe1\u53f7\uff080\u62161\uff09\uff0c\u4f46\u5b9e\u9645\u4e0a\u4e5f\u80fd\u8fdb\u884c\u4f2a\u6a21\u62df\u8f93\u51fa\uff08\u7535\u538b\u7684\u9636\u68af\u8f93\u51fa\uff09\u3002\u901a\u8fc7\u4f2a\u6a21\u62df\u8f93\u51fa\uff0c\u53ef\u4ee5\u8c03\u8282LED\u7684\u4eae\u5ea6\uff0c\u4e5f\u53ef\u4ee5\u6307\u5b9a\u4f3a\u670d\u7535\u673a\u7684\u89d2\u5ea6\u3002\u8fd9\u79cd\u63a7\u5236\u65b9\u5f0f\u53ebPWM\uff08Pulse Width Modulation\uff09\uff0c26\u4e2aGPIO\u5f15\u811a\u90fd\u53ef\u4ee5\u4f5c\u4e3a\u8f6f\u4ef6PWM\u4f7f\u7528\u3002<\/p>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u6709\u4e9b\u5f15\u811a\u8fd8\u652f\u6301\u7528\u4e8e\u8fde\u63a5LCD\u663e\u793a\u5668\u7b49\u8bbe\u5907\u7684<strong>I2C(Inter-Integrated Circuit)<\/strong>\u6807\u51c6\u3001<strong>UART(Universal Asynchronous Receiver Transmitter)<\/strong>\u3001<strong>SPI(Serial Pheripheral Interface)<\/strong>\u7b49\u4e32\u884c\u901a\u4fe1\u65b9\u5f0f\u3002\u8fd9\u4e9b\u5f15\u811a\u4e5f\u662f\u4e8b\u5148\u6307\u5b9a\u7684\uff0c\u5982\u679c\u542f\u7528\u8fd9\u4e9b\u4e32\u884c\u901a\u4fe1\u65b9\u5f0f\uff0c\u5219\u4e0e\u4e4b\u91cd\u590d\u7684\u5f15\u811a\u4e0d\u80fd\u7528\u4f5cGPIO\u5f15\u811a\u3002<\/p>\n<h2 id=\"03\">3. Raspberry Pi 4\u8fde\u63a5\u4f20\u611f\u5668\u5e76\u8fdb\u884c\u6d4b\u91cf<\/h2>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06Raspberry Pi 4\u548c\u4f20\u611f\u5668\u8fde\u63a5\uff0c\u8fdb\u884c\u76f8\u5e94\u7684\u6d4b\u91cf\u3002\u9996\u5148\uff0c\u6211\u4eec\u5c1d\u8bd5\u4f7f\u7528BME280\u8fd9\u6b3e\u5e38\u7528\u7684\u6e29\u6e7f\u5ea6\u4f20\u611f\u5668\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26030\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/7.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/7.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/7.png 300w\" alt=\"7\" width=\"700\" height=\"405\" \/><\/p>\n<p>\u8be5\u4f20\u611f\u5668\u5728\u521a\u521a\u63d0\u5230\u7684GPIO\u4e2d\uff0c\u4e5f\u662f\u4f7f\u7528I2C\u901a\u4fe1\u65b9\u5f0f\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u5148\u9700\u8981\u901a\u8fc7Raspberry Pi\u7684\u914d\u7f6e\u5de5\u5177raspi-config\u6765\u542f\u7528I2C\u3002\u5177\u4f53\u7684\u505a\u6cd5\u5c31\u662f\u5728raspi-config\u4e2d\u9009\u62e9\u201cInterfacing Options\u201d\uff0c\u7136\u540e\u9009\u62e9\u201cEnable I2C\u201d\u3002<\/p>\n<div class=\"box-grey-01\">$ sudo raspi-config<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26031\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/8.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/8.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/8.png 300w\" alt=\"8\" width=\"700\" height=\"324\" \/><\/p>\n<p>\u5728\u5b9e\u9645\u8fdb\u884c\u8fde\u63a5\u65f6\uff0c\u8bf7\u53c2\u7167\u5f15\u811a\u5206\u914d\u7684\u56fe\u7247\u548c\u4e0b\u8868\uff0c\u8fde\u63a5BME280\u548cRaspberry Pi\u7684GPIO\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26032\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/9.png\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/9.png 489w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/9.png 241w\" alt=\"9\" width=\"489\" height=\"608\" \/><\/p>\n<table>\n<tbody>\n<tr bgcolor=\"#e0ffff\">\n<td>BME280\u5f15\u811a (\u5de6\u8d77)<\/td>\n<td>Raspberry Pi GPIO<\/td>\n<\/tr>\n<tr>\n<td>Vio<\/td>\n<td>3.3V<\/td>\n<\/tr>\n<tr>\n<td>Vcore<\/td>\n<td>NA(\u65e0\u8fde\u63a5)<\/td>\n<\/tr>\n<tr>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>CSB<\/td>\n<td>3.3V<\/td>\n<\/tr>\n<tr>\n<td>SDI<\/td>\n<td>GPIO2<\/td>\n<\/tr>\n<tr>\n<td>SCK<\/td>\n<td>GPIO3<\/td>\n<\/tr>\n<tr>\n<td>SDO<\/td>\n<td>GND<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4f20\u611f\u5668\u548cRaspberry Pi\u8fde\u63a5\u5b8c\u6210\u4e4b\u540e\uff0c\u4e3a\u4e86\u64cd\u63a7\u4f20\u611f\u5668\uff0c\u9700\u8981\u5b89\u88c5\u51e0\u4e2aI2C\u5e93\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u518d\u901a\u8fc7\u547d\u4ee4\uff0c\u786e\u8ba4\u8fde\u63a5\u7684\u4f20\u611f\u5668\u662f\u5426\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n<div class=\"box-grey-01\">$ sudo apt install i2c-tools python-smbus<br \/>\n$ sudo i2cdetect -y 1<\/div>\n<p>\u8fd0\u884cI2C Detect\u547d\u4ee4\u540e\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u786e\u8ba4\u53ef\u4ee5\u901a\u8fc7BME280\u7684\u9ed8\u8ba4\u5730\u57400x76\u8fdb\u884c\u901a\u4fe1\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26033\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/10.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/10.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/10.png 300w\" alt=\"10\" width=\"700\" height=\"264\" \/><\/p>\n<p>\u786e\u8ba4\u8fde\u63a5\u6b63\u5e38\u540e\uff0c\u56e0\u4e3aBME280\u6709\u76f8\u5e94\u7684\u793a\u4f8b\u7a0b\u5e8f\uff0c\u6240\u4ee5\u6211\u4eec\u6765\u8bd5\u7528\u4e00\u4e0b\u3002<\/p>\n<div class=\"box-grey-01\">$ sudo git clone https:\/\/github.com\/SWITCHSCIENCE\/BME280.git<br \/>\n$ sudo pip install smbus2<br \/>\n$ python BME280\/Python27\/bme280_sample.py<\/div>\n<p>\u8fd0\u884c\u8be5\u7a0b\u5e8f\uff0c\u8f7b\u8f7b\u677e\u677e\u5730\u5c31\u5f97\u5230\u4e86\u6e29\u5ea6\u3001\u6e7f\u5ea6\u3001\u6c14\u538b\u7684\u76f8\u5e94\u6570\u503c\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26034\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/11.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/11.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/11.png 300w\" alt=\"11\" width=\"700\" height=\"98\" \/><\/p>\n<h2 id=\"04\">4. \u70b9\u4eaeLED\uff08NeoPixel\uff09<\/h2>\n<p>\u901a\u8fc7\u4f7f\u7528GPIO\u7684\u6570\u5b57\u8f93\u5165\u8f93\u51fa\uff0c\u80fd\u591f\u6b63\u5e38\u83b7\u53d6\u4f20\u611f\u5668\u7684\u6d4b\u91cf\u6570\u503c\u4e4b\u540e\uff0c\u6211\u4eec\u63a5\u4e0b\u6765\u8bd5\u4e00\u4e0b\u5176\u4ed6\u7684\u786c\u4ef6\u3002\u5728\u672c\u9879\u76ee\u4e2d\uff0c\u6211\u7528\u7684\u662fLED\u4e2d\u53ef\u4ee5\u53d1\u51fa\u591a\u8272\u5149\u7684NeoPixel\u8fd9\u6b3e\u4ea7\u54c1\u3002\u8be5\u4ea7\u54c1\u53ea\u8981\u8fde\u63a5\u4e09\u6839\u7535\u7ebf\uff0c\u5c31\u80fd\u8ba9\u8fde\u63a5\u5728\u4e00\u8d77\u7684LED\u53d1\u5149\uff0c\u800c\u4e14\u8be5\u4ea7\u54c1\u8fd8\u6709\u5bf9\u5e94\u7684\u5e93\u6587\u4ef6\uff0c\u4f5c\u4e3a\u706f\u9970\u4f7f\u7528\u4e0d\u4ec5\u975e\u5e38\u65b9\u4fbf\u5feb\u6377\uff0c\u88c5\u9970\u6548\u679c\u4e5f\u975e\u5e38\u4eae\u773c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26035\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/12.png\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/12.png 550w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/12.png 300w\" alt=\"12\" width=\"550\" height=\"439\" \/><\/p>\n<p>\u8fd9\u6b3eNeoPixel\u662f\u753116\u9897LED\u8fde\u5728\u4e00\u8d77\u7684\u73af\u72b6\u4ea7\u54c1\u3002\u5b83\u80cc\u9762\u6709\u4e09\u4e2a\u8fde\u63a5\u7aef\u53e3\uff0c\u6211\u4eec\u9700\u8981\u5728\u7aef\u53e3\u5904\u7528\u710a\u4e0a\u7535\u7ebf\uff0c\u7528\u6765\u8fde\u63a5Raspberry Pi\u3002\u5728\u8fdb\u884c\u8fde\u63a5\u65f6\uff0c\u53ea\u9700\u8981\u8fde\u63a5Raspberry Pi\u7684\u7535\u6e90\u6b63\u3001\u7535\u6e90\u8d1f\u548c\u8f93\u5165\u5f15\u811a\u8fd9\u4e09\u4e2a\u5f15\u811a\u5373\u53ef\u3002\u8bf7\u53c2\u8003\u4e0b\u8868\u8fdb\u884c\u63a5\u7ebf\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26036\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/13.png\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/13.png 400w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/13.png 219w\" alt=\"13\" width=\"400\" height=\"548\" \/><\/p>\n<table>\n<tbody>\n<tr bgcolor=\"#e0ffff\">\n<td>NeoPixel<br \/>\n(\u987a\u65f6\u9488\u65b9\u5411)<\/td>\n<td>Raspberry PiGPIO<\/td>\n<\/tr>\n<tr>\n<td>Input<\/td>\n<td>GPIO18 (\u9ec4\u8272)<\/td>\n<\/tr>\n<tr>\n<td>5V DC<\/td>\n<td>5V (\u6a59\u8272)<\/td>\n<\/tr>\n<tr>\n<td>Ground<\/td>\n<td>GND (\u9ed1\u8272)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u63a5\u7740\uff0c\u6211\u4eec\u53c2\u7167<a href=\"https:\/\/learn.adafruit.com\/adafruit-neopixel-uberguide\/python-circuitpython\" target=\"_blank\" rel=\"noopener\">Adafruit \u7f51\u7ad9<\/a>\u7684\u63d0\u793a\uff0c\u8fdb\u884c\u5e93\u7684\u5b89\u88c5\u3002<\/p>\n<div class=\"box-grey-01\">$ sudo pip3 install adafruit-circuitpython-neopixel<\/div>\n<p>\u8be5\u7f51\u9875\u4e0a\u8fd8\u63d0\u4f9b\u4e86\u793a\u4f8b\u7a0b\u5e8f\u201cneopixel_simpletest.py\u201d\uff0c\u8be5\u7a0b\u5e8f\u4e5f\u9700\u8981\u4e0b\u8f7d\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u8be5\u7a0b\u5e8f\uff0c\u5bf9\u4e0b\u8ff0\u90e8\u5206\u8fdb\u884c\u4fee\u6539\uff0c\u8fd9\u6837\u624d\u80fd\u7528\u5728Raspberry Pi\u4e0a\u3002<\/p>\n<p><span style=\"color: #ff0000;\"># pixel_pin = board.NEOPIXEL #\u6ce8\u91ca\u6389<br \/>\npixel_pin = board.D18 #\u53d6\u6d88\u6ce8\u91ca\uff08\u542f\u7528D18\uff09<br \/>\nnum_pixels = 16 #\u8fd9\u6b21\u7528\u7684\u662f16-LED neopixel\u73af\uff0c\u6240\u4ee5\u9700\u8981\u5bf9\u5b83\u8fdb\u884c\u6307\u5b9a<\/span><\/p>\n<p>\u7136\u540e\uff0c\u4f7f\u7528python3\u8fd0\u884c\u4fee\u6539\u4e4b\u540e\u7684\u7a0b\u5e8f\u3002\u6b64\u65f6\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u7a0b\u5e8f\u8fd0\u884c\u6709\u6743\u9650\u8981\u6c42\uff0c\u9700\u8981\u7528sudo\u8fd0\u884c\u3002<\/p>\n<div class=\"box-grey-01\">$ sudo python3 neopixel_simpletest.py<\/div>\n<p>\u4f7f\u7528\u8be5\u793a\u4f8b\u7a0b\u5e8f\u65f6\uff0cLED\u4f1a\u5148\u540e\u4eaeR\uff08\u7ea2\uff09\u3001G\uff08\u7eff\uff09\u3001B\uff08\u84dd\uff09\u8fd9\u4e09\u79cd\u989c\u8272\uff0c\u518d\u53d8\u6210\u65cb\u8f6c\u7684\u9713\u8679\u8272\uff0c\u770b\u8d77\u6765\u975e\u5e38\u70ab\u9177\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26037\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/15.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/15.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/15.png 300w\" alt=\"15\" width=\"700\" height=\"290\" \/><\/p>\n<h2 id=\"05\">5. LED\u548c\u4f20\u611f\u5668\u8054\u52a8\u5de5\u4f5c<\/h2>\n<p>\u63a5\u4e0b\u6765\u662f\u6700\u540e\u4e00\u4e2a\u73af\u8282\uff0c\u6211\u4eec\u8981\u8ba9\u8be5LED\uff08NeoPixel\uff09\u6839\u636e\u4f20\u611f\u5668\u6d4b\u91cf\u51fa\u6765\u7684\u6570\u503c\uff0c\u6539\u53d8\u53d1\u5149\u65b9\u5f0f\u3002\u5177\u4f53\u800c\u8a00\uff0c\u5c31\u662f\u8981\u6839\u636e\u623f\u95f4\u5185\u7684\u6e29\u5ea6\u548c\u6e7f\u5ea6\uff0c\u6539\u53d8NeoPixel\u7684\u989c\u8272\u3002\u6211\u4eec\u5148\u5c06BME280\u548cNeoPixel\u90fd\u5b89\u88c5\u5230Raspberry Pi\u4e0a\uff0c\u7136\u540e\u628a\u5b83\u4eec\u653e\u5165\u76d2\u5b50\u7b49\u5bb9\u5668\u4e2d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26038\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/16.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/16.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/16.png 300w\" alt=\"16\" width=\"700\" height=\"450\" \/><\/p>\n<p>\u5728\u7a0b\u5e8f\u65b9\u9762\uff0c\u6211\u4eec\u8bbe\u5b9a\u4e3a\u5f53\u5ba4\u6e29\u4f4e\u4e8e15\u2103\u65f6\u53d1\u84dd\u5149\uff0c\u8868\u793a\u5ba4\u5185\u201c\u5bd2\u51b7\uff01\u201d\uff1b\u5f53\u6e29\u5ea6\u5904\u4e8e15~25\u2103\u4e4b\u95f4\u65f6\u53d1\u7eff\u5149\uff0c\u8868\u793a\u5ba4\u5185\u6e29\u5ea6\u201c\u9002\u5b9c\uff01\u201d\uff1b\u5f53\u6e7f\u5ea6\u8fbe\u523070%\u4ee5\u4e0a\u65f6\u53d1\u7ea2\u5149\uff0c\u8868\u793a\u5ba4\u5185\u201c\u95f7\u70ed\uff01\u201d\u3002<\/p>\n<p>\u6211\u4eec\u5148\u590d\u5236\u521a\u521a\u4f7f\u7528\u7684BME280\u793a\u4f8b\u7a0b\u5e8f\uff0c\u5e76\u521b\u5efatemp_led.py\u7a0b\u5e8f\u3002<\/p>\n<div class=\"box-grey-01\">$ sudo cp ~\/BME280\/Python27\/bme280_sample.py ~\/Programs\/temp_led.py<\/div>\n<p>\u5177\u4f53\u505a\u6cd5\u5c31\u662f\u5728\u539f\u6765\u7684bme280_sample\u7a0b\u5e8f\u4e2d\uff0c\u6dfb\u52a0\u4e0b\u56fe\u6240\u793a\u7684\u9ec4\u8272\u90e8\u5206\u7684\u5185\u5bb9\u3002<\/p>\n<pre class=\"crayon-plain-tag\">#coding: utf-8\r\nfrom smbus2 import SMBus\r\nimport time\r\n\r\nimport RPi.GPIO as GPIO\r\ninterrupted = False\r\nGPIO.setwarnings(False)\r\n\r\nimport time\r\nimport board\r\nimport neopixel\r\n\r\npixel_pin = board.D18\r\nnum_pixels = 16\r\nORDER = neopixel.GRB\r\npixels = neopixel.NeoPixel(pixel_pin, num_pixels, brightness=0.2, auto_write=False,\r\n                           pixel_order=ORDER)\r\n\r\nbus_number  = 1\r\ni2c_address = 0x76\r\n\r\n\u2026\r\n\r\nsetup()\r\nget_calib_param()\r\n\r\nif __name__ == '__main__':\r\n        try:\r\n            temp, press, hum = readData()\r\n        except KeyboardInterrupt:\r\n            pass\r\n        if temp:\r\n            msg = \"\u4eca\u306e\u5ba4\u6e29\u306f\u3001\" + str(round(temp,1)) + \"\u5ea6\u3001\u6e7f\u5ea6\u306f\u3001\" + str(round(hum,1)) + \"\u30d1\u30fc\u30bb\u30f3\u30c8\u3067\u3059\uff01\"\r\n        if temp &gt; 25:\r\n            msg += \"\u6691\u304f\u306a\u3044\u3067\u3059\u304b\uff1f\"\r\n            pixels.fill((255, 0, 0))\r\n        elif temp &lt; 15: msg += \"\u5bd2\u3044\u3067\u3059\u306d\uff01\" pixels.fill((0, 0, 255)) elif hum &gt; 70:\r\n            msg += \"\u84b8\u3057\u84b8\u3057\u3057\u307e\u3059\u306d\"\r\n            pixels.fill((255, 0, 0))\r\n        else:\r\n            msg += \"\u5feb\u9069\u3067\u3059\uff01\"\r\n            pixels.fill((0, 255, 0))\r\n        pixels.show()\r\n        print (msg)\r\n        time.sleep(3)\r\n        pixels.fill((0, 0, 0))\r\n        pixels.show()\r\n\r\n\r\n<\/pre>\n<p>bme280_sample.ino hosted with &#x2764; by GitHub\u7136\u540e\uff0c\u901a\u8fc7sudo python3\u8fd0\u884c\u8be5\u7a0b\u5e8f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26039\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/python3.png\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/python3.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/python3.png 300w\" alt=\"python3\" width=\"700\" height=\"200\" \/><\/p>\n<p>\u8fd9\u6837\uff0c\u5982\u679c\u5ba4\u5185\u6e29\u5ea6\u8fc7\u4f4e\uff0c\u5c31\u4f1a\u4eae\u84dd\u5149\u3002<\/p>\n<div id=\"attachment_26040\" class=\"alignleft\"><img decoding=\"async\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/17.png\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/17.png 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/17.png 300w\" alt=\"\u5bd2\u51b7\u72b6\u6001\" \/><br \/>\n\u5bd2\u51b7\u72b6\u6001<\/div>\n<p>&nbsp;<\/p>\n<p>\u53e6\u5916\uff0c\u5f53\u6211\u4eec\u901a\u8fc7\u5411\u4f20\u611f\u5668\u5439\u6c14\u7b49\u65b9\u5f0f\u6539\u53d8\u5ba4\u5185\u6e29\u5ea6\u6216\u6e7f\u5ea6\u65f6\uff0cLED\u7684\u53d1\u5149\u989c\u8272\u4e5f\u4f1a\u53d1\u751f\u76f8\u5e94\u7684\u53d8\u5316\u3002<\/p>\n<div id=\"attachment_26041\"><img decoding=\"async\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/18.png\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/18.png 460w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/18.png 300w\" alt=\"\u8212\u9002\u72b6\u6001\uff0815\u2103\u2013 25\u2103\uff0c\u6e7f\u5ea670%\u4ee5\u4e0b\uff09\" width=\"460\" \/><br \/>\n\u8212\u9002\u72b6\u6001\uff0815\u2103\u2013 25\u2103\uff0c\u6e7f\u5ea670%\u4ee5\u4e0b\uff09<\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_26042\"><img decoding=\"async\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/19.png\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/19.png 460w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/19.png 300w\" alt=\"\u6e29\u5ea6\u3001\u6e7f\u5ea6\u8fc7\u9ad8\" width=\"460\" \/><br \/>\n\u6e29\u5ea6\u3001\u6e7f\u5ea6\u8fc7\u9ad8<\/div>\n<h2 id=\"06\">6. \u603b\u7ed3<\/h2>\n<p>\u672c\u6587\u662f\u4ecb\u7ecdRaspberry Pi 4\u7684\u7cfb\u5217\u8fde\u8f7d\u4e2d\u7684\u7b2c4\u7bc7\uff0c\u5728\u672c\u7bc7\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4f20\u611f\u5668\u7b49\u5668\u4ef6\uff0c\u5b8c\u6210\u4e86\u4e00\u6b3e\u7535\u5b50\u4f5c\u54c1\u7684\u5236\u4f5c\u3002\u5927\u5bb6\u5e94\u8be5\u4e5f\u5b66\u5230\u4e86\u4f20\u611f\u5668\u7684\u8fde\u63a5\u3001LED\uff08NeoPixel\uff09\u7684\u4f7f\u7528\u7b49\u57fa\u7840\u77e5\u8bc6\u5427\u3002<\/p>\n<p>Raspberry Pi4\u7ecf\u8fc7\u589e\u52a0\u5185\u5b58\u5bb9\u91cf\u7b49\u4ea7\u54c1\u5347\u7ea7\u540e\uff0c\u5df2\u7ecf\u80fd\u591f\u9002\u7528\u4e8e\u9ad8\u6027\u80fd\u7684\u5904\u7406\u7b49\u5e94\u7528\u573a\u666f\uff0c\u4e0d\u8fc7\u672c\u6587\u4ec5\u4ec5\u4ecb\u7ecd\u4e86\u5f88\u57fa\u7840\u7684\u7535\u5b50\u5236\u4f5c\u65b9\u6cd5\u3002<\/p>\n<p>\u5982\u679c\u5404\u4f4d\u8bfb\u8005\u670b\u53cb\u8bfb\u4e86\u672c\u7cfb\u5217\u8fde\u8f7d\u6587\u7ae0\u4e4b\u540e\uff0c\u5bf9Raspberry Pi\u548c\u7535\u5b50\u5236\u4f5c\u5df2\u7ecf\u4ea7\u751f\u4e86\u5174\u8da3\uff0c\u5efa\u8bae\u5927\u5bb6\u4e00\u5b9a\u8981\u4f7f\u7528Raspberry Pi4\u6765\u6311\u6218\u66f4\u4e3a\u6709\u8da3\u7684\u7535\u5b50\u4f5c\u54c1\u7684\u5236\u4f5c\u3002<\/p>\n<p>\u6700\u540e\uff0c\u795d\u613f\u5927\u5bb6\u5728Raspberry Pi\u7684\u966a\u4f34\u4e0b\uff0c\u5145\u5206\u611f\u53d7\u5230\u7535\u5b50\u5236\u4f5c\u7684\u4e50\u8da3\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=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/raspberrypi4_01\/\">\u5f00\u59cb\u4f7f\u7528\u65b0\u4ea7\u54c1\u201cRaspberry Pi 4\u201d\uff01<\/a><br \/>\n\u7b2c2\u7bc7\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/raspberrypi4_02\/\">Raspberry Pi 4\u7684\u8bbe\u7f6e\uff01<\/a><br \/>\n\u7b2c3\u7bc7\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/raspberrypi4_03\/\">\u65e0\u5934\u6a21\u5f0f\u4e0b\u719f\u7ec3\u4f7f\u7528Raspberry Pi 4\uff01<\/a><br \/>\n\u7b2c4\u7bc7\uff1a\u4f7f\u7528Raspberry Pi 4\u548cGPIO\uff0c\u6311\u6218\u57fa\u7840\u7684\u7535\u5b50\u4f5c\u54c1\u5236\u4f5c\uff01\uff08\u672c\u6587\uff09<\/p>\n<p><!-- single__author --><\/p>\n<div class=\"single__author\">\n<div class=\"single__author__avatar\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-90 photo\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2022\/11\/Yoshiken\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2022\/11\/Yoshiken 2x\" alt=\"\u30a2\u30d0\u30bf\u30fc\u753b\u50cf\" width=\"90\" height=\"90\" \/><\/p>\n<\/div>\n<div class=\"single__author__description\">\n<h2><a href=\"https:\/\/deviceplus.jp\/author\/k-yoshida\/\">\u5409\u7530\u3000\u663e\u4e00\uff08Yoshiken\uff09<\/a><\/h2>\n<p>\u5728\u666e\u901a\u516c\u53f8\u5de5\u4f5c\u7684\u4e0a\u73ed\u65cf\uff0c\u975e\u5e38\u559c\u6b22\u521b\u4f5c\u7684\u5468\u672b\u521b\u5ba2\uff0c\u51fa\u7248\u4e86\u7535\u5b50\u4e66<a href=\"https:\/\/www.amazon.co.jp\/gp\/product\/B01CCIHQPO\">MESHBOOK<\/a>\uff0c\u5e73\u65f6\u4e5f\u5199\u5199\u535a\u5ba2\u3002<\/p>\n<p><a href=\"http:\/\/blog.ktrips.net\" target=\"_blank\" rel=\"noopener\">http:\/\/blog.ktrips.net<\/a><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"&nbsp; \u203b\u672c\u6587\u6700\u521d\u53d1\u8868\u4e8e2020\u5e742\u670812\u65e5\uff0c\u5bf9\u5176\u91cd\u65b0\u7f16\u8f91\u540e\u4e8e2022\u5e743\u670814\u65e5\u518d\u6b21\u53d1\u8868\u3002 &nbsp; \u7b2c1\u7bc7\uff1a\u5f00\u59cb\u4f7f\u7528\u65b0\u4ea7\u54c1\u201cRaspberry Pi 4\u201d\uff01 \u7b2c2\u7bc7\uff1aRaspberry Pi 4\u7684\u8bbe\u7f6e\uff01 \u7b2c [&hellip;]","protected":false},"author":4,"featured_media":24745,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1132],"tags":[],"class_list":["post-24743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry"],"acf":[],"wps_subtitle":"","_links":{"self":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/24743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/comments?post=24743"}],"version-history":[{"count":23,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/24743\/revisions"}],"predecessor-version":[{"id":29789,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/24743\/revisions\/29789"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media\/24745"}],"wp:attachment":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media?parent=24743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/categories?post=24743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/tags?post=24743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}