{"id":155869,"date":"2012-10-24T14:10:04","date_gmt":"2012-10-24T10:10:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=155869"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=155869","title":{"rendered":"<span class=\"post_title\">\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0442\u0435\u0440\u043c\u043e\u043c\u0435\u0442\u0440 \u0438\u043b\u0438 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u044f \u0437\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041f\u043e\u0441\u0442\u0440\u043e\u0438\u043b \u044f \u00ab\u0437\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u044b\u0439\u00bb \u0434\u043e\u043c\u0438\u043a, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u043d\u0435\u043c \u043d\u0435 \u0436\u0438\u0432\u0443, \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b. \u041d\u0430 \u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0436\u0438\u0432\u0435\u0442 \u0442\u0435\u0449\u0430. \u0412\u043e\u0434\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043e\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u0430\u0431\u0440\u0430\u043d\u0430. \u041e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u0443\u0442\u0435\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u0438 +8 \u0432 \u0434\u043e\u043c\u0435, \u0442\u0440\u0443\u0431\u044b \u043d\u0430 \u0441\u0442\u0435\u043d\u0430\u0445 \u0437\u0430 \u0433\u0438\u043f\u0441\u043e\u043a\u0430\u0440\u0442\u043e\u043d\u043e\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u043f\u0440\u043e\u043c\u0435\u0440\u0437\u0430\u0442\u044c, \u0430 \u043f\u0440\u0438 +18 \u0442\u0435\u0449\u0430 \u0431\u043e\u043b\u0435\u0442\u044c. \u0412\u043e\u0442 \u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0438\u0434\u0435\u044f \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0438\u0441\u043a\u043e\u0432 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430\u0445, \u0431\u044b\u043b\u043e \u0437\u0430\u043a\u0443\u043f\u043b\u0435\u043d\u043e 2 \u0434\u0435\u0432\u0430\u0439\u0441\u0430: \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 <a href=\"http:\/\/www.masterkit.ru\/main\/set.php?code_id=565375\">\u0412\u041c1707<\/a> \u0438 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439 <a href=\"http:\/\/www.thermohid.co.uk\/#SEC10\">termoHID<\/a>. \u0421\u043e\u0444\u0442 \u043a \u043e\u0431\u043e\u0438\u043c \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u043b\u0441\u044f. \u041a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u0435 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u043b\u044f\u043f\u0438\u0441\u0442\u043e, \u043d\u043e \u043f\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0430\u043d\u0430\u043b\u0443 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u0438\u043b\u043e \u043d\u0430\u0448\u0435, \u043d\u043e \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0434\u0435\u0432\u0430\u0439\u0441\u0443 \u043c\u043e\u0436\u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0434\u043e 10 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 DS18B20. \u042d\u0442\u043e\u0442 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0431\u044b\u043b \u0440\u0435\u0448\u0430\u044e\u0449\u0438\u043c.<\/p>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 4 \u0434\u0430\u0442\u0447\u0438\u043a\u0430, \u0443\u043b\u0438\u0446\u0430, 1-\u0439 \u044d\u0442\u0430\u0436, 2-\u0439 \u044d\u0442\u0430\u0436 \u0438 \u0447\u0435\u0440\u0434\u0430\u043a. \u041d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043e \u0433\u043e\u0434 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u0424\u0440\u043e\u043d\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/303\/a31\/456\/303a31456e6bf52a56710b3c78f0a670.jpg\"\/><br \/>  \u0421\u0430\u0439\u0442 <a href=\"http:\/\/tarasii.dyndns.org\/\">\u0442\u0443\u0442<\/a>.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041f\u041e BM1707 \u0443\u043c\u0435\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b. \u0422\u0430\u043a \u0447\u0442\u043e \u0434\u043e\u043b\u0433\u043e \u043d\u0435 \u0434\u0443\u043c\u0430\u044f \u043d\u0430 ASP \u0431\u044b\u043b \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u043d \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u0427\u0438\u0442\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u043b\u0435\u0433\u043a\u043e, \u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0442\u0440\u0443\u0434\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u043e\u0433\u0434\u0430 \u0436\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a\u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u043d\u0435 \u0432 \u043d\u043e\u0440\u043c\u0435. \u0412\u043e\u0442 \u0442\u0443\u0442 \u0442\u043e \u043f\u0440\u0438\u0448\u043b\u0438 \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043a\u043e\u043b\u043b\u0435\u0433\u0438 (\u0441\u043f\u0441 KOJISI), \u0438 \u043f\u043e\u0434\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438 \u043d\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0443\u044e \u0434\u043e\u0440\u043e\u0433\u0443. \u0412 \u043f\u043e\u043b\u0435 \u0437\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u043f\u0430\u043b javascript <a href=\"http:\/\/www.highcharts.com\/products\/highstock\">Highstock<\/a>. \u041a\u0430\u043a \u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0441\u044f \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u0445 <a href=\"http:\/\/habrahabr.ru\/post\/132941\/\">Highstock: \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043c \u041f\u0440\u0435\u043c\u0438\u044e \u0420\u0443\u043d\u0435\u0442\u0430<\/a> \u0438 <a href=\"http:\/\/habrahabr.ru\/post\/135039\/\">\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 highstock<\/a>.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0434\u0435\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043d\u0430 ASP \u0431\u044b\u043b\u0438 \u0441\u043e\u0432\u043c\u0435\u0449\u0435\u043d\u044b \u0441 JS. \u041f\u043e \u0441\u0443\u0442\u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0442\u0430\u043a\u0438\u0435 \u0436\u0435 \u043a\u0430\u043a \u0438 \u0441\u0435\u0439\u0447\u0430\u0441, \u043d\u043e \u0441\u0442\u0440\u043e\u0438\u043b\u0438\u0441\u044c \u043f\u043e \u0444\u0430\u0439\u043b\u0430\u043c. \u0427\u0435\u0440\u0435\u0437 \u0434\u0432\u0430 \u043c\u0435\u0441\u044f\u0446\u0430 \u0440\u043e\u0431\u043e\u0442\u044b \u043e\u0442 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f. \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u0438\u043b\u0430\u0441\u044c \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0434\u043e\u043b\u0433\u043e. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u043c\u043e\u043b\u043d\u0438\u0435\u043d\u043e\u0441\u043d\u043e \u2014 \u0447\u0438\u0442\u0430\u0435\u043c \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0438\u0437 MySQL. \u041f\u041e BM1707 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c bat \u0444\u0430\u0439\u043b\u044b. \u0411\u044b\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u043d VBScript \u043a\u043e\u0442\u043e\u0440\u0439 \u0441\u043a\u043b\u0430\u0434\u0438\u0440\u0443\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439 \u0432 MySQL. \u0412 \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u0435\u0441\u0442\u044c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0439 \u0434\u0430\u0442\u044b \u0432 \u0434\u0430\u0442\u0443 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445 \u0441 1970, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0441 \u0442\u0430\u043a\u0438\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c.  <\/p>\n<pre><code class=\"vbscript\">Const ForReading = 1 Const TristateUseDefault = -2  Dim FSO Set FSO = CreateObject(&quot;Scripting.FileSystemObject&quot;) Dim FilePath FilePath = &quot;C:\\BM1707\\bm1707.temp&quot;   set cn = CreateObject(&quot;ADODB.Connection&quot;) cn.connectionstring = &quot;Driver={MySQL ODBC 5.1 Driver};Server=localhost;DataBase=test; &quot; &_ &quot;USER=usr;PASSWORD=psw;&quot;  cn.open If FSO.FileExists(FilePath) Then \tDim file \tSet file = FSO.GetFile(FilePath)  \tDim TextFileStream \tSet TextFileStream = file.OpenAsTextStream(ForReading,TristateUseDefault)  \tDo While Not TextFileStream.AtEndOfStream \t\tDim line \t\tline = TextFileStream.ReadLine  \t\tcurday = Mid(Line,2,2)                 curmnth = Mid(Line,5,2)                 curyear = Mid(Line,8,4) \t\tcurData = Mid(Line,2,10)   \t\tcurhour = Mid(Line,13,2)   \t\tcurmin = Mid(Line,16,2)   \t\tcursec = Mid(Line,19,2)   \t\tcurdt = curyear & curmnth & curday & curhour & curmin & cursec \t\tcurhour = Cint(curhour)   \t\tcurmin = Cint(curmin)   \t\tcursec = Cint(cursec)   \t\taspdate = CDate(curData) \t\tjavadt = ((((aspdate - 25569) * 24 + curhour) * 60 + curmin) * 60 + cursec) * 1000       \t\tsqlStr = &quot;SELECT Count( * ) FROM temperatures WHERE javadatetime = &quot; & javadt \t\tres = cn.execute(sqlStr)  \t\tif res(0)=&quot;0&quot; then  \t\tline = trim(Mid(Line,24))  \t\tcnt = 1 \t\tlst = Split(line) \t\tfor each str in lst \t\t\tnm = &quot;&quot; \t\t\tval = &quot;&quot; \t\t\tvals = Split(str,&quot;=&quot;) \t\t\tfor each z in vals \t\t\t\tif nm = &quot;&quot; then \t\t\t\t\tnm = z \t\t\t\telse \t\t\t\t\tval = Replace(z,&quot;,&quot;,&quot;.&quot;) \t\t\t\tend if \t\t\tnext\t\t\t \t\t\tif (nm &lt;&gt; &quot;&quot;) and (val &lt;&gt; &quot;&quot;) then \t\t\t\tcmdStr = &quot;INSERT INTO temperatures&quot; &_  \t\t\t\t\t&quot;(measurementdatetime, thermometerid, value, javadatetime, thermometername)&quot; &_  \t\t\t\t\t&quot;VALUES ('&quot; & curdt & &quot;','&quot; & cnt & &quot;','&quot; & val & &quot;','&quot; & javadt & &quot;','&quot; & nm & &quot;')&quot;\t\t\t\t \t\t\t\tcn.execute cmdStr  \t\t\tEnd If \t\t\tcnt = cnt + 1 \t\tnext \t\tEnd if \tLoop \tTextFileStream.Close \tSet TextFileStream = Nothing End If  cn.close <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u043d\u0430 PHP \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 JSON \u0434\u043b\u044f Highstock.  <\/p>\n<pre><code class=\"php\">$rcn = mysql_connect(&quot;localhost&quot;,&quot;usr&quot;,&quot;psw&quot;);  mysql_select_db(&quot;test&quot;);  $termid = &quot; and `thermometerid` = 2&quot;; $last = &quot;order by `measurementdatetime`&quot;; $from = &quot;&quot;; $to = &quot;&quot;; $funk = &quot;MIN&quot;; if (isset($_GET['termid'])) $termid=&quot; and `thermometerid` = &quot;.$_GET['termid']; if (isset($_GET['last'])) $last=&quot;order by `measurementdatetime` desc, 'termid'  limit &quot;.$_GET['last']; if (isset($_GET['from'])) $from=&quot; and `measurementdatetime` &gt;= &quot;.$_GET['from']; if (isset($_GET['to'])) $to=&quot; and `measurementdatetime` &lt;= &quot;.$_GET['to']; if (isset($_GET['funk'])) $funk=&quot;&quot;.$_GET['funk'];  $sqlstr = &quot;SELECT MIN(`javadatetime`) as javadatetime, ROUND(&quot;.$funk.&quot;(`value`),1) as value  FROM `temperatures`  WHERE 1 &quot;.$termid.&quot; &quot;.$from.&quot; &quot;.$to.&quot; group by TO_DAYS(`measurementdatetime`)   &quot;.$last;  $res = mysql_query($sqlstr);   $number = mysql_num_rows($res); printf(&quot;[&quot;);  $first = false;  if ($number &gt; 0)  {   while ($row=mysql_fetch_array($res)) {     if ($first) printf(&quot;,&quot;);     printf(&quot;[&quot;);     printf($row['javadatetime']);     printf(&quot;, &quot;);     printf($row['value']);     printf(&quot;]&quot;);     $first = true;   } }  printf(&quot;]&quot;);  mysql_close(); <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0430:  <\/p>\n<pre><code class=\"javascript\">\tvar cnt = 0, seriesOptions = [],  names = ['MAX','AVG', 'MIN'];  \tcreateAll();  \tfunction createAll() { \t\tcnt = 0; \t\t$.each(names, function(i, name) { \t\t\t$.getJSON('http:\/\/tarasii.dyndns.org\/minmax.php?termid=2&funk='+name, function(data) { \t\t\t\tseriesOptions[i] = {name: name, data: data, tooltip: { yDecimals: 1}}; \t\t\t\tcnt++; \t\t\t\tif (cnt == names.length) { \t\t\t\t\tcreateChart(); \t\t\t\t} \t\t\t}); \t\t}); \t}  \tfunction createChart() { \t\twindow.chart = new Highcharts.StockChart({ \t\t\tchart : { renderTo : 'container'}, title : { text : 'Day Temperature Statistics'}, \t\t\txAxis : { maxZoom : 1 * 24 * 3600000 \/\/ fourteen days}, \t\t\tseries : seriesOptions \t\t}); \t} <\/code><\/pre>\n<p>  \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u043a\u043e\u043b\u0435\u0433\u0438 \u043d\u0430\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438 \u043c\u0435\u043d\u044f \u043d\u0430 jQuery gauge widget (\u0441\u043f\u0441 ASM). \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0435 \u0442\u0435\u0440\u043c\u043e\u043c\u0435\u0442\u0440\u044b \u0438 \u0447\u0430\u0441\u044b  <\/p>\n<pre><code class=\"javascript\">\tfunction createGauge(inGauge) {     \t\tinGauge.jqxLinearGauge({                 \torientation: 'vertical', width: 80, height: 150,                \t\tticksMajor: { size: '10%', interval: 10 },                 \tticksMinor: { size: '5%', interval: 2.5, style: { 'stroke-width': 1, stroke: '#aaaaaa'} },                 \tmax: 40, min: -40,                 \tpointer: { size: '5%' }, colorScheme: 'scheme05',                 \tlabels: {position: 'far', interval: 20, formatValue: function (value, position) {                 \t\tif (value === -40) {                         \t\treturn '\u00b0C';                     \t\t}                     \t\treturn value + '\u00b0';                 \t\t}                 \t},                 \tanimationDuration: 100         \t}); \t}; <\/code><\/pre>\n<h5>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0431 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0438. <\/h5>\n<p>  \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 BM1707 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d \u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u0430\u043c\u0438 DS18B20 \u0432\u0438\u0442\u043e\u0439 \u043f\u0430\u0440\u043e\u0439, \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0430\u0442\u0447\u0438\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0443. \u0414\u043b\u0438\u043d\u043d\u0430 \u0448\u0438\u043d\u044b \u043e\u043a\u043e\u043b\u043e 10 \u043c\u0435\u0442\u0440\u043e\u0432.<\/p>\n<p>  \u041f\u043e \u043d\u0430\u0447\u0430\u043b\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0431\u044b\u043b \u043d\u0435\u0442\u0431\u0443\u043a EeePC900H \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c WIN XP. \u0421\u043f\u0443\u0441\u0442\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b \u043d\u0430 miniITX VIA C7-D 1800MHz \u0432 \u0441\u0442\u0430\u0440\u043e\u043c AT \u043a\u043e\u0440\u043f\u0443\u0441\u0435. <br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/eb8\/cf0\/33c\/eb8cf033cba4dc3f1c683981851712bf.jpg\"\/><\/p>\n<p>  \u041f\u043e \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u00ab\u0441\u0435\u0440\u0432\u0435\u0440\u00bb \u043c\u043e\u0436\u043d\u043e \u0443\u043b\u043e\u0436\u0438\u0442\u0441\u044f \u0432 100$<\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442 <a href=\"http:\/\/habrahabr.ru\/post\/145184\/\">\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439 \u0442\u0435\u0440\u043c\u043e\u043c\u0435\u0442\u0440 \u0441 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 UniPing RS-485<\/a>    \t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/155869\/\"> http:\/\/habrahabr.ru\/post\/155869\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041f\u043e\u0441\u0442\u0440\u043e\u0438\u043b \u044f \u00ab\u0437\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u044b\u0439\u00bb \u0434\u043e\u043c\u0438\u043a, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u043d\u0435\u043c \u043d\u0435 \u0436\u0438\u0432\u0443, \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b. \u041d\u0430 \u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0436\u0438\u0432\u0435\u0442 \u0442\u0435\u0449\u0430. \u0412\u043e\u0434\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043e\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u0430\u0431\u0440\u0430\u043d\u0430. \u041e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u0443\u0442\u0435\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u0438 +8 \u0432 \u0434\u043e\u043c\u0435, \u0442\u0440\u0443\u0431\u044b \u043d\u0430 \u0441\u0442\u0435\u043d\u0430\u0445 \u0437\u0430 \u0433\u0438\u043f\u0441\u043e\u043a\u0430\u0440\u0442\u043e\u043d\u043e\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u043f\u0440\u043e\u043c\u0435\u0440\u0437\u0430\u0442\u044c, \u0430 \u043f\u0440\u0438 +18 \u0442\u0435\u0449\u0430 \u0431\u043e\u043b\u0435\u0442\u044c. \u0412\u043e\u0442 \u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0438\u0434\u0435\u044f \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0438\u0441\u043a\u043e\u0432 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430\u0445, \u0431\u044b\u043b\u043e \u0437\u0430\u043a\u0443\u043f\u043b\u0435\u043d\u043e 2 \u0434\u0435\u0432\u0430\u0439\u0441\u0430: \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 <a href=\"http:\/\/www.masterkit.ru\/main\/set.php?code_id=565375\">\u0412\u041c1707<\/a> \u0438 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439 <a href=\"http:\/\/www.thermohid.co.uk\/#SEC10\">termoHID<\/a>. \u0421\u043e\u0444\u0442 \u043a \u043e\u0431\u043e\u0438\u043c \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u043b\u0441\u044f. \u041a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u0435 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u043b\u044f\u043f\u0438\u0441\u0442\u043e, \u043d\u043e \u043f\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0430\u043d\u0430\u043b\u0443 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u0438\u043b\u043e \u043d\u0430\u0448\u0435, \u043d\u043e \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0434\u0435\u0432\u0430\u0439\u0441\u0443 \u043c\u043e\u0436\u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0434\u043e 10 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 DS18B20. \u042d\u0442\u043e\u0442 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0431\u044b\u043b \u0440\u0435\u0448\u0430\u044e\u0449\u0438\u043c.<\/p>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 4 \u0434\u0430\u0442\u0447\u0438\u043a\u0430, \u0443\u043b\u0438\u0446\u0430, 1-\u0439 \u044d\u0442\u0430\u0436, 2-\u0439 \u044d\u0442\u0430\u0436 \u0438 \u0447\u0435\u0440\u0434\u0430\u043a. \u041d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043e \u0433\u043e\u0434 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u0424\u0440\u043e\u043d\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/303\/a31\/456\/303a31456e6bf52a56710b3c78f0a670.jpg\"\/><br \/>  \u0421\u0430\u0439\u0442 <a href=\"http:\/\/tarasii.dyndns.org\/\">\u0442\u0443\u0442<\/a>.  <\/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-155869","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/155869","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=155869"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/155869\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=155869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=155869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=155869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}