{"id":274313,"date":"2016-02-15T16:32:02","date_gmt":"2016-02-15T13:32:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=274313"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=274313","title":{"rendered":"\u041c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043d\u0430 Arduino \u0441 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0434\u0430\u043d\u043d\u044b\u0445"},"content":{"rendered":"<p>       <a href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/273749\/\"><img decoding=\"async\" height=\"150\" alt=\"Paul Klee In The Style Of Kairouan\" title=\"Paul Klee In The Style Of Kairouan\" src=\"https:\/\/habrastorage.org\/files\/886\/da3\/a00\/886da3a0076044bdb8d150c52179860e.jpg\" align=\"left\"\/><\/a><\/p>\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u041f\u0440\u043e \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043d\u0430 Arduino <a href=\"http:\/\/habrahabr.ru\/search\/?q=arduino+\u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f\">\u043f\u0438\u0441\u0430\u043b\u0438<\/a> \u0438 \u043d\u0435 \u0440\u0430\u0437. \u0412 \u0441\u0432\u043e\u0451 \u043e\u043f\u0440\u0430\u0432\u0434\u0430\u043d\u0438\u0435 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u0431\u044b\u043b <a href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/267459\/\">\u0445\u0430\u043a\u0430\u0442\u043e\u043d<\/a> \u2014 \u0430 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 (\u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043c\u0435\u043d\u044f \u0438 \u0445\u0430\u0431\u0440\u0430\u044e\u0437\u0435\u0440\u0430  <a href=\"https:\/\/habrahabr.ru\/users\/viart\/\" class=\"user_link\">ViArt<\/a>) \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 Arduino. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e \u043a \u043d\u0430\u0448\u0435\u0439 \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043f\u0440\u0438\u043a\u0440\u0443\u0447\u0435\u043d\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e com-\u043f\u043e\u0440\u0442\u0443 \u0431\u0435\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0437\u0432\u0435\u043d\u044c\u0435\u0432 \u0432 \u0432\u0438\u0434\u0435 web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u043b\u0438 \u0435\u0449\u0451 \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0443\u0445\u0438\u0449\u0440\u0435\u043d\u0438\u0439, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 <\/h2>\n<p>  \u0412 InterSystems Cach\u00e9 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c <a href=\"http:\/\/docs.intersystems.com\/cache_latest\/csp\/docbook\/DocBook.UI.Page.cls?KEY=GIOD_intro\">\u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e<\/a> \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0442\u0438\u043f\u043e\u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u0412\u043e\u0442 \u043e\u043d\u0438:<\/p>\n<ul>\n<li>\u0414\u0438\u0441\u043a\u0438<\/li>\n<li>\u041c\u0430\u0433\u043d\u0438\u0442\u043d\u044b\u0435 \u043b\u0435\u043d\u0442\u044b<\/li>\n<li>\u0424\u0430\u0439\u043b\u044b<\/li>\n<li>\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044b<\/li>\n<li>TCP \u043f\u043e\u0440\u0442\u044b<\/li>\n<li>COM \u043f\u043e\u0440\u0442\u044b<\/li>\n<li>\u0438 \u0434\u0440\u0443\u0433\u0438\u0435<\/li>\n<\/ul>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 5 \u044d\u0442\u0430\u043f\u043e\u0432:<\/p>\n<ol>\n<li>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <a href=\"http:\/\/docs.intersystems.com\/cache_latest\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_copen\">OPEN<\/a> \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u0442 \u0444\u0430\u043a\u0442 \u0447\u0442\u043e \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443<\/li>\n<li>\u0417\u0430\u0442\u0435\u043c, \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u043e\u043d\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0442\u0435\u043a\u0443\u0449\u0438\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <a href=\"http:\/\/docs.intersystems.com\/cache_latest\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_cuse\">USE<\/a><\/li>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <a href=\"http:\/\/docs.intersystems.com\/cache_latest\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_cread\">READ<\/a>, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <a href=\"http:\/\/docs.intersystems.com\/cache_latest\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_cwrite\">WRITE<\/a><\/li>\n<li>\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430 (\u043e\u043f\u044f\u0442\u044c USE)<\/li>\n<li>\u0417\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <a href=\"http:\/\/docs.intersystems.com\/cache_latest\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_cclose\">CLOSE<\/a><\/li>\n<\/ol>\n<p>  \u041a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435?<\/p>\n<h2>\u041c\u0438\u0433\u0430\u0435\u043c \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u043e\u0439 \u0438\u0437 Cach\u00e9<\/h2>\n<p>  \u0418\u0442\u0430\u043a, \u0441\u043e\u0431\u0435\u0440\u0451\u043c \u043d\u0430 Arduino \u0441\u0445\u0435\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0447\u0438\u0442\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 COM \u043f\u043e\u0440\u0442\u0430 \u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0445\u0435\u043c\u0430<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ade\/d64\/954\/aded6495459b49a4a632d36001f7b5ce.jpg\"\/><\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u043d\u0430 C<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">\/*  Led.ino  *  *  \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e COM \u043f\u043e\u0440\u0442\u0443  *  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u043a \u0432\u044b\u0432\u043e\u0434\u0443 ledPin   *  *\/  \/\/ \u0412\u044b\u0432\u043e\u0434 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430 (\u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439) #define ledpin 8  \/\/ &quot;\u0411\u0443\u0444\u0435\u0440&quot; \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 String inString = &quot;&quot;;  void setup() { \tSerial.begin(9600); \tpinMode(ledpin, OUTPUT); \tdigitalWrite(ledpin, LOW); }  void loop() { \t\/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 COM \u043f\u043e\u0440\u0442\u0430 \twhile (Serial.available() &gt; 0) { \tint inChar = Serial.read(); \tif (isDigit(inChar)) { \t\t\/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c 1 \u0441\u0438\u043c\u0432\u043e\u043b,  \t\t\/\/ \u041f\u0440\u0438\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0435\u0433\u043e \u043a \u0441\u0442\u0440\u043e\u043a\u0435 \t\tinString += (char)inChar; \t}  \t\/\/ \u0414\u043e\u0445\u043e\u0434\u0438\u043c \u0434\u043e \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \tif (inChar == '\\n') { \t\t\/\/ \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \t\tdigitalWrite(ledpin, HIGH); \t\tint time = inString.toInt(); \t\tdelay(time); \t\tdigitalWrite(ledpin, LOW); \t\t\/\/ \u041e\u0431\u043d\u0443\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \t\tinString = &quot;&quot;; \t}   }  } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 Cach\u00e9 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043c\u0435\u0442\u043e\u0434, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u043a com \u043f\u043e\u0440\u0442\u0443 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u0442\u0440\u043e\u043a\u0443 1000\\n:<\/p>\n<pre><code>\/\/\/ \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u043f\u043e\u0440\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 1000\\n ClassMethod SendSerial() { \tset port = &quot;COM1&quot; \topen port:(:::&quot; 0801n0&quot;:\/BAUD=9600)     \/\/ \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \tset old = $IO \/\/ \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430 \tuse port  \/\/ \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043d\u0430 com \u043f\u043e\u0440\u0442 \twrite $Char(10) \/\/ \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u0440\u043e\u0431\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \thang 1 \twrite 1000 _ $Char(10) \/\/ \u041f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u0441\u0442\u0440\u043e\u043a\u0443 1000\\n \tuse old \/\/ \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0432\u044b\u0432\u043e\u0434 \u043d\u0430 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \tclose port \/\/ \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e }<\/code><\/pre>\n<p>  \u0421\u0442\u0440\u043e\u043a\u0430 \u00ab0801n0\u00bb \u044d\u0442\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a Com \u043f\u043e\u0440\u0442\u0443, \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 <a href=\"http:\/\/docs.intersystems.com\/cache_latest\/csp\/docbook\/DocBook.UI.Page.cls?KEY=GIOD_termio#GIOD_tio_openuse\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>. \u0410 \/BAUD=9600 \u2014 \u044d\u0442\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u0431\u043e\u0434\u0430\u0445.<\/p>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435:<\/p>\n<pre><code>do ##class(Arduino.Habr).SendSerial()<\/code><\/pre>\n<p>  \u0422\u043e \u043e\u043d \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0432\u0435\u0434\u0435\u0442, \u0430 \u0432\u043e\u0442 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u0437\u0430\u0433\u043e\u0440\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u043a\u0443\u043d\u0434\u0443.<\/p>\n<h2>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 Cach\u00e9<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0443 (keypad) \u043a Cach\u00e9 \u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=GCAS_delegated#GCAS_delegated_ZAUTHE\">\u0434\u0435\u043b\u0435\u0433\u0430\u0446\u0438\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438<\/a> \u0438 \u0440\u0443\u0442\u0438\u043d\u044b ZAUTHENTICATE.mac <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0445\u0435\u043c\u0430<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c19\/196\/d9b\/c19196d9b9b64d51974b87c1e94a7650.png\"\/><\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u043d\u0430 C<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">\/*  Keypadtest.ino  *  *  \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Keypad  *  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 Keypad \u043a \u0432\u044b\u0432\u043e\u0434\u0430\u043c Arduino \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0432  *  rowPins[] and colPins[].  *  *\/  \/\/ \u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438: \/\/ https:\/\/github.com\/Chris--A\/Keypad #include &lt;Keypad.h&gt;  const byte ROWS = 4; \/\/ \u0427\u0435\u0442\u044b\u0440\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 const byte COLS = 4; \/\/ \u0422\u0440\u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u044b \/\/ \u041a\u0430\u0440\u0442\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 char keys[ROWS][COLS] = { \t{'1','2','3','A'}, \t{'4','5','6','B'}, \t{'7','8','9','C'}, \t{'*','0','#','D'} }; \/\/ \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0440\u0430\u0437\u044c\u0451\u043c\u044b keypad 1-8 (\u0441\u0432\u0435\u0440\u0445\u0443-\u0432\u043d\u0438\u0437) \u043a Arduino \u0440\u0430\u0437\u044c\u0451\u043c\u0430\u043c 11-4. 1-&gt;11, 2-&gt;10, ... , 8-&gt;4  \/\/ \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 keypad ROW0, ROW1, ROW2 \u0438 ROW3 \u043a \u044d\u0442\u0438\u043c \u0432\u044b\u0432\u043e\u0434\u0430\u043c Arduino byte rowPins[ROWS] = { 7, 6, 5, 4 }; \/\/ \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 keypad COL0, COL1 and COL2 \u043a \u044d\u0442\u0438\u043c \u0432\u044b\u0432\u043e\u0434\u0430\u043c Arduino byte colPins[COLS] = { 8, 9, 10, 11 };   \/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f Keypad Keypad kpd = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );  #define ledpin 13  void setup() { \tSerial.begin(9600);  }  void loop() { \tchar key = kpd.getKey(); \/\/ \u041f\u043e\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0430\u0436\u0430\u0442\u0443\u044e \u043a\u043d\u043e\u043f\u043a\u0443 \tif(key) \t{ \t\tswitch (key) \t{ \t\tcase '#': \t\t\tSerial.println(); \t\tdefault: \t\t\tSerial.print(key); \t} \t} }  <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0412 Cach\u00e9 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043c\u0435\u0442\u043e\u0434, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u043a com \u043f\u043e\u0440\u0442\u0443 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u0441\u0442\u0440\u043e\u043a\u0443 \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<pre><code>\/\/\/ \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 (\u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u0441\u0442\u0440\u043e\u043a\u0438) ClassMethod ReceiveOneLine() As %String { \tport = &quot;COM1&quot; \tset str=&quot;&quot; \ttry { \t\topen port:(:::&quot; 0801n0&quot;:\/BAUD=9600) \t\tset old = $io \/\/ \u0417\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430 \t\tuse port \t\tread str \/\/ \u0427\u0438\u0442\u0430\u0435\u043c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043c \u0441\u0438\u043c\u0432\u043e\u043b \u043a\u043e\u043d\u0446\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 \t\tuse old \t\tclose port \t} catch ex { \t\tclose port \t} \treturn str }<\/code><\/pre>\n<p>  \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c:<\/p>\n<pre><code>write ##class(Arduino.Habr).ReceiveOneLine()<\/code><\/pre>\n<p>  \u0418 \u043e\u043d \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f, \u043f\u043e\u043a\u0430 \u043d\u0430 keypad \u043d\u0435 \u043d\u0430\u0436\u043c\u0451\u043c &quot;#&quot; (\u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u043a\u043e\u043d\u0435\u0446 \u0441\u0442\u0440\u043e\u043a\u0438), \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u0430 \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u044d\u0442\u043e \u0431\u044b\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u044b \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438.<\/p>\n<h2>\u041c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f<\/h2>\n<p>  \u0414\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 \u0438 \u0434\u0430\u0442\u0447\u0438\u043a <a href=\"http:\/\/www.micropik.com\/PDF\/dht11.pdf\">DHT11<\/a> (\u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c). \u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/d53\/31b\/42f\/d5331b42f82c4962948fd95856174dc5.png\"\/><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u043d\u0430 C<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">\/* Meteo.ino  *  * \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c, \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u0438 \u044f\u0440\u043a\u043e\u0441\u0442\u044c  * \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0430 COM port  * \u0424\u043e\u0440\u043c\u0430\u0442 \u0432\u044b\u0432\u043e\u0434\u0430: H=1.0;T=1.0;LL=1;  *\/  \/\/\u041f\u0438\u043d \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u0430 (\u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439) int lightPin = 0;  \/\/ \u041f\u0438\u043d DHT-11 (\u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439) int DHpin = 8;   \/\/ \u041c\u0430\u0441\u0441\u0438\u0432, \u0445\u0440\u0430\u043d\u044f\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u044b\u0435 DHT-11 byte dat[5];   \/\/ \u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 void setup() { \tSerial.begin(9600);  \tpinMode(DHpin,OUTPUT);  }   \/*  * \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 setup()  * \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0446\u0438\u043a\u043b  *\/ void loop() { \tdelay(1000); \/\/ \u0417\u0430\u043c\u0435\u0440 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 1 \u0440\u0430\u0437 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \tint lightLevel = analogRead(lightPin); \/\/\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043e\u0441\u0432\u0435\u0449\u0451\u043d\u043d\u043e\u0441\u0442\u0438   \ttemp_hum(); \/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e dat \t\/\/ \u0418 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \tSerial.print(&quot;H=&quot;);  \tSerial.print(dat[0], DEC);    \tSerial.print('.');  \tSerial.print(dat[1],DEC);\t \tSerial.print(&quot;;T=&quot;);  \tSerial.print(dat[2], DEC);\t \tSerial.print('.');  \tSerial.print(dat[3],DEC);\t  \tSerial.print(&quot;;LL=&quot;);  \tSerial.print(lightLevel); \tSerial.println(&quot;;&quot;); }  \/\/ \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442 DHT-11 \u0432 dat void temp_hum()  {  \tdigitalWrite(DHpin,LOW); \tdelay(30);   \tdigitalWrite(DHpin,HIGH);  \tdelayMicroseconds(40); \tpinMode(DHpin,INPUT); \twhile(digitalRead(DHpin) == HIGH); \tdelayMicroseconds(80); \tif(digitalRead(DHpin) == LOW);  \tdelayMicroseconds(80); \tfor(int i=0;i&lt;4;i++) \t{ \t  dat[i] = read_data(); \t} \tpinMode(DHpin,OUTPUT); \tdigitalWrite(DHpin,HIGH); }   \/\/ \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442 DHT-11 byte read_data()  { \tbyte data;  \tfor(int i=0; i&lt;8; i++)  \t{  \t\tif(digitalRead(DHpin) == LOW)  \t\t{  \t\t\twhile(digitalRead(DHpin) == LOW);  \t\t\tdelayMicroseconds(30); \t\t\tif(digitalRead(DHpin) == HIGH)  \t\t\t{ \t\t\t\tdata |= (1&lt;&lt;(7-i)); \t\t\t} \t\t\twhile(digitalRead(DHpin) == HIGH);  \t\t} \t}  \treturn data;  } <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u043e\u0434\u0430 \u043d\u0430 Arduino \u043e\u043d\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 COM \u043f\u043e\u0440\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435:<\/p>\n<blockquote><p>H=34.0;T=24.0;LL=605;<\/p><\/blockquote>\n<p>  \u0413\u0434\u0435: <\/p>\n<ul>\n<li>H \u2014 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c (\u043e\u0442 0 \u0434\u043e 100 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432)<\/li>\n<li>T \u2014 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0432 \u0433\u0440\u0430\u0434\u0443\u0441\u0430\u0445 \u0426\u0435\u043b\u044c\u0441\u0438\u044f<\/li>\n<li>LL \u2014 \u043e\u0441\u0432\u0435\u0449\u0451\u043d\u043d\u043e\u0441\u0442\u044c (\u043e\u0442 0 \u0434\u043e 1023)<\/li>\n<\/ul>\n<p>  \u041d\u0430\u0434\u043e \u043a\u0430\u043a-\u0442\u043e \u0435\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 Cach\u00e9. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u043c\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 Arduino.Info:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Arduino.Info<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>Class Arduino.Info Extends %Persistent {  Parameter SerialPort As %String = &quot;com1&quot;;  Property DateTime As %DateTime;  Property Temperature As %Double;  Property Humidity As %Double(MAXVAL = 100, MINVAL = 0);  Property Brightness As %Double(MAXVAL = 100, MINVAL = 0);  Property Volume As %Double(MAXVAL = 100, MINVAL = 0);  ClassMethod AddNew(Temperature = 0, Humidity = 0, Brightness = 0, Volume = 0) { \tset obj = ..%New() \tset obj.DateTime=$ZDT($H,3,1) \tset obj.Temperature=Temperature \tset obj.Humidity=Humidity \tset obj.Brightness=Brightness\/1023*100 \tset obj.Volume=Volume \twrite $SYSTEM.Status.DisplayError(obj.%Save()) }<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0443\u0434\u0430 \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Arduino, \u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043a\u043b\u0430\u0441\u0441\u0430 Arduino.Info:<\/p>\n<pre><code>\/\/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 H=34.0;T=24.0;LL=605;\\n  \/\/\/ \u0418 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u043c \u0438\u0445 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043a\u043b\u0430\u0441\u0441\u0430 Arduino.Info ClassMethod ReceiveSerial(port = {..#SerialPort}) { \ttry { \t\topen port:(:::&quot; 0801n0&quot;:\/BAUD=9600) \t\tset old = $IO \t\tuse port \t\tfor { \t\t\tread x \/\/\u0427\u0438\u0442\u0430\u0435\u043c \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u043a\u0443 \t\t\tset Humidity = $Piece($Piece(x,&quot;;&quot;,1),&quot;=&quot;,2) \t\t\tset Temperature =  $Piece($Piece(x,&quot;;&quot;,2),&quot;=&quot;,2) \t\t\tset Brightness =  $Piece($Piece(x,&quot;;&quot;,3),&quot;=&quot;,2) \t\t\tif (x '= &quot;&quot;) { \t\t\t\tdo ..AddNew(Temperature,Humidity,Brightness) \/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \t\t\t} \t\t} \t} catch anyError { \t\tclose port \t} }<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Arduino \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u043c\u0435\u0442\u043e\u0434 ReceiveSerial:<\/p>\n<pre><code>write ##class(Arduino.Info).ReceiveSerial()<\/code><\/pre>\n<p>  \u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0446\u0438\u043a\u043b\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043e\u0442 Arduino.<\/p>\n<h2>\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445<\/h2>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0441\u043e\u0431\u0440\u0430\u043d\u0430, \u043d\u0430\u0448\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u0435\u0451 \u043d\u0430 \u0443\u043b\u0438\u0446\u0435 (\u0431\u044b\u043b\u0430 \u0443\u0436\u0435 \u043d\u043e\u0447\u044c) \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043e \u0443\u0442\u0440\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ffe\/158\/d19\/ffe158d1975943c6a8bbce8c468a1c48.jpg\"\/><\/p>\n<p>  \u041a \u0443\u0442\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u0438\u0441\u044c (~36000 \u0437\u0430\u043f\u0438\u0441\u0435\u0439) \u0438 \u043c\u044b \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0438\u0445 \u0432 <a href=\"http:\/\/www.intersystems.com\/ru\/our-products\/embedded-technologies\/deepsee\/\">BI DeepSee<\/a>, \u0432\u043e\u0442 \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c.<\/p>\n<p>  \u0413\u0440\u0430\u0444\u0438\u043a \u044f\u0440\u043a\u043e\u0441\u0442\u0438. \u042f\u0432\u043d\u043e \u0432\u0438\u0434\u0435\u043d \u0440\u0430\u0441\u0441\u0432\u0435\u0442 \u0432 \u0440\u0430\u0439\u043e\u043d\u0435 5:50:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/848\/0ed\/af2\/8480edaf2ef44ec8b2cab1b57318ec3d.PNG\"\/><\/p>\n<p>  \u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f14\/50b\/593\/f1450b5939e04f25b4afb0ee4413c563.PNG\"\/><\/p>\n<p>  \u041d\u0435 \u0441\u0442\u043e\u0438\u043b\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u0430\u0442\u0447\u0438\u043a \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u043f\u043e\u0434 \u043f\u0440\u044f\u043c\u044b\u0435 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0435 \u043b\u0443\u0447\u0438, \u043d\u043e \u0432\u0441\u0451 \u044f\u0432\u043d\u043e \u044f\u0432\u043d\u043e \u043f\u0440\u043e\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u043e\u0439 \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c\u044e. <\/p>\n<h2>\u0414\u0435\u043c\u043e<\/h2>\n<p>  \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e <a href=\"http:\/\/37.139.17.101\/dswepub\/index.html#\/d\/Arduino\/NightMeasures.dashboard?ns=Arduino\">\u0442\u0443\u0442<\/a>.<\/p>\n<h2>\u0412\u044b\u0432\u043e\u0434\u044b<\/h2>\n<p>  InterSystems Cach\u00e9 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0431\u044b\u0441\u0442\u0440\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043f\u043e \u0441\u0431\u043e\u0440\u0443 \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <b>\u00bb<\/b> <a href=\"http:\/\/docs.intersystems.com\/cache_latest\/csp\/docbook\/DocBook.UI.Page.cls?KEY=GIOD_termio#GIOD_tio_openuse\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a><br \/>  <b>\u00bb<\/b> <a href=\"https:\/\/github.com\/intersystems-ru\/ArduinoSnippets\">\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0438\u0439 \u0441 \u043a\u043e\u0434\u043e\u043c<\/a>               <\/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=\"https:\/\/habrahabr.ru\/post\/273749\/\"> https:\/\/habrahabr.ru\/post\/273749\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <a href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/273749\/\"><img decoding=\"async\" height=\"150\" alt=\"Paul Klee In The Style Of Kairouan\" title=\"Paul Klee In The Style Of Kairouan\" src=\"https:\/\/habrastorage.org\/files\/886\/da3\/a00\/886da3a0076044bdb8d150c52179860e.jpg\" align=\"left\"\/><\/a><\/p>\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u041f\u0440\u043e \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043d\u0430 Arduino <a href=\"http:\/\/habrahabr.ru\/search\/?q=arduino+\u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f\">\u043f\u0438\u0441\u0430\u043b\u0438<\/a> \u0438 \u043d\u0435 \u0440\u0430\u0437. \u0412 \u0441\u0432\u043e\u0451 \u043e\u043f\u0440\u0430\u0432\u0434\u0430\u043d\u0438\u0435 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u0431\u044b\u043b <a href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/267459\/\">\u0445\u0430\u043a\u0430\u0442\u043e\u043d<\/a> \u2014 \u0430 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 (\u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043c\u0435\u043d\u044f \u0438 \u0445\u0430\u0431\u0440\u0430\u044e\u0437\u0435\u0440\u0430  <a href=\"https:\/\/habrahabr.ru\/users\/viart\/\" class=\"user_link\">ViArt<\/a>) \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 Arduino. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e \u043a \u043d\u0430\u0448\u0435\u0439 \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043f\u0440\u0438\u043a\u0440\u0443\u0447\u0435\u043d\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e com-\u043f\u043e\u0440\u0442\u0443 \u0431\u0435\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0437\u0432\u0435\u043d\u044c\u0435\u0432 \u0432 \u0432\u0438\u0434\u0435 web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u043b\u0438 \u0435\u0449\u0451 \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0443\u0445\u0438\u0449\u0440\u0435\u043d\u0438\u0439, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/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-274313","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/274313","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=274313"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/274313\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=274313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=274313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=274313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}