{"id":726,"date":"2020-08-13T22:59:32","date_gmt":"2020-08-13T14:59:32","guid":{"rendered":"https:\/\/www.iotch.xyz\/?p=726"},"modified":"2020-08-13T22:59:32","modified_gmt":"2020-08-13T14:59:32","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8arduino%e3%80%81esp8266%e5%92%8c%e6%b0%94%e4%bd%93%e4%bc%a0%e6%84%9f%e5%99%a8%e5%88%b6%e4%bd%9c%e7%89%a9%e8%81%94%e7%bd%91%e7%83%9f%e9%9b%be%e6%8e%a2%e6%b5%8b","status":"publish","type":"post","link":"https:\/\/www.iotch.xyz\/?p=726","title":{"rendered":"\u5982\u4f55\u4f7f\u7528Arduino\u3001ESP8266\u548c\u6c14\u4f53\u4f20\u611f\u5668\u5236\u4f5c\u7269\u8054\u7f51\u70df\u96fe\u63a2\u6d4b\u7cfb\u7edf"},"content":{"rendered":"\n<p>\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u5236\u4f5c\u4e00\u4e2a\u7269\u8054\u7f51\u70df\u96fe\u63a2\u6d4b\u7cfb\u7edf\uff0c\u5176\u4e2dMQ-2\u70df\u96fe\u4f20\u611f\u5668\u611f\u77e5\u9644\u8fd1\u662f\u5426\u6709\u70df\u96fe\u3002\u5982\u679c\u9644\u8fd1\u6709\u70df\u96fe\uff0c\u5219\u8702\u9e23\u5668\u5c06\u5f00\u59cb\u53d1\u51fa\u8702\u9e23\u58f0\uff0c\u7ea2\u8272LED\u6307\u793a\u706f\u88ab\u70b9\u4eae\uff0c\u5e76\u4e14\u6211\u4eec\u5c06\u4f7f\u7528ESP8266\u6a21\u5757\u521b\u5efa\u7684\u7f51\u9875\u4e0a\u663e\u793a\u8b66\u544a\u3002\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u8fde\u63a5\u7684\u8bbe\u5907\uff08\u5982\u79fb\u52a8\u8bbe\u5907\u3001\u5e73\u677f\u7535\u8111\u6216PC\uff09\u8bbf\u95ee\u6b64\u7f51\u9875\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.yiboard.com\/data\/attachment\/forum\/201901\/14\/140012bgh5gip493giffft.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>\u6240\u9700\u7684\u7ec4\u4ef6<\/strong><\/p>\n\n\n\n<p>\u25cf&nbsp; &nbsp; Arduino\u5f00\u53d1\u677f<\/p>\n\n\n\n<p>\u25cf&nbsp; &nbsp; ESP8266 Wi-Fi\u6a21\u5757<\/p>\n\n\n\n<p>\u25cf&nbsp; &nbsp; MQ-2\u6c14\u4f53\u4f20\u611f\u5668<\/p>\n\n\n\n<p>\u25cf&nbsp; &nbsp; \u7eff\u8272\u548c\u7ea2\u8272LED<\/p>\n\n\n\n<p>\u25cf&nbsp; &nbsp; \u8702\u9e23\u5668<\/p>\n\n\n\n<p>\u25cf&nbsp; &nbsp; \u8fde\u63a5\u5bfc\u7ebf<\/p>\n\n\n\n<p>\u25cf&nbsp; &nbsp; \u9762\u5305\u677f<\/p>\n\n\n\n<p><strong>\u70df\u96fe\u62a5\u8b66\u5668\u5982\u4f55\u5de5\u4f5c\uff1f<\/strong><\/p>\n\n\n\n<p>MQ-2\u70df\u96fe\u4f20\u611f\u5668\u5c06\u4ee5\u6a21\u62df\u7535\u538b\u7684\u5f62\u5f0f\u63d0\u4f9b\u8f93\u51fa\u3002\u6211\u4eec\u5728\u4ee3\u7801\u4e2d\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u6761\u4ef6\uff0c\u5373\u5982\u679c\u4f20\u611f\u5668\u7684\u8f93\u51fa\u503c\u5927\u4e8e400\uff0c\u5219\u8702\u9e23\u5668\u5c06\u5f00\u59cb\u53d1\u51fa\u8702\u9e23\u58f0\uff0c\u7ea2\u8272LED\u5c06\u88ab\u70b9\u4eae\uff1b\u5982\u679c\u4f20\u611f\u5668\u7684\u8f93\u51fa\u503c\u5c0f\u4e8e400\uff0c\u5219\u8702\u9e23\u5668\u5c06\u4fdd\u6301\u9759\u97f3\uff0c\u7eff\u8272LED\u5c06\u88ab\u70b9\u4eae\u3002<\/p>\n\n\n\n<p>\u8fd9\u91cc\u4f7f\u7528\u7684ESP\u6a21\u5757\u5c06\u5728IP\u5730\u5740\u521b\u5efa\u4e00\u4e2a\u7f51\u9875\uff0c\u5e76\u5c06\u6570\u636e\u53d1\u9001\u5230\u8be5IP\u5730\u5740\uff0c\u7136\u540e\u5728\u6539\u7f51\u9875\u663e\u793a\u6570\u636e\u3002\u4e0a\u4f20\u4ee3\u7801\u540e\uff0c\u53ef\u4ee5\u5728\u4e32\u884c\u76d1\u89c6\u5668\u4e2d\u770b\u5230\u6b64IP\u5730\u5740\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.yiboard.com\/data\/attachment\/forum\/201901\/14\/140458skfybuuu1ub5qil5.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u5f53\u60a8\u5728\u6d4f\u89c8\u5668\u4e2d\u952e\u5165\u6b64IP\u5730\u5740\u65f6\uff0c\u9879\u76ee\u7684\u8f93\u51fa\u5c06\u663e\u793a\u5728\u7f51\u9875\u4e2d\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.yiboard.com\/data\/attachment\/forum\/201901\/14\/140526x5oab5lxzaxfbrx5.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>\u7535\u8def\u539f\u7406\u56fe<\/strong><\/p>\n\n\n\n<p>\u9996\u5148\uff0c\u5c06ESP8266\u6a21\u5757\u8fde\u63a5\u5230Arduino\u5f00\u53d1\u677f\u3002\u4e3a\u4e86\u5c06ESP8266\u4e0eArduino\u6b63\u786e\u8fde\u63a5\uff0c\u6211\u4eec\u4f7f\u7528\u4e86ESP-01\u9002\u914d\u5668\u6a21\u5757\uff0c\u8fd9\u5c06\u4f7f\u8fde\u63a5\u53d8\u5f97\u975e\u5e38\u5bb9\u6613\u3002\u8be5\u9002\u914d\u5668\u6a21\u5757\u5185\u7f6e5V\u81f33.3V\u7a33\u538b\u5668\uff0c\u8fd9\u610f\u5473\u7740\u60a8\u4e0d\u5fc5\u4f7f\u7528\u4efb\u4f55\u7535\u963b\u3002<\/p>\n\n\n\n<p>\u5c06ESP-01\u9002\u914d\u5668\u7684VCC\u5f15\u811a\u8fde\u63a5\u5230Arduino\u4e0a\u76845V\u5f15\u811a\uff0c\u5c06ESP-01\u9002\u914d\u5668\u7684GND\u8fde\u63a5\u5230Arduino\u4e0a\u7684GND\u3002\u63a5\u4e0b\u6765\uff0c\u5c06\u9002\u914d\u5668\u7684TX\u5f15\u811a\u8fde\u63a5\u5230Arduino\u4e0a\u7684\u5f15\u811a2\uff0c\u5c06RX\u5f15\u811a\u4ece\u9002\u914d\u5668\u8fde\u63a5\u5230Arduino\u4e0a\u7684\u5f15\u811a3\u3002<\/p>\n\n\n\n<figure><iframe loading=\"lazy\" src=\"https:\/\/googleads.g.doubleclick.net\/pagead\/ads?client=ca-pub-4082531163985847&amp;output=html&amp;h=280&amp;adk=1093823807&amp;adf=1907059339&amp;w=860&amp;fwrn=4&amp;fwrnh=100&amp;lmt=1597330703&amp;num_ads=1&amp;rafmt=1&amp;armr=3&amp;sem=mc&amp;pwprc=6186241749&amp;psa=1&amp;guci=2.2.0.0.2.2.0.0&amp;ad_type=text_image&amp;format=860x280&amp;url=https%3A%2F%2Fwww.yiboard.com%2Fthread-1072-1-1.html&amp;flash=0&amp;fwr=0&amp;pra=3&amp;rh=200&amp;rw=860&amp;rpe=1&amp;resp_fmts=3&amp;wgl=1&amp;fa=27&amp;adsid=NT&amp;dt=1597330703945&amp;bpp=6&amp;bdt=2744&amp;idt=7&amp;shv=r20200810&amp;cbv=r20190131&amp;ptt=9&amp;saldr=aa&amp;abxe=1&amp;cookie=ID%3D88679c90c3812dec%3AT%3D1596167306%3AS%3DALNI_MbdpXoyg6AqIrr1fnXCQP4olZHUJg&amp;prev_fmts=0x0%2C858x280%2C268x600%2C1200x280&amp;nras=2&amp;correlator=8597748851199&amp;frm=20&amp;pv=1&amp;ga_vid=631589393.1597330704&amp;ga_sid=1597330704&amp;ga_hid=226993024&amp;ga_fc=0&amp;icsg=577761003&amp;dssz=37&amp;mdo=0&amp;mso=8&amp;u_tz=480&amp;u_his=1&amp;u_java=0&amp;u_h=1080&amp;u_w=1920&amp;u_ah=1050&amp;u_aw=1920&amp;u_cd=24&amp;u_nplug=0&amp;u_nmime=0&amp;adx=363&amp;ady=3201&amp;biw=1903&amp;bih=948&amp;scr_x=0&amp;scr_y=0&amp;eid=42530557%2C42530559%2C21066623%2C21066648%2C21066806&amp;oid=3&amp;pvsid=1888558703942190&amp;pem=800&amp;rx=0&amp;eae=0&amp;fc=1408&amp;brdim=1912%2C-8%2C1912%2C-8%2C1920%2C0%2C1936%2C1066%2C1920%2C948&amp;vis=1&amp;rsz=%7C%7Cs%7C&amp;abl=NS&amp;fu=8328&amp;bc=31&amp;ifi=4&amp;uci=a!4&amp;btvi=3&amp;fsb=1&amp;xpc=J3FprS3Jvd&amp;p=https%3A\/\/www.yiboard.com&amp;dtd=50\" allowfullscreen=\"true\" width=\"858\" height=\"280\"><\/iframe><\/figure>\n\n\n\n<p><ins><\/ins><\/p>\n\n\n\n<p>\u7136\u540e\uff0c\u5c06MQ-2\u6c14\u4f53\u4f20\u611f\u5668\u4e0eArduino\u8fde\u63a5\u3002\u5c06\u6c14\u4f53\u4f20\u611f\u5668\u4e0a\u7684VCC\u548cGND\u8fde\u63a5\u5230Arduino\u4e0a\u76845V\u548cGND\u5f15\u811a\u3002\u7136\u540e\u5c06MQ-2\u6c14\u4f53\u4f20\u611f\u5668\u4e0a\u7684A0\u5f15\u811a\u8fde\u63a5\u5230Arduino\u4e0a\u7684A0\u3002<\/p>\n\n\n\n<p>\u4e4b\u540e\uff0c\u5c06\u8702\u9e23\u5668\u548cLED\u8fde\u63a5\u5230Arduino\u3002\u5c06\u8702\u9e23\u5668\u4e0a\u7684\u6b63\u6781\u8fde\u63a5\u5230Arduino\u4e0a\u7684\u5f15\u811a10\uff0c\u5c06\u8702\u9e23\u5668\u4e0a\u7684\u8d1f\u6781\u8fde\u63a5\u5230Arduino\u4e0a\u7684GND\u3002\u7136\u540e\u901a\u8fc7220\u6b27\u59c6\u7535\u963b\u5c06LED\u7684\u8d1f\u6781\u8fde\u63a5\u5230GND\uff0c\u5c06\u6b63\u6781\u8fde\u63a5\u5230Arduino\u7684\u5f15\u811a8\u548c9\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.yiboard.com\/data\/attachment\/forum\/201901\/14\/140646buly2yc2zjsspp4n.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>\u4ee3\u7801\u8bf4\u660e<\/strong><\/p>\n\n\n\n<p>\u9996\u5148\uff0c\u6dfb\u52a0\u8f6f\u4ef6serial\u5e93\u3002serial\u5e93\u5141\u8bb8\u6211\u4eec\u5728Arduino\u7684\u5176\u4ed6\u5f15\u811a\u4e0a\u4f7f\u7528TX\u548cRX\u901a\u4fe1\uff0c\u800c\u4e0d\u662f\u4ec5\u4f7f\u7528\u9ed8\u8ba4\u7684TX\u548cRX\u5f15\u811a\u3002\u7136\u540e\u6211\u4eec\u5b9a\u4e49\u4e86\u6211\u4eec\u5728Arduino\u4e0a\u8fde\u63a5\u8fd9\u4e9bTX\u548cRX\u5f15\u811a\u7684\u4f4d\u7f6e\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>#include &lt;SoftwareSerial.h&gt;<br><\/li><li>#define DEBUG true<br><\/li><li>SoftwareSerial wifi_module(2,3); \/\/ Connect TX pin of esp to the pin 2 of Arduino and RX pin of esp to the pin 3 of Arduino<\/li><\/ol>\n\n\n\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n\n\n\n<p>\u5728\u4e0b\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u58f0\u660e\u4e86LED\u3001\u8702\u9e23\u5668\u548c\u70df\u96fe\u4f20\u611f\u5668\u8fde\u63a5\u5230Arduino\u5f00\u53d1\u677f\u7684\u5f15\u811a\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>int red_led_pin = 9;<br><\/li><li>int green_led_pin = 8;<br><\/li><li>int buzzer_pin = 10;<br><\/li><li>int smoke_sensor_pin = A0;<\/li><\/ol>\n\n\n\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n\n\n\n<p>\u5728<strong><em>setup()<\/em><\/strong>\u51fd\u6570\u4e2d\uff0c\u9996\u5148\uff0c\u6211\u4eec\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u548cwifi\u6a21\u5757\u7684\u6ce2\u7279\u7387\u4e3a9600\u3002\u7136\u540e\u5c06LED\u5f15\u811a\u548c\u8702\u9e23\u5668\u5f15\u811a\u8bbe\u7f6e\u4e3a\u8f93\u51fa\u5f15\u811a\uff0c\u56e0\u4e3a\u6211\u4eec\u5c06\u8fd9\u4e9b\u5f15\u811a\u7684\u8f93\u51fa\u63d0\u4f9b\u7ed9LED\u548c\u8702\u9e23\u5668\u3002 \u6700\u540e\uff0c\u6211\u4eec\u5c06\u70df\u96fe\u4f20\u611f\u5668\u5f15\u811a\u5b9a\u4e49\u4e3a\u8f93\u5165\uff0c\u56e0\u4e3a\u70df\u96fe\u4f20\u611f\u5668\u5f15\u811a\u5c06\u4ece\u4f20\u611f\u5668\u63a5\u6536\u8f93\u5165\u5e76\u5c06\u5176\u4f20\u9001\u7ed9Arduino\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Serial.begin(9600);<br><\/li><li>&nbsp;&nbsp;wifi_module.begin(9600); \/\/ Set the baudrate according to your esp8266<br><\/li><li>&nbsp;&nbsp;pinMode(red_led_pin, OUTPUT);<br><\/li><li>&nbsp;&nbsp;pinMode(green_led_pin, OUTPUT);<br><\/li><li>&nbsp;&nbsp;pinMode(buzzer_pin, OUTPUT);<br><\/li><li>&nbsp;&nbsp;pinMode(smoke_sensor_pin, INPUT);<\/li><\/ol>\n\n\n\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u4ee3\u7801\u5c06\u8c03\u7528\u51fd\u6570\uff0c\u5e76\u5c06\u5728ESP\u63d0\u4f9b\u7684IP\u5730\u5740\u5904\u8bbe\u7f6e\u670d\u52a1\u5668\u3002 \u7136\u540eESP\u5c06\u5728\u6b64IP\u5730\u5740\u53d1\u9001\u6570\u636e\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>esp8266_command(\"AT+RST\\r\\n\",2000,DEBUG); \/\/ reset module<br><\/li><li>&nbsp;&nbsp;esp8266_command(\"AT+CWMODE=2\\r\\n\",1000,DEBUG); \/\/ configure as access point<br><\/li><li>&nbsp;&nbsp;esp8266_command(\"AT+CIFSR\\r\\n\",1000,DEBUG); \/\/ get ip address<br><\/li><li>&nbsp;&nbsp;esp8266_command(\"AT+CIPMUX=1\\r\\n\",1000,DEBUG); \/\/ configure for multiple connections<br><\/li><li>&nbsp;&nbsp;esp8266_command(\"AT+CIPSERVER=1,80\\r\\n\",1000,DEBUG); \/\/ turn on server on port 80<\/li><\/ol>\n\n\n\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n\n\n\n<p>\u5728<strong><em>loop()<\/em><\/strong>\u51fd\u6570\u4e2d\uff0c\u6211\u4eec\u4ece\u70df\u96fe\u4f20\u611f\u5668\u8bfb\u53d6\u503c\uff0c\u7136\u540e\u5e94\u7528\u4e00\u4e2a\u6761\u4ef6\uff0c\u5982\u679c\u8f93\u51fa\u503c\u5927\u4e8e400\uff0c\u5219\u7ea2\u8272LED\u5c06\u4eae\u8d77\uff0c\u8702\u9e23\u5668\u5c06\u5f00\u59cb\u53d1\u51fa\u8702\u9e23\u58f0\u3002 \u5982\u679c\u8f93\u51fa\u503c\u5c0f\u4e8e400\uff0c\u5219\u7eff\u8272LED\u6307\u793a\u706f\u5c06\u4eae\u8d77\uff0c\u8702\u9e23\u5668\u5c06\u4fdd\u6301\u9759\u97f3\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>int analogSensor = analogRead(smoke_sensor_pin);<br><\/li><li>&nbsp;&nbsp;if (analogSensor &gt; 400)<br><\/li><li>&nbsp;&nbsp;{<br><\/li><li>&nbsp; &nbsp; digitalWrite(red_led_pin, HIGH);<br><\/li><li>&nbsp; &nbsp; digitalWrite(green_led_pin, LOW);<br><\/li><li>&nbsp; &nbsp; tone(buzzer_pin, 1000, 200);<br><\/li><li>&nbsp;&nbsp;}<\/li><\/ol>\n\n\n\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u4ee3\u7801\u5c06\u5728\u7f51\u9875\u4e0a\u6253\u5370\u8f93\u51fa\u6570\u636e\u3002 \u9996\u5148\uff0c\u6211\u4eec\u5c06\u5728\u7f51\u9875\u9876\u90e8\u6253\u5370\u201c<strong><em>IoT Smoke detection system<\/em><\/strong>\u201d\u3002 \u7136\u540e\u5728\u7b2c\u4e8c\u884c\uff0c\u6211\u4eec\u5c06\u6253\u5370\u8f93\u51fa\u70df\u96fe\u503c\uff0c\u5728\u7b2c\u4e09\u884c\uff0c\u6211\u4eec\u5c06\u6839\u636e\u6761\u4ef6\u6253\u5370\u201c<strong><em>Everything Normal<\/em><\/strong>\u201d\u6216\u201c<strong><em>DANGER! Move Somewhere Else<\/em><\/strong>\u201c\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>String webpage = \"&lt;h1&gt;IOT Smoke Detection System&lt;\/h1&gt;\";<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;webpage +=\"&lt;p&gt;Smoke Value is \";<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;webpage += analogSensor;<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;webpage +=\"&lt;\/p&gt;\";<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;if (analogSensor &gt; 400)<br><\/li><li>&nbsp;&nbsp;{<br><\/li><li>&nbsp; &nbsp; webpage +=\"&lt;h5&gt;DANGER! Move Somewhere Else&lt;\/h5&gt;\";<br><\/li><li>&nbsp;&nbsp;}<br><\/li><li>&nbsp;&nbsp;else<br><\/li><li>&nbsp;&nbsp;{<br><\/li><li>&nbsp; &nbsp; webpage +=\"&lt;h4&gt;Everything Normal&lt;\/h4&gt;\";<br><\/li><li>&nbsp;&nbsp;}<\/li><\/ol>\n\n\n\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n\n\n\n<p>\u4e0b\u9762\u7684\u4ee3\u7801\u5c06\u547d\u4ee4\u53d1\u9001\u5230ESP\uff0c\u5e76\u5c06\u5728\u4e32\u53e3\u76d1\u89c6\u5668\u4e0a\u6253\u5370ESP\u7684\u8f93\u51fa\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>String esp8266_command(String command, const int timeout, boolean debug)<br><\/li><li>{<br><\/li><li>&nbsp; &nbsp; String response = \"\";<br><\/li><li>&nbsp; &nbsp; wifi_module.print(command);<br><\/li><li>&nbsp; &nbsp; long int time = millis();<br><\/li><li>&nbsp; &nbsp; while( (time+timeout) &gt; millis())<br><\/li><li>&nbsp; &nbsp; {<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;while(wifi_module.available())<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;{<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;char c = wifi_module.read();<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;response+=c;<br><\/li><li>&nbsp; &nbsp;&nbsp; &nbsp;}&nbsp;&nbsp;<br><\/li><li>&nbsp; &nbsp; }<\/li><\/ol>\n\n\n\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n\n\n\n<p>\u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u5e0c\u671b\u60a8\u80fd\u8ba9\u5b83\u8fd0\u8f6c\u8d77\u6765\uff01 \u5982\u679c\u6709\u4efb\u4f55\u7591\u95ee\uff0c\u6b22\u8fce\u5728\u672c\u5e16\u4e0b\u9762\u8fdb\u884c\u56de\u590d\u3002<\/p>\n\n\n\n<p><strong>\u4ee3\u7801<\/strong><\/p>\n\n\n\n<p>\u672c\u7bc7\u6587\u7ae0\u7684\u5b8c\u6574\u4ee3\u7801\u5982\u4e0b\u6240\u793a\uff1a <img decoding=\"async\" src=\"https:\/\/www.yiboard.com\/static\/image\/filetype\/rar.gif\" alt=\"\"> <a href=\"https:\/\/www.yiboard.com\/forum.php?mod=attachment&amp;aid=NDMxMXxhMmI2ZjMyMXwxNTk3MzMwNzAxfDB8MTA3Mg%3D%3D\" target=\"_blank\" rel=\"noreferrer noopener\" rel=\"nofollow\" >main.rar<\/a> <em>(1.04 KB, \u4e0b\u8f7d\u6b21\u6570: 133)<\/em><\/p>\n\n\n\n<p>\u539f\u6587\uff1a<a href=\"https:\/\/www.yiboard.com\/thread-1072-1-1.html\" target=\"_blank\" rel=\"noreferrer noopener\" rel=\"nofollow\" >https:\/\/www.yiboard.com\/thread-1072-1-1.html<\/a><\/p>\n<button class=\"simplefavorite-button\" data-postid=\"726\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u5236\u4f5c\u4e00\u4e2a\u7269\u8054\u7f51\u70df\u96fe\u63a2\u6d4b\u7cfb\u7edf\uff0c\u5176\u4e2dMQ-2\u70df\u96fe\u4f20\u611f\u5668\u611f\u77e5\u9644\u8fd1\u662f\u5426\u6709\u70df\u96fe\u3002\u5982\u679c\u9644\u8fd1\u6709\u70df\u96fe\uff0c\u5219\u8702\u9e23\u5668\u5c06\u5f00\u59cb\u53d1\u51fa\u8702\u9e23\u58f0 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,9],"tags":[],"class_list":["post-726","post","type-post","status-publish","format-standard","hentry","category-arduino","category-9"],"_links":{"self":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts\/726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=726"}],"version-history":[{"count":0,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts\/726\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}