{"id":275242,"date":"2016-03-01T13:48:02","date_gmt":"2016-03-01T10:48:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=275242"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=275242","title":{"rendered":"Arduino+Modbus+MasterScada"},"content":{"rendered":"<p>       \u0420\u0435\u0448\u0438\u043b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043e\u044e\u0437 \u043c\u0435\u0436\u0434\u0443 arduino \u0438 Master Scada<\/p>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e Master Scada? \u041e\u0442\u0432\u0435\u0447\u0443 \u2014 Master Scada \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 OPC \u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u043c\u0435\u044e\u0449\u0438\u0439 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u043f\u0440\u043e\u0441\u0430 \u043a\u0430\u043d\u0430\u043b\u043e\u0432, \u043d\u0443 \u0438 \u043e\u043d \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043d\u0430 32 \u043a\u0430\u043d\u0430\u043b\u0430)<\/p>\n<p>  \u0414\u043b\u044f \u0442\u0435\u0441\u0442\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0434\u0432\u0443\u043c\u044f \u0443\u043b\u044c\u0442\u0440\u0430\u0437\u0432\u0443\u043a\u043e\u0432\u044b\u043c\u0438 \u0434\u0430\u043b\u044c\u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 HC-04 \u0438 \u043f\u043b\u0430\u0442\u043e\u0439 arduino uno.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u043b \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 modbus<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 arduino \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 SimpleModbusSlaveV9 \u043d\u0443\u0436\u043d\u043e \u0435\u0451 \u0441\u043f\u0435\u0440\u0432\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c<\/p>\n<p>  \u0421\u043a\u0435\u0442\u0447 \u0437\u0430\u043b\u0438\u0442\u044b\u0439 \u0432 arduino:<\/p>\n<p>  \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443<br \/>  #include &lt;SimpleModbusSlave.h&gt;<br \/>  \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<br \/>  #define echoPin 2<br \/>  #define trigPin 3<br \/>  #define echoPin1 4<br \/>  #define trigPin1 5<\/p>\n<p>  enum <br \/>  { <br \/>   ADC_VAL, <br \/>   PWM_VAL, <br \/>   HOLDING_REGS_SIZE=4 \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u043d\u0430\u043b\u043e\u0432<\/p>\n<p>  };<\/p>\n<p>  unsigned int holdingRegs[HOLDING_REGS_SIZE]; <\/p>\n<p>  void setup()<br \/>  {<\/p>\n<p>   modbus_configure(&#038;Serial, 115200, SERIAL_8N2, 1, 2, HOLDING_REGS_SIZE, holdingRegs); \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u043f\u0440\u043e\u0441\u0430<\/p>\n<p>  modbus_update_comms(115200, SERIAL_8N2, 1);<\/p>\n<p>  \/\/ \u0434\u043b\u044f \u0423\u0417 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 <\/p>\n<p>  pinMode(trigPin, OUTPUT); <br \/>   pinMode(echoPin, INPUT); <br \/>   pinMode(trigPin1, OUTPUT); <br \/>   pinMode(echoPin1, INPUT); <br \/>   }<\/p>\n<p>  void loop()<br \/>  {<br \/>   int duration, cm; <\/p>\n<p>   digitalWrite(trigPin, LOW); <br \/>   delayMicroseconds(2); <br \/>   digitalWrite(trigPin, HIGH); <br \/>   delayMicroseconds(10); <br \/>   digitalWrite(trigPin, LOW); <br \/>   duration = pulseIn(echoPin, HIGH); <br \/>   cm = duration \/ 58;<\/p>\n<p>  int duration1, cm1; <br \/>   digitalWrite(trigPin1, LOW); <br \/>   delayMicroseconds(2); <br \/>   digitalWrite(trigPin1, HIGH); <br \/>   delayMicroseconds(10); <br \/>   digitalWrite(trigPin1, LOW); <br \/>   duration1 = pulseIn(echoPin1, HIGH); <br \/>   cm1 = duration1 \/ 58;<br \/>   delay(100);<\/p>\n<p>  \/\/ \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0432 OPC <br \/>   modbus_update(); <br \/>   holdingRegs[1] =cm1; \/\/\u0430\u0434\u0440\u0435\u0441 1<br \/>   holdingRegs[2] = cm; \/\/\u0430\u0434\u0440\u0435\u0441 2<br \/>   holdingRegs[3] = cm; \/\/\u0430\u0434\u0440\u0435\u0441 2<\/p>\n<p>  }<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c OPC<br \/>  \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u043f\u0440\u043e\u0441\u0430<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/5fa\/f71\/42c\/5faf7142cf2647c2bc042c268ad44385.PNG\"\/><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u0438 \u043f\u0435\u0440\u0438\u043e\u0434 \u043e\u043f\u0440\u043e\u0441\u0430<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/bd8\/5fe\/0a0\/bd85fe0a06104f59a8293a19709d67fb.PNG\"\/><\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0422\u044d\u0433\u0438, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0441\u0432\u043e\u0439 \u0442\u044d\u0433. \u0412\u0432\u043e\u0434\u0438\u043c \u0432 \u0433\u0440\u0430\u0444\u0435 \u0430\u0434\u0440\u0435\u0441 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 holdingRegs[ ]<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/278\/d6a\/316\/278d6a316705417cbedd5e0f1685ee39.PNG\"\/><\/p>\n<p>  \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/709\/2a4\/c2c\/7092a4c2c11b4f96a29503ba56641c7b.PNG\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 MasterScada <\/p>\n<p>  \u0421\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u043c OPC \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043e \u0441\u043a\u0430\u0434\u043e\u0439 \u0440\u0438\u0441\u0443\u0435\u043c \u043c\u043d\u0435\u043c\u043e\u0441\u0445\u0435\u043c\u0443 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/fbb\/f8d\/36b\/fbbf8d36bd1f4b4d906f554c059f3749.PNG\"\/><\/p>\n<p>  \u0418 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/52c\/446\/cc7\/52c446cc7897446db0afa3e3bdf50aa6.PNG\"\/><\/p>\n<p>  \u0421\u0431\u043e\u0435\u0432 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u0432 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0441 \u0442\u043e\u043a\u043e\u0432\u044b\u043c \u0432\u044b\u0445\u043e\u0434\u043e\u043c 4-20 \u043c\u0410 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b arduino \u043a\u0430\u043a \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u0431\u043e\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0438\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445. <\/p>\n<p>  <a name=\"habracut\"><\/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\/278269\/\"> https:\/\/habrahabr.ru\/post\/278269\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0420\u0435\u0448\u0438\u043b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043e\u044e\u0437 \u043c\u0435\u0436\u0434\u0443 arduino \u0438 Master Scada<\/p>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e Master Scada? \u041e\u0442\u0432\u0435\u0447\u0443 \u2014 Master Scada \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 OPC \u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u043c\u0435\u044e\u0449\u0438\u0439 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u043f\u0440\u043e\u0441\u0430 \u043a\u0430\u043d\u0430\u043b\u043e\u0432, \u043d\u0443 \u0438 \u043e\u043d \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043d\u0430 32 \u043a\u0430\u043d\u0430\u043b\u0430)<\/p>\n<p>  \u0414\u043b\u044f \u0442\u0435\u0441\u0442\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0434\u0432\u0443\u043c\u044f \u0443\u043b\u044c\u0442\u0440\u0430\u0437\u0432\u0443\u043a\u043e\u0432\u044b\u043c\u0438 \u0434\u0430\u043b\u044c\u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 HC-04 \u0438 \u043f\u043b\u0430\u0442\u043e\u0439 arduino uno.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u043b \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 modbus<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 arduino \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 SimpleModbusSlaveV9 \u043d\u0443\u0436\u043d\u043e \u0435\u0451 \u0441\u043f\u0435\u0440\u0432\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c<\/p>\n<p>  \u0421\u043a\u0435\u0442\u0447 \u0437\u0430\u043b\u0438\u0442\u044b\u0439 \u0432 arduino:<\/p>\n<p>  \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443<br \/>  #include &lt;SimpleModbusSlave.h&gt;<br \/>  \/\/\u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<br \/>  #define echoPin 2<br \/>  #define trigPin 3<br \/>  #define echoPin1 4<br \/>  #define trigPin1 5<\/p>\n<p>  enum <br \/>  { <br \/>   ADC_VAL, <br \/>   PWM_VAL, <br \/>   HOLDING_REGS_SIZE=4 \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u043d\u0430\u043b\u043e\u0432<\/p>\n<p>  };<\/p>\n<p>  unsigned int holdingRegs[HOLDING_REGS_SIZE]; <\/p>\n<p>  void setup()<br \/>  {<\/p>\n<p>   modbus_configure(&#038;Serial, 115200, SERIAL_8N2, 1, 2, HOLDING_REGS_SIZE, holdingRegs); \/\/\u0432\u0432\u043e\u0434\u0438\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u043f\u0440\u043e\u0441\u0430<\/p>\n<p>  modbus_update_comms(115200, SERIAL_8N2, 1);<\/p>\n<p>  \/\/ \u0434\u043b\u044f \u0423\u0417 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 <\/p>\n<p>  pinMode(trigPin, OUTPUT); <br \/>   pinMode(echoPin, INPUT); <br \/>   pinMode(trigPin1, OUTPUT); <br \/>   pinMode(echoPin1, INPUT); <br \/>   }<\/p>\n<p>  void loop()<br \/>  {<br \/>   int duration, cm; <\/p>\n<p>   digitalWrite(trigPin, LOW); <br \/>   delayMicroseconds(2); <br \/>   digitalWrite(trigPin, HIGH); <br \/>   delayMicroseconds(10); <br \/>   digitalWrite(trigPin, LOW); <br \/>   duration = pulseIn(echoPin, HIGH); <br \/>   cm = duration \/ 58;<\/p>\n<p>  int duration1, cm1; <br \/>   digitalWrite(trigPin1, LOW); <br \/>   delayMicroseconds(2); <br \/>   digitalWrite(trigPin1, HIGH); <br \/>   delayMicroseconds(10); <br \/>   digitalWrite(trigPin1, LOW); <br \/>   duration1 = pulseIn(echoPin1, HIGH); <br \/>   cm1 = duration1 \/ 58;<br \/>   delay(100);<\/p>\n<p>  \/\/ \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0432 OPC <br \/>   modbus_update(); <br \/>   holdingRegs[1] =cm1; \/\/\u0430\u0434\u0440\u0435\u0441 1<br \/>   holdingRegs[2] = cm; \/\/\u0430\u0434\u0440\u0435\u0441 2<br \/>   holdingRegs[3] = cm; \/\/\u0430\u0434\u0440\u0435\u0441 2<\/p>\n<p>  }<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c OPC<br \/>  \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u043f\u0440\u043e\u0441\u0430<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/5fa\/f71\/42c\/5faf7142cf2647c2bc042c268ad44385.PNG\"\/><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u0438 \u043f\u0435\u0440\u0438\u043e\u0434 \u043e\u043f\u0440\u043e\u0441\u0430<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/bd8\/5fe\/0a0\/bd85fe0a06104f59a8293a19709d67fb.PNG\"\/><\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0422\u044d\u0433\u0438, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0441\u0432\u043e\u0439 \u0442\u044d\u0433. \u0412\u0432\u043e\u0434\u0438\u043c \u0432 \u0433\u0440\u0430\u0444\u0435 \u0430\u0434\u0440\u0435\u0441 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 holdingRegs[ ]<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/278\/d6a\/316\/278d6a316705417cbedd5e0f1685ee39.PNG\"\/><\/p>\n<p>  \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/709\/2a4\/c2c\/7092a4c2c11b4f96a29503ba56641c7b.PNG\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 MasterScada <\/p>\n<p>  \u0421\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u043c OPC \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043e \u0441\u043a\u0430\u0434\u043e\u0439 \u0440\u0438\u0441\u0443\u0435\u043c \u043c\u043d\u0435\u043c\u043e\u0441\u0445\u0435\u043c\u0443 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/fbb\/f8d\/36b\/fbbf8d36bd1f4b4d906f554c059f3749.PNG\"\/><\/p>\n<p>  \u0418 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/52c\/446\/cc7\/52c446cc7897446db0afa3e3bdf50aa6.PNG\"\/><\/p>\n<p>  \u0421\u0431\u043e\u0435\u0432 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u0432 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0441 \u0442\u043e\u043a\u043e\u0432\u044b\u043c \u0432\u044b\u0445\u043e\u0434\u043e\u043c 4-20 \u043c\u0410 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b arduino \u043a\u0430\u043a \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u0431\u043e\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0438\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445. <\/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-275242","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/275242","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=275242"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/275242\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=275242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=275242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=275242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}