{"id":1944,"date":"2021-03-30T14:44:29","date_gmt":"2021-03-30T10:44:29","guid":{"rendered":"https:\/\/unlis.ru\/?p=1944"},"modified":"2022-12-17T18:21:29","modified_gmt":"2022-12-17T15:21:29","slug":"%d0%ba%d0%be%d0%bd%d1%82%d1%80%d0%be%d0%bb%d0%bb%d0%b5%d1%80-%d0%b0%d0%bd%d1%82%d0%b5%d0%bd%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d0%b5%d1%80%d0%b5%d0%ba%d0%bb%d1%8e%d1%87%d0%b0%d1%82%d0%b5%d0%bb%d1%8f","status":"publish","type":"post","link":"https:\/\/unlis.ru\/?p=1944","title":{"rendered":"\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0430\u043d\u0442\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f \u043d\u0430 8 \u0430\u043d\u0442\u0435\u043d\u043d"},"content":{"rendered":"<h2>\u0412\u0435\u0440\u0441\u0438\u044f 1.2<\/h2>\n<p style=\"text-align: right;\"><em>&#8230;\u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0432\u0430\u0448\u0435\u0439 \u0430\u0434\u0443\u0440\u0438\u043d\u044b!<\/em><\/p>\n<p style=\"text-align: justify;\">\u0414\u0430\u0432\u043d\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438\u043c\u0435\u0442\u044c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u0434\u043b\u044f \u041a\u0412 \u0430\u043d\u0442\u0435\u043d\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044c \u0438 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e, \u043d\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f. \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439: \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f, \u0438 \u0431\u043b\u043e\u043a\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f (\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430). \u0421 \u043f\u0435\u0440\u0432\u044b\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442, \u0434\u0430 \u0438 \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c \u0442\u043e\u0436\u0435, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 \u043e\u0434\u043d\u043e \u041d\u041e &#8212; \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441 \u041f\u041a. \u0412\u043e\u0442 \u0442\u0443\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 (\u043a\u0442\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0447\u0438\u0442\u0430\u0435\u0442 \u043c\u043e\u0439 \u0431\u043b\u043e\u0433 &#8212; \u0434\u0432\u0430 \u043f\u0443\u0442\u044f). \u041f\u0435\u0440\u0432\u044b\u0439: \u0441\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u0425\u0430\u0431\u0440 \u0438\u043b\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 \u043a RW9JD, \u0432\u0437\u044f\u0442\u044c Arduino, \u0432\u0441\u0451 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u043f\u0440\u043e\u0448\u0438\u0442\u044c, \u0432\u043e\u0442\u043a\u043d\u0443\u0442\u044c \u0440\u0430\u0437\u044a\u0435\u043c \u043e\u0442 \u0442\u0440\u0430\u043d\u0441\u0438\u0432\u0435\u0440\u0430 \u0441 Band Data \u0438 \u0443\u0441\u043f\u043e\u043a\u043e\u0438\u0442\u044c\u0441\u044f. \u0410\u0433\u0430, \u0449\u0430\u0437..! \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445 &#8212; \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0441 \u0442\u0440\u0430\u043d\u0441\u0438\u0432\u0435\u0440\u0430, \u0430 \u043d\u0435 \u0441 \u041f\u041a. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445 &#8212; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0442\u0430\u043a\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u044d\u0442\u0443 \u0432\u0430\u0448\u0443 \u0430\u0434\u0443\u0440\u0438\u043d\u0443 \u0440\u0430\u0432\u043d\u043e\u0441\u0438\u043b\u044c\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043c\u0435\u0448\u043a\u0430 \u043a\u0430\u0440\u0442\u043e\u0448\u043a\u0438 (\u043f\u0440\u0438\u0447\u0435\u043c \u0440\u0430\u0441\u0441\u044b\u043f\u0430\u043d\u043e\u0433\u043e \u043f\u043e \u0432\u0441\u0435\u0439 \u043f\u043b\u043e\u0449\u0430\u0434\u0438 \u043a\u0443\u0437\u043e\u0432\u0430) \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0433\u0440\u0443\u0437\u043e\u0432\u0438\u043a\u0435; \u043e\u0447\u0435\u043d\u044c \u043d\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0434\u0435\u043c \u043f\u043e \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u0443\u0442\u0438: \u0431\u0435\u0440\u0435\u043c \u0421\u0410\u041f\u0420 Proteus, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c WinAVR, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 Attiny2313 \u0438 \u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c \u0421\u0438.<\/p>\n<p style=\"text-align: justify;\">\u0418\u0442\u0430\u043a. \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f \u0430\u043d\u0442\u0435\u043d\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f: \u043a \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443 Attiny2313 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0432\u043e\u0441\u0435\u043c\u044c \u043a\u043d\u043e\u043f\u043e\u043a, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u043e\u0441\u0435\u043c\u044c\u044e \u0440\u0435\u043b\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 74HC595, \u0438\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043d\u0430\u044f (\u043a\u0430\u043a\u0430\u044f \u0436 \u0435\u0449\u0435?), \u0441\u0432\u044f\u0437\u044c \u0441 \u041f\u041a \u043f\u043e UART \u043b\u0438\u0431\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c RS232\/UART, \u043b\u0438\u0431\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c USB\/UART &#8212; \u043a\u0430\u043a \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u00a0 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0435 FT232; \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f 9600 \u0431\u0438\u0442\/\u0441. \u0421\u0445\u0435\u043c\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0438\u0436\u0435.<\/p>\n<p><a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1989\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.2-1024x635.png\" alt=\"\" width=\"734\" height=\"455\" srcset=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.2-1024x635.png 1024w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.2-300x186.png 300w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.2-768x476.png 768w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.2-1536x952.png 1536w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.2-2048x1270.png 2048w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.2-1170x725.png 1170w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<p>\u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0430, \u043a\u0430\u043a \u0443\u0436\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u043e\u0441\u044c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c \u0421\u0438 \u0434\u043b\u044f WinAVR. \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0435\u0440\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0438\u0436\u0435.<\/p>\n<details>\n<pre class=\"EnlighterJSRAW\">\/*****************************************************\r\nProject : Antenna Switch\r\nVersion : 1.2\r\nDate    : 23.03.2021\r\nAuthor  : R4ADX\r\nCompany : Unlis\r\nComments: \r\n\r\nChip type           : ATtiny2313\r\nClock frequency     : 11,059200 MHz\r\nMemory model        : Tiny\r\nExternal SRAM size  : 0\r\nData Stack size     : 32\r\n*****************************************************\/\r\n\r\n\r\n#include &lt;avr\/io.h&gt;\r\n#include &lt;avr\/interrupt.h&gt;\r\n#include &lt;util\/delay.h&gt;\r\n\r\n#define SH PD4 \t\t\t\t\t\t\t\t\/\/ \u0422\u0430\u043a\u0442\u043e\u0432\u044b\u0439 \u0432\u044b\u0445\u043e\u0434 74HC595\r\n#define DS PD3 \t\t\t\t\t\t\t\t\/\/ \u0412\u044b\u0445\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445 74HC595\r\n#define ST PD2 \t\t\t\t\t\t\t\t\/\/ \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f\r\n#define F_CPU 11059200\t\t\t\t\t\t\t\/\/ \u0422\u0430\u043a\u0442\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 MCU\r\n#define baudrate 9600L\t\t\t\t\t\t\t\/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 USART\r\n#define baud (F_CPU\/(16*baudrate)-1)\t\t\t\t\t\/\/ \r\n\r\nunsigned char tab[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80}; \/\/ \u041a\u043e\u0434\u044b \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0440\u0442\u043e\u0432\r\nunsigned char count;\t\t\t\t\t\t\t\/\/ \u0421\u0447\u0435\u0442\u0447\u0438\u043a \u0434\u043b\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b\r\nunsigned char temp;\r\nvolatile unsigned char antenna;\t\t\t\t\t\t\/\/ \u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\r\nunsigned char buf[2];\t\t\t\t\t\t\t\/\/ \u0411\u0443\u0444\u0435\u0440 \u043f\u0440\u0438\u0435\u043c\u0430 UART\r\nunsigned char addr = 0;\r\nvolatile unsigned char enabled;\t\t\t\t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0431\u0430\u0439\u0442\u0430 \u043f\u043e UART *\/\r\nvoid USART_Transmit(unsigned char data) {\r\n\twhile (!(UCSRA &amp; (1&lt;&lt;UDRE)));\r\n\tUDR = data;\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 EEPROM *\/\r\nvoid EEPROM_write(unsigned int uiAddress, unsigned char ucData) {\r\n\twhile(EECR &amp; (1&lt;&lt;EEPE)) {}; \t\t\t\t\t\/\/ \u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEEAR = uiAddress;\t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\r\n\tEEDR = ucData;\t\t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445\r\n\tEECR |= (1&lt;&lt;EEMPE);\t\t\t\t\t\t\/\/ \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEECR |= (1&lt;&lt;EEPE);\t\t\t\t\t\t\/\/ \u041d\u0430\u0447\u0430\u043b\u043e \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 EEPROM\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u0437 EEPROM *\/\r\nunsigned char EEPROM_read(unsigned int uiAddress) {\r\n\twhile(EECR &amp; (1&lt;&lt;EEPE)) {}; \t\t\t\t\t\/\/ \u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEEAR = uiAddress; \t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\r\n\tEECR |= (1&lt;&lt;EERE); \t\t\t\t\t\t\/\/ \u041d\u0430\u0447\u0430\u043b\u043e \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u0437 EEPROM\r\n\treturn EEDR;\t\t\t\t\t\t\t\/\/ \u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 74HC595 *\/\r\nvoid shift_595(antenna) {\r\n\tfor (count = 0; count &lt; 8; count++) {\r\n\t\tPORTD =(antenna &amp; 0x80) ? PORTD | (1&lt;&lt;DS) : PORTD &amp; ~(1&lt;&lt;DS);\r\n\t\tPORTD |= (1&lt;&lt;SH);\r\n\t\t_delay_us(2);\r\n\t\tPORTD &amp;= ~(1&lt;&lt;SH);\r\n\t\tantenna = antenna &lt;&lt;1;\r\n\t\t}\r\n\tPORTD |= (1&lt;&lt;ST);\r\n\t_delay_us(2);\r\n\tPORTD &amp;= ~(1&lt;&lt;ST);\r\n}\r\n\r\n\/* \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b \u0432 UART *\/\r\nvoid S_to_PC() {\r\n\tUSART_Transmit('S');\t\t\t\t\t\t\/\/ \u0428\u043b\u0435\u043c \u0432 \u043f\u043e\u0440\u0442 S\r\n\tUSART_Transmit(antenna);\t\t\t\t\t\/\/ \u0428\u043b\u0435\u043c \u0432 \u043f\u043e\u0440\u0442 \u0430\u0434\u0440\u0435\u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\r\n}\r\n\r\n\/* \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u0440\u0438\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430 *\/\r\nvoid from_PC(unsigned char *data) {\r\n\tswitch (data[0]) {\r\n\t\tcase 0x49:\tUSART_Transmit('I');\t\t\t\/\/ I - \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u0441 \u041f\u041a. \u0428\u043b\u0435\u043c \u0432 \u043f\u043e\u0440\u0442 I \r\n\t\t\t\tUSART_Transmit(enabled);\t\t\/\/ \u0428\u043b\u0435\u043c \u0432 \u043f\u043e\u0440\u0442 \u0431\u0430\u0439\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\r\n\t\t\t\tS_to_PC();\t\t\t\t\/\/ \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u043e\u0442\u0441\u044b\u043b\u043a\u0438 \u0430\u0434\u0440\u0435\u0441\u0430 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\r\n\t\t\t\tbreak;\r\n\t\tcase 0x53:\tantenna = data[1];\t\t\t\/\/ S - \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d \u0441 \u041f\u041a\r\n\t\t\t\tshift_595(antenna);\t\t\t\/\/ \t...\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u043b\u0438\r\n\t\t\t\tEEPROM_write(0x01, antenna);\t\t\/\/ \t...\u0437\u0430\u043f\u043e\u043c\u043d\u0438\u043b\u0438\r\n\t\t\t\tbreak;\r\n\t\tcase 0x57:\tenabled = data[1];\t\t\t\/\/ W - \u0417\u0430\u043f\u0438\u0441\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\r\n\t\t\t\tEEPROM_write(0, enabled);\r\n\t\t\t\tbreak;\r\n\t}\r\n}\r\n\r\nint main(void) {\r\n\r\n\/* \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0440\u0442\u043e\u0432 *\/\r\n\tDDRB = 0x00; \t\t\t\t\t\t\t\/\/ PortB \u043d\u0430 \u0432\u0445\u043e\u0434\r\n\tPORTB = 0xFF; \t\t\t\t\t\t\t\/\/ \u041f\u043e\u0434\u0442\u044f\u0436\u043a\u0430\r\n\tDDRD |= (1&lt;&lt;SH) | (1&lt;&lt;DS) | (1&lt;&lt;ST); \t\t\t\t\/\/ PortD HC595 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\r\n  \r\n\/* \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 UART *\/\r\n\tUBRRH = (unsigned char)(baud&gt;&gt;8); \t\t\t\t\/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0440\u0442\u0430\r\n\tUBRRL = (unsigned char)baud;\t\t\t\t\t\/\/\r\n\tUCSRB = (1&lt;&lt;RXEN) | (1&lt;&lt;TXEN) | (1&lt;&lt;RXCIE); \t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0435\u043c \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0447\u0435\u0440\u0435\u0437 USART. \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u0438\u0435\u043c\u0443\r\n\tUCSRC = (0&lt;&lt;USBS) | (1&lt;&lt;UCSZ0) | (1&lt;&lt;UCSZ1); \t\t\t\/\/ \u0420\u0435\u0436\u0438\u043c UART: 8n1 \r\n\tenabled = EEPROM_read(0x00);\t\t\t\t\t\/\/ \u0427\u0438\u0442\u0430\u0435\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b\r\n\tantenna = EEPROM_read(0x01); \t\t\t\t\t\/\/ \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0430\u044f \u0430\u043d\u0442\u0435\u043d\u043d\u0430\r\n\tshift_595(antenna);\t\t\t\t\t\t\/\/ \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u043d\u0442\u0435\u043d\u043d\u0443\r\n\tsei();\r\n\r\nwhile(1)\r\n\t{\r\nm1:\t\ttemp = PINB;  \r\n\t\tfor (count = 0; count &lt; 8; count++) {\t\t\t\/\/ \u0426\u0438\u043a\u043b \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b\r\n\t\t\tif ((temp&amp;1) == 0) { \t\t\t\t\/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043c\u043b\u0430\u0434\u0448\u0435\u0433\u043e \u0431\u0438\u0442\u0430\r\n\t\t\t_delay_ms(10); \t\t\t\t\t\/\/ \u0410\u043d\u0442\u0438\u0434\u0440\u0435\u0431\u0435\u0437\u0433\r\n\t\t\twhile ( PINB != 0xFF ) {};\t \t\t\/\/ \u0416\u0434\u0435\u043c \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u043d\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a\r\n\t\t\tgoto m2;\r\n\t\t\t}\r\n\t\t\ttemp &gt;&gt;= 1; \t\t\t\t\t\/\/ \u0421\u0434\u0432\u0438\u0433\u0430\u0435\u043c \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0431\u0438\u0442\r\n\t\t}\r\n\t\tgoto m1;\t\t\t\t\t\t\/\/ \u0418\u0434\u0435\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b\r\nm2:\t\tif ((enabled &amp; (1&lt;&lt;count)) != 0 ) {\t\t\t\/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\r\n\t\t\tantenna = tab[count]; \t\t\t\t\/\/ \u0417\u0430\u043f\u0438\u0441\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0430\u043d\u0442\u0435\u043d\u043d\u044b\r\n\t\t\tshift_595(antenna);\t\t\t\t\/\/ \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u043b\u0435\r\n\t\t\tS_to_PC();\t\t\t\t\t\/\/ \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432 UART\r\n\t\t\tEEPROM_write(0x01, antenna); \t\t\t\/\/ \u0417\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0447\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u043b\u0438\r\n\t\t}\r\n\t}\r\n}\r\n\r\n\/* \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u0438\u0435\u043c\u0443 UART *\/\r\nISR(USART_RX_vect) {\r\n\tbuf[addr] = UDR;\t\t\t\t\t\t\/\/ \u0427\u0438\u0442\u0430\u0435\u043c UART \u0432 \u0431\u0443\u0444\u0435\u0440\r\n\taddr++;\t\t\t\t\t\t\t\t\/\/ \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0444\u0435\u0440\u0430\r\n\tif (addr == 2) {\r\n\t\tfrom_PC(buf);\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u043b\u0441\u044f -  \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u0440\u0438\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430\r\n\t\taddr = 0;  \t\t\t\t\t\t\/\/ \u0421\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0444\u0435\u0440\u0430.\r\n\t}\r\n}\r\n<\/pre>\n<\/details>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">\u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0440\u0442\u043e\u0432 \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 \u041c\u041a, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 USART, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0438\u0437 EEPROM \u043f\u0430\u043c\u044f\u0442\u0438 \u0431\u0430\u0439\u0442\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445\/\u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u0432\u0445\u043e\u0434\u043e\u0432 \u0438 \u0431\u0430\u0439\u0442\u0430 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u043e\u0439, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0430\u043d\u0442\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430. \u0414\u0430\u043b\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043e\u043f\u0440\u043e\u0441\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b, \u0438 \u0432 \u044d\u0442\u043e\u043c \u0436\u0435 \u0446\u0438\u043a\u043b\u0435 &#8212; \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043d\u044b\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u0432\u0445\u043e\u0434, \u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440, \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b \u0432 EEPROM, \u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043f\u043e USART. \u041f\u0440\u0438 \u043f\u0440\u0438\u0435\u043c\u0435 \u0431\u0430\u0439\u0442\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e USART \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u0438\u043d\u044f\u0442\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 \u0432 \u043a\u043e\u043b\u044c\u0446\u0435\u0432\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 \u0434\u043b\u0438\u043d\u043e\u0439 2 \u0431\u0430\u0439\u0442\u0430, \u043f\u0440\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0431\u0443\u0444\u0435\u0440\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430. \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0431\u0443\u0444\u0435\u0440\u0430 \u043f\u043e \u043d\u0443\u043b\u0435\u0432\u043e\u043c\u0443 \u0431\u0430\u0439\u0442\u0443 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0442\u0438\u043f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f: \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u041c\u041a \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u043e\u0442\u0432\u0435\u0442, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430, \u0431\u0430\u0439\u0442\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d, \u0431\u0430\u0439\u0442\u0430 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0430\u043d\u0442\u0435\u043d\u043d\u044b; \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0430\u043d\u0442\u0435\u043d\u043d \u0431\u0430\u0439\u0442 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u0430\u043d\u0442\u0435\u043d\u043d\u044b \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u041e\u0417\u0423, EEPROM, \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 74HC595; \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445\/\u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u0432\u0445\u043e\u0434\u043e\u0432 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0437\u0430\u043f\u0438\u0441\u044c \u0431\u0430\u0439\u0442\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u041e\u0417\u0423, EEPROM. \u0424\u043e\u0440\u043c\u0430\u0442 \u043e\u0431\u043c\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u041f\u041a \u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435.<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 289px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435<\/td>\n<td style=\"height: 24px;\">\u041c\u041a =&gt; \u041f\u041a<\/td>\n<td style=\"height: 24px;\">\u041f\u041a =&gt; \u041c\u041a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 34px;\" rowspan=\"2\">\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u0431\u043b\u043e\u043a\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/td>\n<td style=\"height: 10px;\"><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. \u0411\u0430\u0439\u0442 0<\/strong>: 0x53 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;S&#187;)<br \/>\n<strong>\u0414\u0430\u043d\u043d\u044b\u0435. \u0411\u0430\u0439\u0442 1:<\/strong> \u0430\u0434\u0440\u0435\u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u044b<\/td>\n<td style=\"height: 10px;\">\u00ad<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\"><strong>\u00a0<\/strong><\/td>\n<td style=\"height: 24px;\">\u041d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 135px;\" rowspan=\"2\">\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u041f\u041a<\/td>\n<td style=\"height: 24px;\"><\/td>\n<td style=\"height: 24px;\"><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. \u0411\u0430\u0439\u0442 0<\/strong>: 0x49 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;I&#187;)<br \/>\n<strong>\u0414\u0430\u043d\u043d\u044b\u0435. \u0411\u0430\u0439\u0442 1:<\/strong> \u041b\u044e\u0431\u043e\u0439, \u043d\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u043d.<\/td>\n<\/tr>\n<tr style=\"height: 111px;\">\n<td style=\"height: 111px;\"><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. \u0411\u0430\u0439\u0442 0<\/strong>: 0x49 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;I&#187;)<br \/>\n<strong>\u0414\u0430\u043d\u043d\u044b\u0435. \u0411\u0430\u0439\u0442 1:<\/strong> \u0431\u0430\u0439\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445\/\u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u0432\u0445\u043e\u0434\u043e\u0432<br \/>\n<strong>\u0414\u0430\u043d\u043d\u044b\u0435. \u0411\u0430\u0439\u0442 2:<\/strong> 0x53 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;S&#187;)<br \/>\n<strong>\u0414\u0430\u043d\u043d\u044b\u0435. \u0411\u0430\u0439\u0442 3:<\/strong> \u0430\u0434\u0440\u0435\u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u044b<\/td>\n<td style=\"height: 111px;\"><strong>\u00a0<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 48px;\" rowspan=\"2\">\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\/\u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u0432\u0445\u043e\u0434\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u041f\u041a<\/td>\n<td style=\"height: 24px;\">\u00ad\u00ad\u00ad<\/td>\n<td style=\"height: 24px;\"><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. \u0411\u0430\u0439\u0442 0<\/strong>: 0x57 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;W&#187;)<br \/>\n<strong>\u0414\u0430\u043d\u043d\u044b\u0435. \u0411\u0430\u0439\u0442 1:<\/strong> \u043d\u0430\u0431\u043e\u0440 \u0431\u0438\u0442, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u043c \u0432\u0445\u043e\u0434\u0430\u043c.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u041d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435<\/td>\n<td style=\"height: 24px;\"><strong>\u00a0<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\" rowspan=\"2\">\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u041f\u041a<\/td>\n<td style=\"height: 24px;\">\u00ad<\/td>\n<td style=\"height: 24px;\"><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. \u0411\u0430\u0439\u0442 0<\/strong>: 0x53 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;S&#187;)<br \/>\n<strong>\u0414\u0430\u043d\u043d\u044b\u0435. \u0411\u0430\u0439\u0442 1:<\/strong> \u0430\u0434\u0440\u0435\u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u044b<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u041d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435<\/td>\n<td style=\"height: 24px;\"><strong>\u00a0<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_fuses.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1967\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_fuses.png\" alt=\"\" width=\"635\" height=\"810\" srcset=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_fuses.png 635w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_fuses-235x300.png 235w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/a><\/p>\n<p>\u0418\u0437 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439, \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0432\u0435\u0434\u0435\u0442\u0441\u044f \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u0438 \u0442\u043e\u043c\u0443 \u0436\u0435 \u0430\u0434\u0440\u0435\u0441\u0443 EEPROM, \u0447\u0442\u043e \u043f\u0440\u0438 \u0447\u0430\u0441\u0442\u044b\u0445 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f\u0445 \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u044b\u0432\u0435\u0434\u0435\u0442 \u0435\u0433\u043e \u044f\u0447\u0435\u0439\u043a\u0443 \u0438\u0437 \u0441\u0442\u0440\u043e\u044f.<\/p>\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f <del>\u043f\u043e\u0447\u0442\u0438<\/del> \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 C# \u0432 \u0441\u0440\u0435\u0434\u0435 Visual Studio.<\/p>\n<p><a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/ant_switck_ctrl_cs_program.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1958\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/ant_switck_ctrl_cs_program.png\" alt=\"\" width=\"523\" height=\"383\" srcset=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/ant_switck_ctrl_cs_program.png 523w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/ant_switck_ctrl_cs_program-300x220.png 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439. \u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0443\u0442\u0435\u043c \u043f\u043e\u0441\u044b\u043b\u043a\u0438 \u0431\u0430\u0439\u0442\u0430 0x49 (ASCII \u043a\u043e\u0434 &#8212; I). \u041f\u0440\u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 (\u043f\u0435\u0440\u0432\u044b\u0439 \u0431\u0430\u0439\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u0442\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 0x49) \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u0442\u0435\u0445 \u0430\u043d\u0442\u0435\u043d\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438, \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 EEPROM \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043a\u043d\u043e\u043f\u043a\u0430, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0430\u043d\u0442\u0435\u043d\u043d\u0435. \u0415\u0441\u043b\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0435 \u0443\u0434\u0430\u043b\u0430\u0441\u044c &#8212; \u0432\u0441\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b. \u0412 \u0441\u0442\u0430\u0442\u0443\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0430\u043d\u0442\u0435\u043d\u043d \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f RadioButton, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u0435; \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0430\u043d\u0442\u0435\u043d\u043d \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u0431\u0430\u0439\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f 0x53 \u0438 \u0431\u0430\u0439\u0442 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u0430\u043d\u0442\u0435\u043d\u043d\u044b.\u00a0 \u041f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043c\u0435\u043d\u044e Settings \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043a\u043d\u043e, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0442\u0435\u043d\u043d\u044b (\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 ini \u0444\u0430\u0439\u043b\u0435), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c\/\u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u0432\u0445\u043e\u0434\u044b.<\/p>\n<hr \/>\n<h2>\u0412\u0435\u0440\u0441\u0438\u044f 1.3<\/h2>\n<p style=\"text-align: right;\"><em>&#8230;\u043f\u043e \u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0432\u0430\u0448\u0435\u0439 \u0430\u0431\u0434\u0443\u0440\u0438\u043d\u044b.<\/em><\/p>\n<p style=\"text-align: justify;\">\u041f\u043e\u0441\u043b\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 1.2 (\u0433\u0434\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 1.0 \u0438 1.1 &#8212; \u0431\u0435\u0437 \u043f\u043e\u043d\u044f\u0442\u0438\u044f) \u0431\u044b\u043b\u043e \u0432\u044b\u0441\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432:<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f CRC \u0432 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u0435\u043c\u044b\u0445 \u043f\u043e USART \u0434\u0430\u043d\u043d\u044b\u0445;<\/li>\n<li>\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c;<\/li>\n<li>\u041f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0432 EEPROM \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b, \u0434\u0430 \u0435\u0449\u0435 \u0438 \u0432 \u043e\u0434\u043d\u0443 \u0438 \u0442\u0443 \u0436\u0435 \u044f\u0447\u0435\u0439\u043a\u0443.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">\u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f. 1 \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d \u0434\u043e \u0442\u0440\u0435\u0445 \u0431\u0430\u0439\u0442, \u0433\u0434\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0431\u0430\u0439\u0442 &#8212; \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u043f\u0435\u0440\u0432\u044b\u0445 \u0434\u0432\u0443\u0445 \u0431\u0430\u0439\u0442\u043e\u0432; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c CRC-8\/MAXIM (\u043e\u043d \u0436\u0435 Dallas).<\/p>\n<p>\u0412 \u043f. 2 \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 244px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435<\/td>\n<td style=\"height: 24px;\">\u041c\u041a =&gt; \u041f\u041a<\/td>\n<td style=\"height: 24px;\">\u041f\u041a =&gt; \u041c\u041a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 34px;\" rowspan=\"2\">\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u0431\u043b\u043e\u043a\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/td>\n<td style=\"height: 10px;\"><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. \u0411\u0430\u0439\u0442 0<\/strong>: 0x53 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;S&#187;)<br \/>\n<strong>\u0414\u0430\u043d\u043d\u044b\u0435. \u0411\u0430\u0439\u0442 1:<\/strong> \u0430\u0434\u0440\u0435\u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u044b<br \/>\n<strong>\u0411\u0430\u0439\u0442 2:<\/strong> \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC<\/td>\n<td style=\"height: 10px;\">\u00ad<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\"><strong>\u00a0<\/strong><\/td>\n<td style=\"height: 24px;\">\u041d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 90px;\" rowspan=\"2\">\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u041f\u041a<\/td>\n<td style=\"height: 24px;\"><\/td>\n<td style=\"height: 24px;\"><strong>\u0411\u0430\u0439\u0442 0<\/strong>: <strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. <\/strong> 0x49 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;I&#187;)<br \/>\n<strong>\u0411\u0430\u0439\u0442 1: \u0414\u0430\u043d\u043d\u044b\u0435. <\/strong>\u00a0\u041b\u044e\u0431\u043e\u0439 \u0431\u0430\u0439\u0442, \u043d\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u043d.<br \/>\n<strong>\u0411\u0430\u0439\u0442 2:<\/strong> \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC<\/td>\n<\/tr>\n<tr style=\"height: 111px;\">\n<td style=\"height: 66px;\"><strong style=\"font-family: inherit; font-size: inherit;\">\u0411\u0430\u0439\u0442 0<\/strong><span style=\"font-family: inherit; font-size: inherit;\">: <\/span><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. <\/strong>0x49 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;I&#187;)<br \/>\n<strong>\u0411\u0430\u0439\u0442 1: <\/strong><strong>\u0414\u0430\u043d\u043d\u044b\u0435.<\/strong> \u0411\u0430\u0439\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445\/\u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u0432\u0445\u043e\u0434\u043e\u0432<br \/>\n<strong>\u0411\u0430\u0439\u0442 2:<\/strong> \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC<br \/>\n<em>&lt;\u043f\u0430\u0443\u0437\u0430&gt;<br \/>\n<\/em><strong style=\"font-family: inherit; font-size: inherit;\">\u0411\u0430\u0439\u0442 0<\/strong><span style=\"font-family: inherit; font-size: inherit;\">: <\/span><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a.<\/strong> 0x53 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;S&#187;)<br \/>\n<strong>\u0411\u0430\u0439\u0442 1: <\/strong><strong>\u0414\u0430\u043d\u043d\u044b\u0435.<\/strong> \u0430\u0434\u0440\u0435\u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u044b<br \/>\n<strong>\u0411\u0430\u0439\u0442 2:<\/strong> \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC<\/td>\n<td style=\"height: 66px;\"><strong>\u00a0<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 48px;\" rowspan=\"2\">\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\/\u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u0432\u0445\u043e\u0434\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u041f\u041a<\/td>\n<td style=\"height: 24px;\">\u00ad\u00ad\u00ad<\/td>\n<td style=\"height: 24px;\"><strong style=\"font-family: inherit; font-size: inherit;\">\u0411\u0430\u0439\u0442 0<\/strong><span style=\"font-family: inherit; font-size: inherit;\">: <\/span><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a.<\/strong> 0x57 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;W&#187;)<br \/>\n<strong>\u0411\u0430\u0439\u0442 1: <\/strong><strong>\u0414\u0430\u043d\u043d\u044b\u0435. <\/strong>\u043d\u0430\u0431\u043e\u0440 \u0431\u0438\u0442, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u043c \u0432\u0445\u043e\u0434\u0430\u043c.<br \/>\n<strong>\u0411\u0430\u0439\u0442 2:<\/strong> \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\"><strong style=\"font-family: inherit; font-size: inherit;\">\u0411\u0430\u0439\u0442 0<\/strong><span style=\"font-family: inherit; font-size: inherit;\">: <\/span><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a.<\/strong> 0x57 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;W&#187;)<br \/>\n<strong>\u0411\u0430\u0439\u0442 1: <\/strong><strong>\u0414\u0430\u043d\u043d\u044b\u0435. <\/strong>\u043d\u0430\u0431\u043e\u0440 \u0431\u0438\u0442, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u043c \u0432\u0445\u043e\u0434\u0430\u043c.<br \/>\n<strong>\u0411\u0430\u0439\u0442 2:<\/strong> \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC<\/td>\n<td style=\"height: 24px;\"><strong>\u00a0<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 48px;\" rowspan=\"2\">\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u041f\u041a<\/td>\n<td style=\"height: 24px;\">\u00ad<\/td>\n<td style=\"height: 24px;\"><strong style=\"font-family: inherit; font-size: inherit;\">\u0411\u0430\u0439\u0442 0<\/strong><span style=\"font-family: inherit; font-size: inherit;\">: <\/span><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a.<\/strong> 0x53 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;S&#187;)<br \/>\n<strong>\u0411\u0430\u0439\u0442 1: <\/strong><strong>\u0414\u0430\u043d\u043d\u044b\u0435.<\/strong> \u0430\u0434\u0440\u0435\u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u044b<br \/>\n<strong>\u0411\u0430\u0439\u0442 2:<\/strong> \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\"><strong style=\"font-family: inherit; font-size: inherit;\">\u0411\u0430\u0439\u0442 0<\/strong><span style=\"font-family: inherit; font-size: inherit;\">: <\/span><strong>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a.<\/strong> 0x53 (ASCII \u0441\u0438\u043c\u0432\u043e\u043b &#171;S&#187;)<br \/>\n<strong>\u0411\u0430\u0439\u0442 1: <\/strong><strong>\u0414\u0430\u043d\u043d\u044b\u0435.<\/strong> \u0430\u0434\u0440\u0435\u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u044b<br \/>\n<strong>\u0411\u0430\u0439\u0442 2:<\/strong> \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC<\/td>\n<td style=\"height: 24px;\"><strong>\u00a0<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043b\u044e\u0431\u0430\u044f \u043f\u043e\u0441\u044b\u043b\u043a\u0430 \u043a\u043e\u043c\u0430\u043d\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 (\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435, \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a) \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043e\u0442\u0432\u0435\u0442\u043d\u043e\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0438 \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c. \u0414\u0430 \u0435\u0449\u0435 \u0438 \u0441 CRC &#8212; \u043c\u044b\u0448 \u043d\u0435 \u043f\u0440\u043e\u0441\u043a\u043e\u0447\u0438\u0442\u044c!<\/p>\n<p style=\"text-align: justify;\">\u0418\u0437\u0440\u044f\u0434\u043d\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u043b \u0437\u0430\u0434\u0443\u043c\u0430\u0442\u044c\u0441\u044f \u043f.3. \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e:<\/p>\n<ol style=\"list-style-type: lower-alpha; text-align: justify;\">\n<li style=\"text-align: justify;\">\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439. \u0422\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0439 wear leveling &#8212; \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0412\u0421\u0415\u0425 \u044f\u0447\u0435\u0435\u043a EEPROM \u043f\u0430\u043c\u044f\u0442\u0438, \u0442\u043e \u0435\u0441\u0442\u044c \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u0438 (\u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c ID \u0437\u0430\u043f\u0438\u0441\u0438, \u0438\u043b\u0438 \u0437\u0430\u0442\u0438\u0440\u0430\u0442\u044c \u0434\u043e FF \u043f\u0440\u043e\u0448\u043b\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u043f\u043e \u043d\u0435\u043c\u0443 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0437\u0430\u043f\u0438\u0441\u044c);<\/li>\n<li style=\"text-align: justify;\">\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e-\u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0439. \u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0443\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043e\u0431\u0449\u0435\u0439 \u0448\u0438\u043d\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u043f\u0440\u0438 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 &#171;0&#187; \u043d\u0430 \u043f\u043e\u0440\u0442 INT0 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 (PD2), \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0432\u044b\u0437\u044b\u0432\u0430\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u0435 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0448\u0438\u043d\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0435\u043c\u043a\u043e\u0441\u0442\u0438 (\u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f). \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e &#171;\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f&#187; \u043e\u0442 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0441\u0445\u0435\u043c\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 MOSFET \u0441 \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0438\u043c \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 (\u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0438 \u0448\u0442\u0430\u0442\u043d\u043e\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u0438 \u043e\u0442 \u043e\u0431\u0449\u0435\u0439 \u0448\u0438\u043d\u044b USB).<\/li>\n<li>\u0421\u043a\u043e\u0440\u0435\u0435 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0439, \u0447\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 &#8212; \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u044e\u044e \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0443 FRAM \u0438\u043b\u0438 EEPROM.<\/li>\n<li>\u0420\u0430\u0434\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439. \u041e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d, \u043f\u0440\u0438 \u043f\u043e\u0434\u0430\u0447\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u0447\u0435\u0433\u043e &#8212; \u0432\u0441\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u0437\u0435\u043c\u043b\u0435\u043d\u044b.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">\u0412\u0430\u0440\u0438\u0430\u043d\u0442 d. \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439, \u043d\u043e \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439. \u0412\u0430\u0440\u0438\u0430\u043d\u0442 c. \u043d\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0438\u0442\u0435\u043b\u0435\u043d \u043d\u0438 \u0440\u0430\u0437\u0443 &#8212; \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0431\u0430\u0439\u0442 \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0443? \u0416\u0438\u0440\u043d\u043e \u0447\u0442\u043e-\u0442\u043e&#8230; \u0412\u0430\u0440\u0438\u0430\u043d\u0442 a. \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d, \u043d\u043e \u043f\u043e\u043a\u0430 \u043d\u0435\u044f\u0441\u0435\u043d \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b. \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u044f\u0441\u0435\u043d. \u0412\u0430\u0440\u0438\u0430\u043d\u0442 b. \u0438\u043c\u0435\u0435\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u044e\u0430\u043d\u0441\u043e\u0432: \u043d\u0430 \u043a\u0430\u043a\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0432\u0437\u044f\u0442\u044c \u0441\u0443\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440, \u0447\u0442\u043e\u0431\u044b \u0441 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u0430\u0434\u043e\u043a \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f, \u0441\u00a0 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b &#8212; \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u0431\u043e\u043b\u0435\u0435 \u043d\u0438\u0437\u043a\u043e\u043c &#171;\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u043c&#187; \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b (\u0442\u0430\u043a\u0442\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 11 \u041c\u0413\u0446 \u0432\u0441\u0435-\u0442\u0430\u043a\u0438)? \u0418 \u043a\u0430\u043a\u043e\u0439 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0435\u043c\u043a\u043e\u0441\u0442\u044c \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440\u0430, \u0447\u0442\u043e\u0431 \u0435\u0433\u043e \u044d\u043d\u0435\u0440\u0433\u0438\u0438 \u0445\u0432\u0430\u0442\u0438\u043b\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 EEPROM, \u0430 \u043f\u0440\u0438 \u0437\u0430\u0440\u044f\u0434\u043a\u0435 \u043e\u043d \u043d\u0435 \u0441\u0436\u0435\u0433 \u043f\u043e\u0440\u0442 USB?<\/p>\n<p style=\"text-align: justify;\">\u041b\u0435\u0433\u043a\u0438\u0445 \u043f\u0443\u0442\u0435\u0439 \u043c\u044b \u043d\u0435 \u0438\u0449\u0435\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0445\u0435\u043c\u0430 \u043d\u0438\u0436\u0435:<\/p>\n<p><a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/04\/antenna_switch_attiny_2313_circuit_v1.3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1988\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/04\/antenna_switch_attiny_2313_circuit_v1.3-1024x620.png\" alt=\"\" width=\"734\" height=\"444\" srcset=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/04\/antenna_switch_attiny_2313_circuit_v1.3-1024x620.png 1024w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/04\/antenna_switch_attiny_2313_circuit_v1.3-300x182.png 300w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/04\/antenna_switch_attiny_2313_circuit_v1.3-768x465.png 768w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/04\/antenna_switch_attiny_2313_circuit_v1.3-1536x929.png 1536w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/04\/antenna_switch_attiny_2313_circuit_v1.3-1170x708.png 1170w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/04\/antenna_switch_attiny_2313_circuit_v1.3.png 1636w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u044d\u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043d\u0438\u0436\u0435<\/p>\n<details>\n<pre class=\"EnlighterJSRAW\">\/*****************************************************\r\nProject : Antenna Switch\r\nVersion : 1.3\r\nDate    : 12.04.2021\r\nAuthor  : R4ADX\r\nCompany : Unlis\r\nComments: \r\n\r\nChip type           : ATtiny2313\r\nClock frequency     : 11,059200 MHz\r\nMemory model        : Tiny\r\nExternal SRAM size  : 0\r\nData Stack size     : 32\r\n*****************************************************\/\r\n\r\n#include &lt;avr\/io.h&gt;\r\n#include &lt;avr\/interrupt.h&gt;\r\n#include &lt;util\/delay.h&gt;\r\n\r\n#define SH PD5 \t\t\t\t\t\t\t\t\t\/\/ \u0422\u0430\u043a\u0442\u043e\u0432\u044b\u0439 \u0432\u044b\u0445\u043e\u0434 74HC595\r\n#define DS PD4 \t\t\t\t\t\t\t\t\t\/\/ \u0412\u044b\u0445\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445 74HC595\r\n#define ST PD3 \t\t\t\t\t\t\t\t\t\/\/ \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f\r\n#define SPW PD2\t\t\t\t\t\t\t\t\t\/\/ \u0412\u0445\u043e\u0434 \u0441\u0443\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430\r\n#define F_CPU 11059200\t\t\t\t\t\t\t\t\/\/ \u0422\u0430\u043a\u0442\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 MCU\r\n#define baudrate 9600L\t\t\t\t\t\t\t\t\/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 USART\r\n#define baud (F_CPU\/(16*baudrate)-1)\t\t\t\t\t\t\/\/ \r\n\r\nunsigned char tab[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80}; \t\/\/ \u041a\u043e\u0434\u044b \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0440\u0442\u043e\u0432\r\nunsigned char count;\t\t\t\t\t\t\t\t\/\/ \u0421\u0447\u0435\u0442\u0447\u0438\u043a \u0434\u043b\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b\r\nunsigned char i;\r\nunsigned char temp;\r\nunsigned char antenna;\t\t\t\t\t\t\t\t\/\/ \u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\r\nunsigned char buf[3];\t\t\t\t\t\t\t\t\/\/ \u0411\u0443\u0444\u0435\u0440 \u043f\u0440\u0438\u0435\u043c\u0430 UART\r\nunsigned char addr = 0;\r\nunsigned char crc_byte;\t\t\t\t\t\t\t\t\/\/ \u0411\u0430\u0439\u0442 \u0434\u043b\u044f \u043f\u043e\u0431\u0438\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f CRC\r\nvolatile unsigned char enabled;\t\t\t\t\t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 EEPROM *\/\r\nvoid EEPROM_write(unsigned int uiAddress, unsigned char ucData) {\r\n\twhile(EECR &amp; (1&lt;&lt;EEPE)) {}; \t\t\t\t\t\t\/\/ \u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEEAR = uiAddress;\t\t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\r\n\tEEDR = ucData;\t\t\t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445\r\n\tEECR |= (1&lt;&lt;EEMPE);\t\t\t\t\t\t\t\/\/ \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEECR |= (1&lt;&lt;EEPE);\t\t\t\t\t\t\t\/\/ \u041d\u0430\u0447\u0430\u043b\u043e \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 EEPROM\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u0437 EEPROM *\/\r\nunsigned char EEPROM_read(unsigned int uiAddress) {\r\n\twhile(EECR &amp; (1&lt;&lt;EEPE)) {}; \t\t\t\t\t\t\/\/ \u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEEAR = uiAddress; \t\t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\r\n\tEECR |= (1&lt;&lt;EERE); \t\t\t\t\t\t\t\/\/ \u041d\u0430\u0447\u0430\u043b\u043e \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u0437 EEPROM\r\n\treturn EEDR;\t\t\t\t\t\t\t\t\/\/ \u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 74HC595 *\/\r\nvoid shift_595(antenna) {\r\n\tfor (count = 0; count &lt; 8; count++) {\r\n\t\tPORTD =(antenna &amp; 0x80) ? PORTD | (1&lt;&lt;DS) : PORTD &amp; ~(1&lt;&lt;DS);\r\n\t\tPORTD |= (1&lt;&lt;SH);\r\n\t\t_delay_us(2);\r\n\t\tPORTD &amp;= ~(1&lt;&lt;SH);\r\n\t\tantenna = antenna &lt;&lt;1;\r\n\t\t}\r\n\tPORTD |= (1&lt;&lt;ST);\r\n\t_delay_us(2);\r\n\tPORTD &amp;= ~(1&lt;&lt;ST);\r\n}\r\n\/* \u0420\u0430\u0441\u0447\u0435\u0442 CRC-8 \u043f\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 MAXIM (Dallas) *\/\r\nunsigned char crc8(unsigned char *buff, unsigned char bsize) {\r\n\tunsigned char crc = 0;\r\n\tfor (count = 0; count &lt; bsize; count++) {\r\n\t\tcrc_byte = buff[count];\r\n\t\tfor (i = 0; i &lt; 8; i++) { crc = ((crc ^ crc_byte) &amp; 0x01) ? (crc &gt;&gt; 1) ^ 0x8C : (crc &gt;&gt; 1);\r\n\t\tcrc_byte &gt;&gt;= 1;\r\n\t\t}\r\n\t}\r\n\treturn crc;\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 USART *\/\r\nvoid to_PC(unsigned char head, unsigned char body) {\r\n\tunsigned char buffer[3];\t\t\t\t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0431\u0443\u0444\u0435\u0440 \u043f\u043e \u043e\u0431\u0440\u0430\u0437\u0443 \u0438 \u043f\u043e\u0434\u043e\u0431\u0438\u044e \u043d\u0430\u0448\u0435\u043c\u0443\r\n\tbuffer[0] = head;\t\t\t\t\t\t\t\/\/ \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043f\u0430\u043a\u0435\u0442\u0430\r\n\tbuffer[1] = body;\t\t\t\t\t\t\t\/\/ \u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u0430\r\n\tbuffer[2] = crc8(buffer, sizeof(buffer) - 1);\t\t\t\t\/\/ \u0412\u044b\u0447\u0438\u0441\u043b\u0430\u0435\u043c CRC \u0431\u0443\u0444\u0435\u0440\u0430, \u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u044f\u0447\u0435\u0439\u043a\u0438\r\n\tfor (count = 0; count &lt; sizeof(buffer); count++) {\t\t\t\/\/ \u0421\u043a\u0430\u0440\u043c\u043b\u0438\u0432\u0430\u0435\u043c \u0431\u0443\u0444\u0435\u0440 \u0432 USART\r\n\t\twhile(!(UCSRA&amp;(1&lt;&lt;UDRE))){}; \t\t\t\t\t\/\/ \u0416\u0434\u0435\u043c \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0440\u0442\u0430 \r\n\t\tUDR = buffer[count];\t\t\t\t\t\t\/\/ \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0431\u0430\u0439\u0442\r\n\t}\r\n}\r\n\r\n\/* \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u0440\u0438\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430 *\/\r\nvoid from_PC(unsigned char *data) {\r\n    unsigned char crc = crc8(buf, sizeof(buf));\t\t\t\t\t\/\/ \u0441\u0447\u0438\u0442\u0430\u0435\u043c CRC \u0431\u0443\u0444\u0435\u0440\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e\r\n    if (crc == 0) {\t\t\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u0441\u043e\u0448\u043b\u043e\u0441\u044c - \r\n\t\tswitch (data[0]) {\t\t\t\t\t\t\/\/ \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435\r\n\t\t\tcase 0x49:\tto_PC('I', enabled);\t\t\t\/\/ I - \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430. \u041f\u043e\u0441\u044b\u043b\u043a\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\r\n\t\t\t\t\t\t_delay_ms(10);\t\t\t\/\/\r\n\t\t\t\t\t\tto_PC('S', antenna);\t\t\/\/ \u041f\u043e\u0441\u044b\u043b\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\r\n\t\t\t\t\t\tbreak;\r\n\t\t\tcase 0x53:\tantenna = data[1];\t\t\t\/\/ S - \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d \u0441 \u041f\u041a\r\n\t\t\t\t\t\tshift_595(antenna);\t\t\/\/ ...\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u043b\u0438\r\n\/\/\t\t\t\t\t\tEEPROM_write(0x01, antenna);\t\/\/ ...\u0437\u0430\u043f\u043e\u043c\u043d\u0438\u043b\u0438\r\n\t\t\t\t\t\tto_PC('S', antenna);\t\t\/\/ ...\u043e\u0442\u0441\u044b\u043b\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f\r\n\t\t\t\t\t\tbreak;\r\n\t\t\tcase 0x57:\tenabled = data[1];\t\t\t\/\/ W - \u0417\u0430\u043f\u0438\u0441\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\r\n\t\t\t\t\t\tEEPROM_write(0, enabled);\t\/\/ \u0432 EEPROM\r\n\t\t\t\t\t\tto_PC('W', enabled);\t\t\/\/ \u041e\u0442\u0441\u044b\u043b\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f\r\n\t\t\t\t\t\tbreak;\r\n\t\t}\r\n    } else {\t\t\t\t\t\t\t\t\t\/\/ \u0414\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438...\r\n    PORTD |= (1&lt;&lt;PD6);\t\t\t\t\t\t\t\t\/\/ \u041f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0435 \u0432 CRC\t\r\n\t_delay_ms(500);\t\t\t\t\t\t\t\t\/\/ \r\n\tPORTD &amp;= ~(1&lt;&lt;PD6);\t\t\t\t\t\t\t\/\/ \u043c\u0438\u0433\u0430\u0435\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c\r\n    }\r\n}\r\n\r\nint main(void) {\r\n\r\n\/* \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0440\u0442\u043e\u0432 *\/\r\n\tDDRB = 0x00; \t\t\t\t\t\t\t\t\/\/ PortB \u043d\u0430 \u0432\u0445\u043e\u0434\r\n\tPORTB = 0xFF; \t\t\t\t\t\t\t\t\/\/ \u041f\u043e\u0434\u0442\u044f\u0436\u043a\u0430\r\n\tDDRD |= (1&lt;&lt;SH) | (1&lt;&lt;DS) | (1&lt;&lt;ST); \t\t\t\t\t\/\/ PortD HC595 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\r\n\tDDRD &amp;= ~(1&lt;&lt;SPW);\t\t\t\t\t\t\t\/\/ \u0412\u0445\u043e\u0434 \u043e\u0442 \u0441\u0443\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430\r\n\tDDRD |= (1&lt;&lt;PD6);\t\t\t\t\t\t\t\/\/ \u0421\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438\r\n\r\n\/* \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f INT0 *\/\r\n\tGIMSK |= (1&lt;&lt;INT0);\t\t\t\t\t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0432\u043d\u0435\u0448\u043d\u0435\u0435 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435 \u043e\u0442 INT0\r\n\tMCUCR |= (0&lt;&lt;ISC00) | (0&lt;&lt;ISC01); \t\t\t\t\t\/\/ \u041f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u043d\u0438\u0437\u043a\u043e\u043c\u0443 \u0443\u0440\u043e\u0432\u043d\u044e \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 INT0 \r\n\r\n\/* \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 UART *\/ \r\n\tUBRRH = (unsigned char)(baud&gt;&gt;8); \t\t\t\t\t\/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0440\u0442\u0430\r\n\tUBRRL = (unsigned char)baud;\t\t\t\t\t\t\/\/\r\n\tUCSRB = (1&lt;&lt;RXEN) | (1&lt;&lt;TXEN) | (1&lt;&lt;RXCIE); \t\t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0435\u043c \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0447\u0435\u0440\u0435\u0437 USART. \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u0438\u0435\u043c\u0443\r\n\tUCSRC = (0&lt;&lt;USBS) | (1&lt;&lt;UCSZ0) | (1&lt;&lt;UCSZ1); \t\t\t\t\/\/ \u0420\u0435\u0436\u0438\u043c UART: 8n1 \r\n\tenabled = EEPROM_read(0x00);\t\t\t\t\t\t\/\/ \u0427\u0438\u0442\u0430\u0435\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b\r\n\tantenna = EEPROM_read(0x01); \t\t\t\t\t\t\/\/ \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0430\u044f \u0430\u043d\u0442\u0435\u043d\u043d\u0430\r\n\tshift_595(antenna);\t\t\t\t\t\t\t\/\/ \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u043d\u0442\u0435\u043d\u043d\u0443\r\n\tsei();\r\n\r\nwhile(1) {\r\nm1:\t\ttemp = PINB;  \r\n\t\tfor (count = 0; count &lt; 8; count++) { \t\t\t\t\/\/ \u0426\u0438\u043a\u043b \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \r\n\t\t\tif ((temp&amp;1) == 0) { \t\t\t\t\t\/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043c\u043b\u0430\u0434\u0448\u0435\u0433\u043e \u0431\u0438\u0442\u0430 \r\n\t\t\t_delay_ms(10); \t\t\t\t\t\t\/\/ \u0410\u043d\u0442\u0438\u0434\u0440\u0435\u0431\u0435\u0437\u0433 \r\n\t\t\twhile ( PINB != 0xFF ) {}; \t\t\t\t\/\/ \u0416\u0434\u0435\u043c \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u043d\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a \r\n\t\t\tgoto m2; \r\n\t\t\t} \r\n\t\t\ttemp &gt;&gt;= 1; \t\t\t\t\t\t\/\/ \u0421\u0434\u0432\u0438\u0433\u0430\u0435\u043c \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0431\u0438\u0442\r\n\t\t}\r\n\t\tgoto m1;\t\t\t\t\t\t\t\/\/ \u0418\u0434\u0435\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b\r\nm2:\t\tif ((enabled &amp; (1&lt;&lt;count)) != 0 ) { \t\t\t\t\/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 \r\n\t\t\tantenna = tab[count]; \t\t\t\t\t\/\/ \u0417\u0430\u043f\u0438\u0441\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0430\u043d\u0442\u0435\u043d\u043d\u044b \r\n\t\t\tshift_595(antenna); \t\t\t\t\t\/\/ \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u043b\u0435 \r\n\t\t\tto_PC('S', antenna); \t\t\t\t\t\/\/ \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432 UART \r\n\/\/ \t\t\tEEPROM_write(0x01, antenna); \t\t\t\t\/\/ \u0417\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0447\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u043b\u0438 \r\n\t\t} \r\n\t} \r\n}\r\n\r\n\/* \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u0438\u0435\u043c\u0443 UART *\/ \r\nISR(USART_RX_vect) { \r\n\tbuf[addr] = UDR; \/\/ \u0427\u0438\u0442\u0430\u0435\u043c UART \u0432 \u0431\u0443\u0444\u0435\u0440 \r\n\taddr++; \t\t\t\t\t\t\t\t\/\/ \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0444\u0435\u0440\u0430 \r\n\tif (addr &gt; 2) {\r\n\t\tfrom_PC(buf);\t\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u043b\u0441\u044f -  \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u0440\u0438\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430\r\n\t\taddr = 0;  \t\t\t\t\t\t\t\/\/ \u0421\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0444\u0435\u0440\u0430.\r\n\t}\r\n}\r\n\r\n\/* \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044e \u0441\u0443\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430 *\/\r\nISR(INT0_vect) {\r\n\tEEPROM_write(0x01, antenna);\t\t\t\t\t\t\/\/ \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c\u0441\u044f \u043f\u0440\u0438 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f\r\n}\r\n<\/pre>\n<\/details>\n<p>&nbsp;<\/p>\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0432\u0435\u0440\u0436\u0435\u043d\u0430 \u043c\u043e\u0434\u0435\u0440\u043d\u0438\u0437\u0430\u0446\u0438\u0438<\/p>\n<hr \/>\n<h2>\u0412\u0435\u0440\u0441\u0438\u044f 1.4<\/h2>\n<p style=\"text-align: right;\"><em>&#8230;\u0438 \u0441\u043d\u043e\u0432\u0430 \u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0432\u0430\u0448\u0435\u0439 \u0430\u0434\u0443\u0440\u0438\u043d\u044b.<\/em><\/p>\n<p style=\"text-align: justify;\">\u041c\u044b\u0441\u043b\u044c \u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 EEPROM \u043d\u0435 \u0434\u0430\u0432\u0430\u043b\u0430 \u043c\u043d\u0435 \u043f\u043e\u043a\u043e\u044f&#8230; \u0418, \u0432\u044b\u043a\u0438\u043d\u0443\u0432 \u0438\u0437 \u0441\u0445\u0435\u043c\u044b \u0441\u0443\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440, \u0437\u0430\u043f\u0438\u0442\u0430\u0432 \u0432\u043e\u043e\u0431\u0449\u0435 \u0432\u0441\u0451 \u043e\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f (\u043d\u0430 \u0441\u0445\u0435\u043c\u0435 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d), \u0434\u043e\u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u043d \u043a\u043e\u043b\u044c\u0446\u0435\u0432\u043e\u0439 \u0431\u0435\u0437\u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0439 \u0431\u0443\u0444\u0435\u0440 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 &#8212; \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b.<\/p>\n<p><a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-2008\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4-1024x612.png\" alt=\"\" width=\"734\" height=\"439\" srcset=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4-1024x612.png 1024w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4-300x179.png 300w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4-768x459.png 768w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4-1170x699.png 1170w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.png 1479w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u0440\u043e\u0441\u0442 &#8212; \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0438\u0441\u043a \u044f\u0447\u0435\u0439\u043a\u0438 \u0441 \u0431\u0430\u0439\u0442\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b \u043f\u0443\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u0432\u0441\u0435\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u044f\u0447\u0435\u0435\u043a (\u043e\u0442 1 \u0434\u043e 127, \u043d\u0443\u043b\u0435\u0432\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0430, \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0437\u0430\u043d\u044f\u0442\u0430 \u043f\u043e\u0434 \u0434\u0440\u0443\u0433\u0438\u0435 \u043d\u0443\u0436\u0434\u044b) \u0434\u043e \u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0435 \u043e\u0442 0xFF. \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u0445\u0440\u0430\u043d\u044f\u0449\u0443\u044e \u0432 \u0441\u0435\u0431\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b, \u0430\u0434\u0440\u0435\u0441 \u0436\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0434\u043b\u044f \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u043a \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0430 EEPROM \u0437\u0430\u0442\u0438\u0440\u0430\u0435\u0442\u0441\u044f, \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b, \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0430\u0434\u0440\u0435\u0441\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0434\u043b\u044f \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438.<\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a \u0432 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u0435<\/p>\n<details>\n<pre>\/*****************************************************\r\nProject : Antenna Switch\r\nVersion : 1.4\r\nDate    : 27.04.2021\r\nAuthor  : R4ADX\r\nCompany : Unlis\r\nComments: \r\n\r\nChip type           : ATtiny2313\r\nClock frequency     : 11,059200 MHz\r\nMemory model        : Tiny\r\nExternal SRAM size  : 0\r\nData Stack size     : 32\r\n*****************************************************\/\r\n\r\n#include &lt;avr\/io.h&gt;\r\n#include &lt;avr\/interrupt.h&gt;\r\n#include &lt;util\/delay.h&gt;\r\n\r\n#define SH PD5 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0422\u0430\u043a\u0442\u043e\u0432\u044b\u0439 \u0432\u044b\u0445\u043e\u0434 74HC595\r\n#define DS PD4 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0412\u044b\u0445\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445 74HC595\r\n#define ST PD3 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f\r\n#define SPW PD2\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0412\u0445\u043e\u0434 \u0441\u0443\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430\r\n#define F_CPU 11059200\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0422\u0430\u043a\u0442\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 MCU\r\n#define baudrate 9600L\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 USART\r\n#define baud (F_CPU\/(16*baudrate)-1)\t\t\t\t\t\t\t\t\t\t\/\/ \r\n\r\nunsigned char tab[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80}; \t\/\/ \u041a\u043e\u0434\u044b \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0440\u0442\u043e\u0432\r\nunsigned char count;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0421\u0447\u0435\u0442\u0447\u0438\u043a \u0434\u043b\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b\r\nunsigned char i;\r\nunsigned char temp;\r\nunsigned char antenna;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\r\nunsigned char buf[3];\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0411\u0443\u0444\u0435\u0440 \u043f\u0440\u0438\u0435\u043c\u0430 UART\r\nunsigned char buf_addr = 0x00;\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0410\u0434\u0440\u0435\u0441 \u0431\u0443\u0444\u0435\u0440\u0430 \u043f\u0440\u0438\u0435\u043c\u0430\r\nunsigned char ee_addr = 0x01;\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0410\u0434\u0440\u0435\u0441 \u044f\u0447\u0435\u0439\u043a\u0438 EEPROM \u0434\u043b\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\r\nunsigned char crc_byte;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0411\u0430\u0439\u0442 \u0434\u043b\u044f \u043f\u043e\u0431\u0438\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f CRC\r\nvolatile unsigned char enabled;\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 EEPROM *\/\r\nvoid EEPROM_write(unsigned int uiAddress, unsigned char ucData) {\r\n\twhile(EECR &amp; (1&lt;&lt;EEPE)) {}; \t\t\t\t\t\t\t\t\t\t\t\/\/ \u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEEAR = uiAddress;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\r\n\tEEDR = ucData;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445\r\n\tEECR |= (1&lt;&lt;EEMPE);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEECR |= (1&lt;&lt;EEPE);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u041d\u0430\u0447\u0430\u043b\u043e \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 EEPROM\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u0437 EEPROM *\/\r\nunsigned char EEPROM_read(unsigned int uiAddress) {\r\n\twhile(EECR &amp; (1&lt;&lt;EEPE)) {}; \t\t\t\t\t\t\t\t\t\t\t\/\/ \u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tEEAR = uiAddress; \t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0430\u0434\u0440\u0435\u0441\u0430\r\n\tEECR |= (1&lt;&lt;EERE); \t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u041d\u0430\u0447\u0430\u043b\u043e \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u0437 EEPROM\r\n\treturn EEDR;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043a\u043e\u043b\u044c\u0446\u0435\u0432\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 EEPROM *\/\r\nvoid store(void) {\r\n\tunsigned char old_addr;\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\tif (ee_addr == 0x01) {\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u0435\u043f\u0435\u0448\u0435\u043b \u0441 \u043a\u043e\u043d\u0446\u0430 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e \u0431\u0443\u0444\u0435\u0440\u0430 -\r\n\t\told_addr = 0x7F;\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u0437\u0430\u0442\u0438\u0440\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u043d\u0430 \u043a\u043e\u043d\u0435\u0446 \u0431\u0443\u0444\u0435\u0440\u0430\r\n\t} else {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 \u043a\u043e\u043d\u0446\u0430 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e \u0431\u0443\u0444\u0435\u0440\u0430 -\r\n\t\told_addr = ee_addr - 1;\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043d\u0438\u043c\u0435\u043c \u0435\u0434\u0438\u043d\u0438\u0446\u0443\r\n\t}\r\n\tEEPROM_write(old_addr, 0xFF);\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0417\u0430\u0442\u0438\u0440\u0430\u0435\u043c \u044f\u0447\u0435\u0439\u043a\u0443 \u0441 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e\r\n\tEEPROM_write(ee_addr, antenna);\t\t \t\t\t\t\t\t\t\t\t\/\/ \u0417\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0447\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u043b\u0438\r\n\tee_addr++;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0410\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0438\r\n\tif (ee_addr == 0x80) ee_addr = 0x01;\t\t\t\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u0434\u043e\u0448\u043b\u0438 \u0434\u043e \u043a\u043e\u043d\u0446\u0430 - \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 74HC595 *\/\r\nvoid shift_595(antenna) {\r\n\tfor (count = 0; count &lt; 8; count++) {\r\n\t\tPORTD =(antenna &amp; 0x80) ? PORTD | (1&lt;&lt;DS) : PORTD &amp; ~(1&lt;&lt;DS);\r\n\t\tPORTD |= (1&lt;&lt;SH);\r\n\t\t_delay_us(2);\r\n\t\tPORTD &amp;= ~(1&lt;&lt;SH);\r\n\t\tantenna = antenna &lt;&lt;1;\r\n\t\t}\r\n\tPORTD |= (1&lt;&lt;ST);\r\n\t_delay_us(2);\r\n\tPORTD &amp;= ~(1&lt;&lt;ST);\r\n}\r\n\/* \u0420\u0430\u0441\u0447\u0435\u0442 CRC-8 \u043f\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 MAXIM (Dallas) *\/\r\nunsigned char crc8(unsigned char *buff, unsigned char bsize) {\r\n\tunsigned char crc = 0;\r\n\tfor (count = 0; count &lt; bsize; count++) {\r\n\t\tcrc_byte = buff[count];\r\n\t\tfor (i = 0; i &lt; 8; i++) { crc = ((crc ^ crc_byte) &amp; 0x01) ? (crc &gt;&gt; 1) ^ 0x8C : (crc &gt;&gt; 1);\r\n\t\tcrc_byte &gt;&gt;= 1;\r\n\t\t}\r\n\t}\r\n\treturn crc;\r\n}\r\n\r\n\/* \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 USART *\/\r\nvoid to_PC(unsigned char head, unsigned char body) {\r\n\tunsigned char buffer[3];\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0431\u0443\u0444\u0435\u0440 \u043f\u043e \u043e\u0431\u0440\u0430\u0437\u0443 \u0438 \u043f\u043e\u0434\u043e\u0431\u0438\u044e \u043d\u0430\u0448\u0435\u043c\u0443\r\n\tbuffer[0] = head;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043f\u0430\u043a\u0435\u0442\u0430\r\n\tbuffer[1] = body;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u0430\r\n\tbuffer[2] = crc8(buffer, sizeof(buffer) - 1);\t\t\t\t\t\t\t\/\/ \u0412\u044b\u0447\u0438\u0441\u043b\u0430\u0435\u043c CRC \u0431\u0443\u0444\u0435\u0440\u0430, \u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u044f\u0447\u0435\u0439\u043a\u0438\r\n\tfor (count = 0; count &lt; sizeof(buffer); count++) {\t\t\t\t\t\t\/\/ \u0421\u043a\u0430\u0440\u043c\u043b\u0438\u0432\u0430\u0435\u043c \u0431\u0443\u0444\u0435\u0440 \u0432 USART\r\n\t\twhile(!(UCSRA&amp;(1&lt;&lt;UDRE))){}; \t\t\t\t\t\t\t\t\t\t\/\/ \u0416\u0434\u0435\u043c \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0440\u0442\u0430 \r\n\t\tUDR = buffer[count];\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0431\u0430\u0439\u0442\r\n\t}\r\n}\r\n\r\n\/* \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u0440\u0438\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430 *\/\r\nvoid from_PC(unsigned char *data) {\r\n    unsigned char crc = crc8(buf, sizeof(buf));\t\t\t\t\t\t\t\t\/\/ \u0441\u0447\u0438\u0442\u0430\u0435\u043c CRC \u0431\u0443\u0444\u0435\u0440\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e\r\n    if (crc == 0) {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u0441\u043e\u0448\u043b\u043e\u0441\u044c - \r\n\t\tswitch (data[0]) {\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435\r\n\t\t\tcase 0x49:\tto_PC('I', enabled);\t\t\t\t\t\t\t\t\/\/ I - \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430. \u041f\u043e\u0441\u044b\u043b\u043a\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\r\n\t\t\t\t\t_delay_ms(10);\t\t\t\t\t\t\t\t\t\t\/\/\r\n\t\t\t\t\tto_PC('S', antenna);\t\t\t\t\t\t\t\t\/\/ \u041f\u043e\u0441\u044b\u043b\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\r\n\t\t\t\t\tbreak;\r\n\t\t\tcase 0x53:\tantenna = data[1];\t\t\t\t\t\t\t\t\t\/\/ S - \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u043d\u0442\u0435\u043d\u043d \u0441 \u041f\u041a\r\n\t\t\t\t\tshift_595(antenna);\t\t\t\t\t\t\t\t\t\/\/ \t\t...\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u043b\u0438\r\n\t\t\t\t\tstore();\t\t\t\t\t\t\t\t\t\t\t\/\/ \t\t...\u0437\u0430\u043f\u043e\u043c\u043d\u0438\u043b\u0438\r\n\t\t\t\t\tto_PC('S', antenna);\t\t\t\t\t\t\t\t\/\/ \t\t...\u043e\u0442\u0441\u044b\u043b\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f\r\n\t\t\t\t\tbreak;\r\n\t\t\tcase 0x57:\tenabled = data[1];\t\t\t\t\t\t\t\t\t\/\/ W - \u0417\u0430\u043f\u0438\u0441\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d\r\n\t\t\t\t\tEEPROM_write(0x00, enabled);\t\t\t\t\t\t\/\/ \u0432 EEPROM\r\n\t\t\t\t\tto_PC('W', enabled);\t\t\t\t\t\t\t\t\/\/ \u041e\u0442\u0441\u044b\u043b\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f\r\n\t\t\t\t\tbreak;\r\n\t\t}\r\n    } else {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0414\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438...\r\n    PORTD |= (1&lt;&lt;PD6);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u041f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0435 \u0432 CRC\t\r\n\t_delay_ms(500);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \r\n\tPORTD &amp;= ~(1&lt;&lt;PD6);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u043c\u0438\u0433\u0430\u0435\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c\r\n    }\r\n}\r\n\r\nint main(void) {\r\n\r\n\/* \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0440\u0442\u043e\u0432 *\/\r\n\tDDRB = 0x00; \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ PortB \u043d\u0430 \u0432\u0445\u043e\u0434\r\n\tPORTB = 0xFF; \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u041f\u043e\u0434\u0442\u044f\u0436\u043a\u0430\r\n\tDDRD |= (1&lt;&lt;SH) | (1&lt;&lt;DS) | (1&lt;&lt;ST); \t\t\t\t\t\t\t\t\t\/\/ PortD HC595 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\r\n\tDDRD |= (1&lt;&lt;PD6); \/\/ \u0421\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \/* \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 UART *\/ UBRRH = (unsigned char)(baud&gt;&gt;8); \t\t\t\t\t\t\t\t\t\t\/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0440\u0442\u0430\r\n\tUBRRL = (unsigned char)baud;\t\t\t\t\t\t\t\t\t\t\t\/\/\r\n\tUCSRB = (1&lt;&lt;RXEN) | (1&lt;&lt;TXEN) | (1&lt;&lt;RXCIE); \t\t\t\t\t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0435\u043c \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0447\u0435\u0440\u0435\u0437 USART. \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u0438\u0435\u043c\u0443\r\n\tUCSRC = (0&lt;&lt;USBS) | (1&lt;&lt;UCSZ0) | (1&lt;&lt;UCSZ1); \t\t\t\t\t\t\t\/\/ \u0420\u0435\u0436\u0438\u043c UART: 8n1 \r\n\tenabled = EEPROM_read(0x00);\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0427\u0438\u0442\u0430\u0435\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b\r\n\tdo  {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0418\u0449\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u044f\u0447\u0435\u0439\u043a\u0438 \r\n\t\tantenna = EEPROM_read(ee_addr); \t\t\t\t\t\t\t\t\t\/\/ \u0427\u0438\u0442\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 EEPROM\r\n\t\tee_addr++;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441\r\n\t\tif (ee_addr == 0x80) ee_addr = 0x01;\t\t\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u0434\u043e\u0448\u043b\u0438 \u0434\u043e \u043a\u043e\u043d\u0446\u0430 - \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e\r\n\t\t}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ !!! \u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0430\u0434\u0440\u0435\u0441\u0430 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u043d\u0430 \u044f\u0447\u0435\u0439\u043a\u0435 \u0434\u043b\u044f \u0421\u041b\u0415\u0414\u0423\u042e\u0429\u0415\u0419 \u0437\u0430\u043f\u0438\u0441\u0438 !!!\r\n\twhile (antenna == 0xFF);\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u041f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u043c \u044f\u0447\u0435\u0439\u043a\u0438 \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 FF\r\n\tshift_595(antenna);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u043d\u0442\u0435\u043d\u043d\u0443\r\n\tsei();\r\n\r\nwhile(1)\r\n\t{\r\nm1:\t\ttemp = PINB;  \r\n\t\tfor (count = 0; count &lt; 8; count++) { \t\t\t\t\t\t\/\/ \u0426\u0438\u043a\u043b \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \r\n\t\tif ((temp&amp;1) == 0) { \t\t\t\t\t\t\t\t\/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043c\u043b\u0430\u0434\u0448\u0435\u0433\u043e \u0431\u0438\u0442\u0430 \r\n\t\t_delay_ms(10); \t\t\t\t\t\t\t\t\t\t\/\/ \u0410\u043d\u0442\u0438\u0434\u0440\u0435\u0431\u0435\u0437\u0433\r\n\t\t while ( PINB != 0xFF ) {}; \t\t\t\t\t\t\t\t\/\/ \u0416\u0434\u0435\u043c \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u043d\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a\r\n\t\t goto m2; \r\n\t\t}\r\n \t\ttemp &gt;&gt;= 1; \t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0421\u0434\u0432\u0438\u0433\u0430\u0435\u043c \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0431\u0438\u0442\r\n\t\t}\r\n\t\tgoto m1;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0418\u0434\u0435\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b\r\nm2:\t\tif ((enabled &amp; (1&lt;&lt;count)) != 0 ) { \t\t\t\t\/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 \r\n\t\tantenna = tab[count];\t\t\t\t\t\t \/\/ \u0417\u0430\u043f\u0438\u0441\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0430\u043d\u0442\u0435\u043d\u043d\u044b \r\n\t\tshift_595(antenna); \t\t\t\t\t\t\/\/ \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u043b\u0435 \r\n\t\tto_PC('S', antenna);\t\t\t\t\t\t \/\/ \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432 UART\r\n\t\t store(); \t\t\t\t\t\t\t\t\/\/ \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 EEPROM \r\n\t\t} \r\n\t\t} \r\n} \r\n\/* \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u0438\u0435\u043c\u0443 UART *\/ \r\nISR(USART_RX_vect) { \r\n\tbuf[buf_addr] = UDR; \/\/ \u0427\u0438\u0442\u0430\u0435\u043c UART \u0432 \u0431\u0443\u0444\u0435\u0440\r\n\tbuf_addr++; \/\/ \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0444\u0435\u0440\u0430 \r\n\tif (buf_addr &gt; 2) {\r\n\t\tfrom_PC(buf);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u043b\u0441\u044f -  \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u0440\u0438\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430\r\n\t\tbuf_addr = 0;  \t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0421\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0444\u0435\u0440\u0430.\r\n\t}\r\n}\r\n<\/pre>\n<\/details>\n<hr \/>\n<p>\u0421\u0441\u044b\u043b\u043a\u0430 \u0434\u043b\u044f \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f <a href=\"https:\/\/forum.cqr4a.ru\/index.php\/topic,5.0.html\" target=\"_blank\" rel=\"noopener\">https:\/\/forum.cqr4a.ru\/index.php\/topic,5.0.html<\/a><\/p>\n<hr \/>\n<p><strong>UPD<\/strong><\/p>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0437\u043c\u043e\u0440\u043e\u0436\u0435\u043d. \u0425\u0443\u0434\u043e-\u0431\u0435\u0434\u043d\u043e, \u0441 \u043a\u043e\u0441\u0442\u044b\u043b\u044f\u043c\u0438, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0430 C#, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043a\u043e\u0435-\u0447\u0442\u043e \u0432\u044b\u043a\u0438\u043d\u0443\u0442\u044c \u0438\u0437 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 (\u043f\u0440\u0438 \u043f\u043e\u0434\u0430\u0447\u0435 \u043a\u043e\u043c\u0430\u043d\u0434 \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442, \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0430 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u0435\u0436\u0434\u0443 \u043f\u043e\u0441\u044b\u043b\u043a\u043e\u0439 &#171;\u043f\u0430\u043a\u0435\u0442\u043e\u0432&#187; \u0431\u0430\u0439\u0442 \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438). \u041f\u0440\u043e\u0435\u043a\u0442 \u0432 VisualStudio \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443, \u043d\u043e \u0435\u0441\u043b\u0438 \u043a\u0442\u043e \u0437\u0430\u0445\u043e\u0447\u0435\u0442 \u0435\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c &#8212; \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u041f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0433-\u043d\u043e\u043a\u043e\u0434 \u0441\u0442\u044b\u0434\u043d\u043e. <a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antswitch.tar.gz\">\u0421\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0442\u0443\u0442<\/a>. Net Framework 4.8 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u0435\u043d.<\/p>\n<p style=\"text-align: justify;\">\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u043d\u043e \u0432\u0430\u0436\u043d\u044b\u0439, \u043d\u044e\u0430\u043d\u0441 \u043f\u0440\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0437\u0430\u0431\u044b\u043b &#8212; \u043f\u0440\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c EEPROM. \u041f\u043e-\u0445\u043e\u0440\u043e\u0448\u0435\u043c\u0443 \u043d\u0430\u0434\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u043a\u043e\u0434\u0435, \u043c\u043e\u0436\u043d\u043e \u0432 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u0440\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438, \u0435\u0441\u043b\u0438 \u041f\u041e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c EEPROM. \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0432 \u043b\u044e\u0431\u043e\u0439 \u043e\u0434\u043d\u043e\u0439 \u044f\u0447\u0435\u0439\u043a\u0435 \u043f\u0430\u043c\u044f\u0442\u0438, \u043a\u0440\u043e\u043c\u0435 \u043d\u0443\u043b\u0435\u0432\u043e\u0439, \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0431\u0430\u0439\u0442 \u0441 \u0435\u0434\u0438\u043d\u0438\u0446\u0435\u0439 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 0x01. \u0418\u043d\u0430\u0447\u0435 \u0446\u0438\u043a\u043b \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b (\u0430 \u043c\u044b \u0436 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u043b\u0438 \u0435\u0449\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438) \u0441\u0442\u0430\u043d\u0435\u0442 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c. \u041c\u043e\u0436\u043d\u043e \u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c, \u0447\u0442\u043e\u0431 \u0434\u0435\u043b\u0430\u043b\u043e \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u0440\u0443\u0433 \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e EEPROM \u0438 \u0443\u0441\u043f\u043e\u043a\u0430\u0438\u0432\u0430\u043b\u043e\u0441\u044c, \u043d\u043e \u043f\u0440\u043e\u0449\u0435 \u0437\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c EEPROM.<\/p>\n<p><strong>UPD2. \u0412\u0435\u0440\u0441\u0438\u044f 1.4.1<\/strong><\/p>\n<p style=\"text-align: justify;\">\u041d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u0440\u0430\u0437\u0432\u0435\u0434\u0435\u043d\u0430 \u043f\u0435\u0447\u0430\u0442\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0440\u0430\u0437\u0432\u043e\u0434\u043a\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043c\u0443\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0438\u043d\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0435\u0441\u044f \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441\u043e \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u043c, \u0441\u0430\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u0431\u044b\u043b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u043f\u043b\u0430\u0442\u044b &#8212; \u043e\u043f\u044f\u0442\u044c \u0436\u0435, \u0438\u0437-\u0437\u0430 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0440\u0430\u0437\u0432\u043e\u0434\u043a\u0438. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u0442\u043e \u0433\u0434\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u0436\u0438\u0432\u0435\u0442, <a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/tiny2313_antenna_switch_v1.4.1.tar.gz\">\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a \u0442\u0443\u0442<\/a>. \u041d\u0430 \u043f\u0438\u043d\u0435 PD6 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430 \u0434\u043b\u044f &#171;\u0434\u0435\u0431\u0430\u0433\u0430&#187;, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0430\u0445 CRC \u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442 \u041f\u041a.<\/p>\n<p style=\"text-align: justify;\">\u0421\u0445\u0435\u043c\u0430 \u043d\u0438\u0436\u0435, \u0440\u0430\u0437\u043d\u0438\u0446\u0430 &#8212; \u0432 \u0432\u044b\u0432\u043e\u0434\u0430\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u044b DD3. \u0411\u043b\u043e\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043d\u0430 \u0441\u0445\u0435\u043c\u0435 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d.<\/p>\n<p><a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-2349 aligncenter\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.1-1024x612.png\" alt=\"\" width=\"734\" height=\"439\" srcset=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.1-1024x612.png 1024w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.1-300x179.png 300w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.1-768x459.png 768w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.1-1170x699.png 1170w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_circuit_v1.4.1.png 1479w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u0427\u0435\u0440\u0442\u0435\u0436 \u043f\u0435\u0447\u0430\u0442\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u0432 Sprint-Layout 5. \u0420\u0430\u0437\u0432\u043e\u0434\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430 \u043d\u0435 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0434\u043e\u0440\u043e\u0436\u0435\u043a, \u0430 \u0432\u0438\u0434\u043e\u043c &#171;\u0441\u043a\u0432\u043e\u0437\u044c \u043f\u043b\u0430\u0442\u0443&#187;. \u041d\u0430 \u043f\u043b\u0430\u0442\u0435 \u0440\u0430\u0437\u0432\u0435\u0434\u0435\u043d\u043e \u043c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u0440\u044f\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u043e\u0441\u0442\u0430 \u0441 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440\u043e\u043c \u0438 \u0442\u0440\u0435\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u043d\u0430 24, 12 \u0438 5 \u0432\u043e\u043b\u044c\u0442. \u041f\u0435\u0440\u0432\u044b\u0435 \u0434\u0432\u0430 &#8212; \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0440\u0435\u043b\u0435, \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 &#8212; \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b. \u0415\u0441\u043b\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c &#8212; \u043f\u0430\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u044b\u0447\u043a\u0438. \u041a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440\u044b-\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u044b \u0442\u0438\u043f\u043e\u0440\u0430\u0437\u043c\u0435\u0440\u0430 0805. \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0430\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u044b \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 DD4 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0448\u0443\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0445 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440\u043e\u0432 \u043d\u0430 0,1 \u043c\u043a\u0424. \u0424\u0430\u0439\u043b \u043f\u0435\u0447\u0430\u0442\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b \u0432 <a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_pcb_v1.4.1.tar.gz\">\u0430\u0440\u0445\u0438\u0432\u0435<\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_pcb_v1.4.1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2353\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_pcb_v1.4.1-1024x539.png\" alt=\"\" width=\"640\" height=\"337\" srcset=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_pcb_v1.4.1-1024x539.png 1024w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_pcb_v1.4.1-300x158.png 300w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_pcb_v1.4.1-768x405.png 768w, https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_pcb_v1.4.1.png 1122w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><strong>\u041f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0438\u0442\u043e\u0433<\/strong><\/p>\n<p style=\"text-align: justify;\">\u0412\u043e\u043f\u0440\u0435\u043a\u0438 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f\u043c, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u0440\u043e\u0448\u0438\u043b\u0441\u044f (\u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0448\u0438\u0442\u044c EEPROM! \u0438 FUSE bits), \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f. \u041c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0430 FT232 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0430\u0441\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0434\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u00a0 &#8212; USB Serial Converter \u0438 COM-\u043f\u043e\u0440\u0442. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u041f\u041a \u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440, \u043f\u0440\u0438 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u0432 \u043d\u0430 \u043f\u043b\u0430\u0442\u0435 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043d\u0430 \u041f\u041a \u0441\u0430\u043c\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043a\u043d\u043e\u043f\u043a\u0438. \u0412 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c &#8212; \u043d\u0435\u0442 \u043d\u0438 \u0438\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u0438, \u043d\u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432.<\/p>\n<p><strong>\u0418\u0442\u043e\u0433<\/strong><\/p>\n<p style=\"text-align: justify;\">\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0431\u044b\u043b\u0438 \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u044b \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0440\u0430\u0437\u0432\u043e\u0434\u043a\u0435 \u043f\u043b\u0430\u0442\u044b (\u043d\u0435 \u0431\u044b\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0434\u0432\u0435 \u043d\u043e\u0433\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 DD3), \u0438 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0446\u0435\u043f\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f &#8212; \u043a\u0430\u0441\u043a\u0430\u0434\u043d\u043e\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0435\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u044f\u0432\u043d\u043e \u043d\u0435 \u043b\u0443\u0447\u0448\u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041f\u0440\u0438 \u0442\u043e\u043a\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u044b (\u0431\u0435\u0437 \u0440\u0435\u043b\u0435) ~ 80 \u043c\u0410 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u044b\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043e\u0442\u0432\u043e\u0434\u0438\u0442\u044c \u043e\u0442 \u043d\u0438\u0445 \u0442\u0435\u043f\u043b\u043e. \u0412\u0432\u0438\u0434\u0443 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u043e\u043c \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b \u0430\u043b\u044e\u043c\u0438\u043d\u0438\u0435\u0432\u044b\u0439 \u043a\u0430\u0431\u0435\u043b\u044c-\u043a\u0430\u043d\u0430\u043b, \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u043d\u0435 \u0431\u044b\u043b\u043e \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435. \u0418\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u0434\u043d\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430, \u043f\u043e\u0434 \u043f\u043b\u0430\u0442\u0443, \u0438 \u043d\u0430\u0440\u0430\u0441\u0442\u0438\u0442\u044c \u0432\u044b\u0432\u043e\u0434\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u043d\u0438\u043a\u0430\u043c\u0438. \u0422\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0440 \u043f\u043e \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u0438 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0448\u0435\u043b\u0441\u044f \u0432\u043f\u0440\u0438\u0442\u044b\u043a &#8212; \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u043c\u044b \u0442\u043e\u043a \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b 95 \u043c\u0410 (\u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0440\u0435\u043b\u0435) \u043f\u0440\u0438 100 \u043c\u0410 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u043b\u044f \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0440\u0430.<\/p>\n<p style=\"text-align: justify;\">\u0424\u043e\u0442\u043e \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u044d\u0442\u0430\u043f\u0430\u0445 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f &#8212; \u043d\u0438\u0436\u0435 \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435. \u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0437\u043b\u044b \u043f\u043e\u0434\u0432\u0435\u0440\u0433\u0430\u043b\u0438\u0441\u044c \u043d\u0435\u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e\u0439 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u0444\u043e\u0442\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043a\u043e\u0440\u043f\u0443\u0441 \u0437\u0430\u043a\u0440\u044b\u0442, \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u0430. \u041c\u043e\u0436\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u043f\u043e\u043b\u043a\u0443, \u0447\u0442\u043e\u0431 \u043f\u044b\u043b\u0438\u043b\u0430\u0441\u044c))<\/p>\n<p style=\"text-align: center;\"><div id='gallery-1' class='gallery galleryid-1944 gallery-columns-4 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_1-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_1-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_2-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_2-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_3-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_3-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_4-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_4-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_5-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_5-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_6-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_6-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_7-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_7-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_8-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_8-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_9-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_9-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_10-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_10-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_11-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_11-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_12-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_12-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_13-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_13-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_14-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_14-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_15-scaled.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/unlis.ru\/wp-content\/uploads\/2021\/03\/antenna_switch_attiny_2313_ready_15-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n<\/p>\n<p><iframe loading=\"lazy\" title=\"\u0420\u0430\u0431\u043e\u0442\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0430\u043d\u0442\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Jgt7hTINcAA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0435\u0440\u0441\u0438\u044f 1.2 &#8230;\u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0432\u0430\u0448\u0435\u0439 \u0430\u0434\u0443\u0440\u0438\u043d\u044b! \u0414\u0430\u0432\u043d\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438\u043c\u0435\u0442\u044c \u0430\u043d\u0442\u0435\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u0434\u043b\u044f \u041a\u0412 \u0430\u043d\u0442\u0435\u043d\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044c&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[27,24,10],"class_list":["post-1944","post","type-post","status-publish","format-standard","hentry","category-radio","tag-avr","tag-24","tag-10","wpcat-3-id"],"_links":{"self":[{"href":"https:\/\/unlis.ru\/index.php?rest_route=\/wp\/v2\/posts\/1944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unlis.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unlis.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unlis.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unlis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1944"}],"version-history":[{"count":47,"href":"https:\/\/unlis.ru\/index.php?rest_route=\/wp\/v2\/posts\/1944\/revisions"}],"predecessor-version":[{"id":2443,"href":"https:\/\/unlis.ru\/index.php?rest_route=\/wp\/v2\/posts\/1944\/revisions\/2443"}],"wp:attachment":[{"href":"https:\/\/unlis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unlis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unlis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}