{"id":252641,"date":"2015-03-08T20:27:01","date_gmt":"2015-03-08T16:27:01","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=252641"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=252641","title":{"rendered":"Wi-Fi \u0442\u0435\u0440\u043c\u043e\u043c\u0435\u0442\u0440 \u043d\u0430 ESP8266 + DS18B20 \u0432\u0441\u0435\u0433\u043e \u0437\u0430 4$"},"content":{"rendered":"<p> \t\t\t<img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/190\/f0b\/2fd\/190f0b2fd36246699615dd1e83cdb65c.jpg\"\/><\/p>\n<p>  \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0431\u0438\u0440\u0430\u044e\u0442 Wi-Fi \u043c\u043e\u0434\u0443\u043b\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 ESP8266. \u042f \u0442\u043e\u0436\u0435 \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u0438\u043e\u0431\u0449\u0438\u0442\u044c\u0441\u044f \u043a \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e\u043c\u0443, \u0437\u0430\u0434\u0443\u043c\u0430\u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u043e\u043c\u0435\u0442\u0440, \u043e\u0442\u0434\u0430\u044e\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e HTTP. \u0418\u0442\u0430\u043a, \u043f\u043e\u0435\u0445\u0430\u043b\u0438.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>Hardware<\/h4>\n<p>  <i><b>ESP8266<\/b><\/i><br \/>  \u0414\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u043e\u0439\u0434\u0435\u0442 \u043b\u044e\u0431\u043e\u0439 \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u043e\u0442 ESP-01 \u0434\u043e ESP-11, \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0438 ESP-03 (\u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c ~ $3):<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/577\/e94\/6b9\/577e946b90884d34896311bc1245dc42.jpg\"\/><\/p>\n<p>  \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u0440\u0438\u0433\u043b\u044f\u043d\u0443\u043b\u0438\u0441\u044c: <br \/>  ESP-01 \u2014 \u0443\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (\u0435\u0441\u0442\u044c \u0440\u0430\u0437\u044a\u0435\u043c \u043f\u043e\u0434 \u043c\u0430\u043a\u0435\u0442\u043a\u0443), \u043d\u043e \u0432\u044b\u0432\u0435\u0434\u0435\u043d \u0432\u0441\u0435\u0433\u043e 1 GPIO;<br \/>  ESP-03 \u2014 \u043c\u043d\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u043e\u0432, \u043f\u043b\u044e\u0441 \u043a\u0435\u0440\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0430\u043d\u0442\u0435\u043d\u043d\u0430;<br \/>  ESP-07 \u2014 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0442\u043e \u0438 ESP-03 + \u044d\u043a\u0440\u0430\u043d \u0438 \u0440\u0430\u0437\u044a\u0435\u043c \u043f\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u044e\u044e \u0430\u043d\u0442\u0435\u043d\u043d\u0443.<\/p>\n<p>  <b><i>DS18B20<\/i><\/b><br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/9a4\/d26\/e34\/9a4d26e3450143d8b6052a5c1cf42ec2.jpg\"\/><\/p>\n<p>  \u041a\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043c\u043e\u0436\u043d\u043e \u043a\u0443\u043f\u0438\u0442\u044c \u0443\u0436\u0435 \u0441 \u043f\u0440\u043e\u0432\u043e\u0434\u043e\u043c \u0438 \u0432 \u0433\u0435\u0440\u043c\u0435\u0442\u0438\u0447\u043d\u043e\u043c \u043a\u043e\u0440\u043f\u0443\u0441\u0435.<\/p>\n<p>  <b><i>\u041f\u0438\u0442\u0430\u043d\u0438\u0435 3.3\u0412<\/i><\/b><br \/>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043d\u0430 200\u043c\u0410.<\/p>\n<p>  <b><i>USB-UART<\/i><\/b><br \/>  \u0414\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 CP2102<\/p>\n<h4>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043d\u0430 ESP8266. \u041d\u0430 \u043d\u043e\u0433\u0443 CH_PD \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0434\u0430\u0435\u043c \u043f\u043b\u044e\u0441. <br \/>  \u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u0423 \u043a\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u0438 \u043d\u0435 ESP-01, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0434\u0430\u0442\u044c GPIO15 \u2014 GND; GPIO2 -3.3V. \u0423 ESP-01 \u044d\u0442\u043e <a href=\"http:\/\/www.esp8266.com\/viewtopic.php?f=6&amp;t=1094\">\u0443\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u043e<\/a>. RX \u0438 TX \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a USB-UART \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0434\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043a\u043e\u0434\u0430:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/c80\/04a\/81a\/c8004a81a255454996c90cbd8790260a.jpg\"\/><\/p>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c DS18B20 \u043a ESP8266. \u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u043a\u0443: \u043b\u0435\u0432\u0430\u044f \u2014 \u0437\u0435\u043c\u043b\u044f, \u0441\u0440\u0435\u0434\u043d\u044f\u044f \u2014 \u0441\u0438\u0433\u043d\u0430\u043b (GPIO12 \u043d\u0430 ESP-03), \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 ESP-01, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435 \u043a GPIO0, \u043f\u0440\u0430\u0432\u0430\u044f \u2014 \u043f\u0438\u0442\u0430\u043d\u0438\u0435(3.3V). \u041c\u0435\u0436\u0434\u0443 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u0438 \u0441\u0438\u0433\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u043b\u0438\u043d\u0438\u0435\u0439 \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 4.7 \u043a\u041e\u043c (\u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0441 10 \u043a\u041e\u043c):<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/a5d\/a1d\/0a9\/a5da1d0a9ba74e19a302e24a5baee704.png\"\/><\/p>\n<h4>thingspeak.com<\/h4>\n<p>  \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043d\u0430 thingspeak.com, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u0430\u043d\u0430\u043b, \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043e\u0442\u0442\u0443\u0434\u0430 16-\u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447. \u041e\u043d \u043d\u0430\u043c \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0435 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e.<\/p>\n<h4>\u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 NodeMCU<\/h4>\n<p>  <a href=\"https:\/\/github.com\/nodemcu\/nodemcu-firmware\">NodeMCU<\/a> \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c Lua \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043d\u0430 ESP8266. \u041a\u0430\u0447\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 <a href=\"https:\/\/github.com\/nodemcu\/nodemcu-flasher\">NodeMCU Flasher<\/a> \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0435\u0433\u043e.<br \/>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c GPIO0 \u043d\u0430 \u0437\u0435\u043c\u043b\u044e. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0439 COM \u043f\u043e\u0440\u0442 \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 74880 \u0438\u043b\u0438 115200 (\u043a\u0430\u043a \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 ESP8266 \u0431\u0443\u0442\u043b\u043e\u0430\u0434\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 74880). \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c Flash \u0438 \u043f\u0435\u0440\u0435\u0434\u0435\u0440\u0433\u0438\u0432\u0430\u0435\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043d\u0430 ESP8266. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f RX,TX, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 PuTTY \u043d\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 74880. \u0412 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u0434\u0430\u0447\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u0430\u043b\u0438\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u0440\u043e\u0434\u0435 &quot;<i>ets Jan 8 2013,rst cause:1, boot mode:(1,0)<\/i>&quot;. \u041f\u043e\u0441\u043b\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c GPIO0 \u043e\u0442 \u0437\u0435\u043c\u043b\u0438:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/71a\/36b\/b44\/71a36bb448114e4ebd86a340765b9fc0.png\"\/><\/p>\n<h4>\u0417\u0430\u043b\u0438\u0432\u043a\u0430 Lua \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a<\/h4>\n<p>  \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <a href=\"http:\/\/benlo.com\/esp8266\/index.html#LuaLoader\">LuaLoader<\/a>. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c COM-\u043f\u043e\u0440\u0442 \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 9600, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u2014 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u0443 \u043c\u043e\u0434\u0443\u043b\u044f ESP8266. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u043d\u0430\u0436\u0430\u0432 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 <b>ChipID<\/b>. \u0412 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0432\u0435\u0441\u0442\u0438\u0441\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0447\u0438\u043f\u0430.<\/p>\n<pre><code class=\"lua\">= node.chipid() 10371968 <\/code><\/pre>\n<p>  \u0417\u0430\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b (\u043a\u043d\u043e\u043f\u043a\u0430 UploadFile):<\/p>\n<p>  1. <a href=\"https:\/\/github.com\/nodemcu\/nodemcu-firmware\/blob\/master\/lua_modules\/ds18b20\/ds18b20.lua\">ds18b20.lua <\/a> \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 DS18B20;<br \/>  2. httpsender.lua \u2014 \u043d\u0430\u0448 \u0441\u043a\u0440\u0438\u043f\u0442, \u0447\u0438\u0442\u0430\u044e\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0438\u0445 \u043d\u0430 thingspeak.com. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c <b>YOURAPIKEY<\/b> \u043d\u0430 \u0441\u0432\u043e\u0439 \u043a\u043b\u044e\u0447. <br \/>  gpio=6 \u2014 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u043a GPIO12, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 GPIO0 \u2014 gpio=3 (<a href=\"https:\/\/github.com\/nodemcu\/nodemcu-firmware\/blob\/master\/README.md\">\u0442\u0430\u0431\u043b\u0438\u0446\u0430<\/a>):<\/p>\n<pre><code class=\"lua\">gpio = 6 require('ds18b20') ds18b20.setup(gpio)  function sendData() t=ds18b20.read() print(&quot;Temp:&quot;..t..&quot; C\\n&quot;) -- conection to thingspeak.com print(&quot;Sending data to thingspeak.com&quot;) conn=net.createConnection(net.TCP, 0)  conn:on(&quot;receive&quot;, function(conn, payload) print(payload) end) -- api.thingspeak.com 184.106.153.149 conn:connect(80,'184.106.153.149')  conn:send(&quot;GET \/update?key=YOURAPIKEY&field1=&quot;..t..&quot; HTTP\/1.1\\r\\n&quot;)  conn:send(&quot;Host: api.thingspeak.com\\r\\n&quot;)  conn:send(&quot;Accept: *\/*\\r\\n&quot;)  conn:send(&quot;User-Agent: Mozilla\/4.0 (compatible; esp8266 Lua; Windows NT 5.1)\\r\\n&quot;) conn:send(&quot;\\r\\n&quot;) conn:on(&quot;sent&quot;,function(conn)                       print(&quot;Closing connection&quot;)                       conn:close()                   end) conn:on(&quot;disconnection&quot;, function(conn)                                 print(&quot;Got disconnection...&quot;)   end) end  -- send data every 60000 ms to thing speak tmr.alarm(0, 60000, 1, function() sendData() end ) <\/code><\/pre>\n<p>  3. init.lua \u2014 \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0449\u0438\u0439 WiFi \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0449\u0438\u0439 httpsender.lua. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0438 SSID \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f WiFi:<\/p>\n<pre><code class=\"lua\">print(&quot;Setting up WIFI...&quot;) wifi.setmode(wifi.STATION) --modify according your wireless router settings wifi.sta.config(&quot;SSID&quot;,&quot;SSIDPASSWD&quot;) wifi.sta.connect() tmr.alarm(1, 1000, 1, function()  if wifi.sta.getip()== nil then  print(&quot;IP unavaiable, Waiting...&quot;)  else  tmr.stop(1) print(&quot;Config done, IP is &quot;..wifi.sta.getip()) dofile(&quot;httpsender.lua&quot;) end  <\/code><\/pre>\n<p>  \u0418\u0442\u043e\u0433:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/94a\/bc2\/cfc\/94abc2cfc1e9463ca42b6a0dd78b93bd.png\"\/><\/p>\n<h4>\u041f\u043b\u0430\u043d\u044b<\/h4>\n<p>  \u042d\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043f\u044b\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 ESP8266. \u0412 \u043f\u043b\u0430\u043d\u0430\u0445 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<p>  1. \u041d\u0430\u0439\u0442\u0438 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0443 thingspeak. \u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0434\u0432\u0438\u0433\u0430\u0442\u044c \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u041c\u043e\u0436\u0435\u0442, \u043a\u0442\u043e-\u0442\u043e \u0437\u043d\u0430\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438?<br \/>  2. \u0414\u0430\u0442\u0447\u0438\u043a \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, DHT22). \u0412\u0440\u043e\u0434\u0435 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0445.<br \/>  3. \u0414\u0430\u0442\u0447\u0438\u043a CO2 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 K-30.<br \/>  4. \u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0439 \u0440\u0430\u0441\u0441\u0432\u0435\u0442 \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441 ESP8266. \u0412\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f <a href=\"http:\/\/habrahabr.ru\/post\/249535\/\">\u00ab\u0418\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u0441\u0441\u0432\u0435\u0442\u00bb<\/a>.<\/p>\n<h4>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b<\/h4>\n<p>  \u0417\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u0432\u0437\u044f\u0442 \u0442\u0435\u043a\u0441\u0442 <a href=\"http:\/\/www.instructables.com\/id\/Low-cost-WIFI-temperature-data-logger-based-on-ESP\/?ALLSTEPS\">\u00abLow cost WIFI temperature (DS18B20) data logger based on ESP8266 with connectivity to thingspeak.com\u00bb<\/a>. \u041a\u043e\u0434 \u0434\u043b\u044f DS18B20 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <a href=\"http:\/\/vaasa.hacklab.fi\/2015\/01\/12\/esp8266-ds18b20-thingspeak-nodemcu\/\">ds18b20.lua<\/a>. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/252481\/\"> http:\/\/habrahabr.ru\/post\/252481\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> \t\t\t<img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/190\/f0b\/2fd\/190f0b2fd36246699615dd1e83cdb65c.jpg\"\/><\/p>\n<p>  \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0431\u0438\u0440\u0430\u044e\u0442 Wi-Fi \u043c\u043e\u0434\u0443\u043b\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 ESP8266. \u042f \u0442\u043e\u0436\u0435 \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u0438\u043e\u0431\u0449\u0438\u0442\u044c\u0441\u044f \u043a \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e\u043c\u0443, \u0437\u0430\u0434\u0443\u043c\u0430\u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u043e\u043c\u0435\u0442\u0440, \u043e\u0442\u0434\u0430\u044e\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e HTTP. \u0418\u0442\u0430\u043a, \u043f\u043e\u0435\u0445\u0430\u043b\u0438.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-252641","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/252641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=252641"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/252641\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=252641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=252641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=252641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}