{"id":206034,"date":"2013-12-16T16:51:09","date_gmt":"2013-12-16T12:51:09","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=206034"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=206034","title":{"rendered":"<span class=\"post_title\">Proteus \u0438 \u0434\u0432\u0430 \u0441 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043e\u0439 hello world \u0434\u043b\u044f UART \u0438 USB \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u0440\u0430\u0437\u0433\u0440\u0435\u0431\u0430\u043b \u043f\u0430\u043f\u043a\u0438 \u043d\u0430 Dropbox \u0438 \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u0441\u0432\u043e\u0438 \u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u043e\u0434\u0435\u043b\u043a\u0438. \u041a\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u043b \u043f\u0435\u0440\u0432\u044b\u0435 \u0448\u0430\u0433\u0438 \u0441 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u043c\u0438, \u043f\u043e\u0447\u0442\u0438 \u0441\u0440\u0430\u0437\u0443 \u043c\u0435\u043d\u044f \u0441\u0442\u0430\u043b\u0438 \u043f\u043e\u0441\u0435\u0449\u0430\u0442\u044c \u043c\u044b\u0441\u043b\u0438 \u0438 \u0438\u0434\u0435\u0438 \u043e\u0431 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043c\u043e\u0438\u043c\u0438 \u043f\u043e\u0434\u0435\u043b\u043a\u0430\u043c\u0438 \u0441 \u041f\u041a, \u043b\u0438\u0431\u043e \u043a\u0430\u043a\u0438\u043c-\u043b\u0438\u0431\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441 \u044d\u0442\u0438\u043c \u0441\u0430\u043c\u044b\u043c \u041f\u041a \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f. \u042d\u0442\u043e \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0438 \u00ab\u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u043c\u00bb. \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0432\u0441\u0435 \u0441\u0440\u0430\u0437\u0443 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0436\u0435\u043b\u0435\u0437\u0435, \u043d\u043e \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043d\u0430 \u0433\u0440\u0430\u0431\u043b\u0438 \u0438 \u0441\u0442\u0440\u0435\u043b\u044f\u0442\u044c \u0441\u0435\u0431\u0435 \u0432 \u043d\u043e\u0433\u0443 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u0435\u0437\u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043d\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e. \u0412 \u044d\u0442\u043e\u043c \u043c\u043d\u0435 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u043b Proteus. \u0414\u0435\u0441\u044f\u0442\u043a\u0438 \u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0431\u044b\u043b\u043e \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c. \u042d\u0442\u043e \u043f\u043e\u0442\u043e\u043c \u044f \u0443\u0436\u0435 \u043a\u0443\u043f\u0438\u043b \u0444\u0438\u0440\u043c\u0435\u043d\u043d\u0443\u044e \u043e\u0442\u043b\u0430\u0434\u043a\u0443 \u0438 \u0447\u0442\u043e \u0432 Proteus, \u0447\u0442\u043e \u0432 \u0436\u0435\u043b\u0435\u0437\u0435 \u2014 \u0432\u0441\u0435 \u0441\u0442\u0430\u043b\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u0431\u044b\u0441\u0442\u0440\u043e.<br \/>  \u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c UART \u0438 USB, \u0430 \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u0438 Ethernet. \u041a\u0430\u0436\u0434\u043e\u043c\u0443 \u0436\u0435\u043b\u0430\u043d\u0438\u044e \u044f \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u043b \u0441\u0432\u043e\u0439 \u00ab\u043f\u0440\u043e\u0435\u043a\u0442\u00bb. \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u0434\u0435\u0438 \u0442\u0430\u043a \u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0432 \u0432\u0438\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0434\u043b\u044f Proteus \u2014 \u0438\u0434\u0435\u044f \u043d\u0430\u0434\u043e\u0435\u0434\u0430\u043b\u0430 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438.<br \/>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0441\u0442 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0435 USB \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0432\u0441\u0435 \u043d\u0435 \u0442\u0430\u043a \u0441\u043b\u043e\u0436\u043d\u043e; \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0432 \u0441\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435. \u0420\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u043e\u0432\u0438\u0447\u043e\u043a \u0434\u043b\u044f \u043d\u043e\u0432\u0438\u0447\u043a\u0430 \u2014 \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0433\u0443\u0433\u043b \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435, \u0443\u0437\u043d\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435.<br \/>  \u042f \u043d\u0435 \u0431\u0443\u0434\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0445, \u0440\u0435\u0436\u0438\u043c\u0430\u0445. \u042f \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u044e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0436\u0435\u0447\u044c \u043e\u0433\u043e\u043d\u044c \u0432 \u0433\u043b\u0430\u0437\u0430\u0445. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043a\u0442\u043e-\u0442\u043e \u0437\u0430\u0445\u043e\u0447\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0438 \u0443 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0431\u043e\u043b\u044c\u0448\u0435 \u0448\u0430\u043d\u0441\u043e\u0432 \u0437\u0430\u0442\u044f\u043d\u0443\u0442\u044c \u0432 \u044d\u0442\u043e \u043a\u0440\u0430\u0439\u043d\u0435 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e (\u0430 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0440\u043a\u043e\u0442\u0438\u043a). \u0410 \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0431\u0435\u0436\u0430\u0442\u044c \u043d\u0430 ebay \u0438\u043b\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0434\u043d\u0438 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b \u0438\u0437 \u041a\u0438\u0442\u0430\u044f, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u0438\u043b\u044b \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435.<br \/>  \u042f \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0432\u0430 \u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0445 hello world \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u0442\u0435\u043c \u043d\u0438 \u043c\u0435\u043d\u0435\u0435, \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e LED blinking. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043a\u043e\u0434\u0430 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043b\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 PIC18F4550, \u0443\u0436 \u043f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u043c\u0435\u043d\u044f, \u0441 atmel \u044f \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b. \u0410 STM8\/32 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u0430\u0436\u0435 \u0432 8-\u0439 \u0432\u0435\u0440\u0441\u0438\u0438.<br \/>  \u041a\u043e\u0434 \u0434\u043b\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 mikroC \u043e\u0442 <a href=\"http:\/\/mikroe.com\">Mikroelektronika<\/a> \u0438 \u043f\u0438\u0441\u0430\u043b\u0441\u044f \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f, \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0443 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u0432\u044b\u0448\u043b\u043e \u0445\u043e\u0442\u044f \u0431\u044b \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e. <\/p>\n<h4>\u041f\u0440\u043e\u0442\u0435\u0443\u0441 \u0438 \u043e\u0431\u0432\u044f\u0437\u043a\u0430 MCU<\/h4>\n<p>  \u041f\u0440\u043e\u0442\u0435\u0443\u0441, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0441\u043e\u0437\u0434\u0430\u043d \u0434\u043b\u044f \u043c\u0430\u043a\u0435\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e\u0444\u0442\u0430 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0445\u0435\u043c. \u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 \u041f\u041a \u043f\u043e UART\/USB. \u0425\u043e\u0447\u0443 \u0441\u043d\u043e\u0432\u0430 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0442\u0430\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 Proteus&#8217;\u0435. <br \/>  \u0412\u0441\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u044b \u043a \u0441\u0442\u0430\u0442\u044c\u0435, \u0442\u0430\u043a \u0447\u0442\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u0432\u0441\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/aa2\/66b\/203\/aa266b2032c48b09f880ee9a12bf9c38.png\"\/><\/p>\n<h3>U(S)ART<\/h3>\n<p>  \u0422\u0435\u043c\u0430 \u0438\u0437\u0431\u0438\u0442\u0430, \u043d\u043e \u0432\u0441\u0435 \u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044e \u0441\u0435\u0431\u0435 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437. <br \/>  \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443 <a href=\"http:\/\/www.putty.org\/\">putty<\/a> \u0438\u043b\u0438 \u043b\u044e\u0431\u0443\u044e \u0434\u0440\u0443\u0433\u044e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439. <br \/>  \u041c\u043e\u0434\u0443\u043b\u044c COMPIM \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0440\u0442, \u0447\u0442\u043e\u0431\u044b \u043a \u043d\u0435\u043c\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f, \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0438\u0445 \u043a\u0430\u043a <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%9D%D1%83%D0%BB%D1%8C-%D0%BC%D0%BE%D0%B4%D0%B5%D0%BC%D0%BD%D0%BE%D0%B5_%D1%81%D0%BE%D0%B5%D0%B4%D0%B8%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5\">\u043d\u0443\u043b\u044c \u043c\u043e\u0434\u0435\u043c<\/a>. <br \/>  \u0425\u043e\u0440\u043e\u0448\u0438\u043c \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u043e\u043c \u0442\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 <a href=\"http:\/\/com0com.sourceforge.net\/\">\u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 com0com<\/a>.<br \/>  \u0422\u0430\u043c \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u0432\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0440\u0442\u0430, \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e COM 3 \u0438 4. \u041e\u0434\u0438\u043d \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a Proteus&#8217;\u043e\u0432\u0441\u043a\u043e\u043c\u0443 COMPIM, \u0432\u0442\u043e\u0440\u043e\u0439 \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u00ab\u0441\u043d\u0430\u0440\u0443\u0436\u0438\u00bb<\/p>\n<p>  \u041e\u043a\u043d\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1db\/27c\/043\/1db27c043d563d332ba8f8127f5a00da.png\"\/><\/p>\n<p>  \u0410 \u0432\u043e\u0442 \u0442\u0430\u043a \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0432 devmgmt.msc (\u0414\u0438\u0441\u043f\u0435\u0442\u0447\u0435\u0440\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432)<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ff3\/767\/60c\/ff376760cd8a71711c8716ee02e714e2.png\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e \u043a \u0442\u0435\u0441\u0442\u0443. <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">char uart_rd; void main() {     UART1_Init(9600);     UART1_Write_Text(&quot;Hello Habrahabr&quot;);     UART1_Write(10);     UART1_Write(13);     for(;;)     {         if(UART1_Data_Ready())         {             uart_rd = UART1_Read( );             switch(uart_rd)             {                 case 0xD:                 UART1_Write(10);                 UART1_Write(13);                 break;                 default:                 UART1_Write(uart_rd);                 break;             }         }     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c COMPIM \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e (\u043f\u0440\u0430\u0432\u044b\u0439 \u043a\u043b\u0438\u043a \u2014 Edit properties). <br \/>  \u041d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f com0com \u044d\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u0440\u0442\u044b COM3\/COM4<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/f9c\/b38\/b96\/f9cb38b96a59d1b23e65555cf1e2cd3d.png\"\/><\/p>\n<p>  \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439, \u043f\u0440\u0438\u043b\u043e\u0436\u0443 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/614\/807\/011\/614807011ad99655cb046871bcad37f7.png\"\/><\/p>\n<p>  \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c Putty, \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0435\u0433\u043e \u0432 \u0440\u0435\u0436\u0438\u043c Serial \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a COM4. \u0422\u0435\u043f\u0435\u0440\u044c\u2026 \u043d\u0430\u0436\u043c\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0448\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<br \/>  \u041f\u0435\u0447\u0430\u0442\u0430\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u0432 \u043e\u043a\u043d\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 \u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u0435\u043b\u0430\u0435\u0442 echo \u043d\u0430\u043c \u043d\u0430\u0437\u0430\u0434. \u041f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e enter \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u043a\u0430\u0440\u0435\u0442\u043a\u0443 + \u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430.<br \/>  Backspace \u0442\u0430\u043a \u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0421\u0440\u0430\u0437\u0443 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b\u043e\u0441\u044c \u043a\u0430\u043a \u0447\u0430\u0442\u0438\u043b\u0441\u044f \u0441 \u0434\u0440\u0443\u0437\u044c\u044f\u043c\u0438 \u043f\u043e Hyper Terminal, \u0447\u0430\u0441\u0430\u043c\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044f \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e\u2026<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/cee\/b23\/cd8\/ceeb23cd8e12c39c0597c602377f9cfa.png\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u044f \u043a\u043e\u0434 \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c.   <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#define CRLF UART1_Write(10);UART1_Write(13) char uart_rd = 0; char cmd[32] = {0}; int char_counter = 0; void cmd_exec(void) {     if (strstr(cmd, &quot;hello&quot;))     {         UART1_Write_Text(&quot;EHLO&quot;);         CRLF;     }     else if (strstr(cmd, &quot;test&quot;))     {         UART1_Write_Text(&quot;TSET&quot;);         CRLF;     }     else     {         UART1_Write_Text(&quot;Unknown command&quot;);         CRLF;     }     char_counter=0;     memset(cmd, 0, sizeof cmd); } void main(void) {     UART1_Init(9600);     UART1_Write_Text(&quot;MCU started&quot;);     UART1_Write(10);     UART1_Write(13);     for(;;)     {         if(UART1_Data_Ready())         {             uart_rd = UART1_Read( );             switch(uart_rd)             {                 case 0xD:                 CRLF;                 cmd_exec();                 break;                 default:                 UART1_Write(uart_rd);                 break;             }             cmd[char_counter++] = uart_rd;             if(char_counter == (sizeof cmd - 1))             {                 CRLF;                 cmd_exec();             }         }     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<h3>USB HID<\/h3>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0435 USB \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u0435\u043b\u043e\u043c \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0442\u043e\u0433\u0434\u0430. \u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c <a href=\"http:\/\/ru.wikipedia.org\/wiki\/USB_HID\">HID<\/a> \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0442\u043e \u0435\u0441\u0442\u044c, \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u2014 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0432\u0432\u043e\u0434\u0430.<br \/>  \u041e\u0447\u0435\u043d\u044c \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043c\u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0432\u043e\u0434 \u043f\u0430\u0440\u043e\u043b\u044f, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0443 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u043a\u043e\u0433\u0434\u0430 \u044f \u043e\u0442\u043e\u0448\u0435\u043b, \u0438 \u0440\u0430\u0437\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0443, \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u0434\u043e\u0448\u0435\u043b. \u041d\u0443 \u0438 \u043a\u0443\u0447\u0443 \u0447\u0435\u0433\u043e \u0435\u0449\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b.<br \/>  \u041a\u0443\u0447\u0443 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e HID \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"http:\/\/www.usb.org\/developers\/hidpage\/\">\u0442\u0443\u0442<\/a>. \u0427\u0438\u0442\u0430\u0442\u044c \u2014 \u043d\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u0430\u0442\u044c.<br \/>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435: \u043a\u0430\u0436\u0434\u043e\u0435 USB HID \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u0435\u0442 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435, \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440. \u041a\u043e\u0442\u043e\u0440\u043e\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0447\u0442\u043e \u044d\u0442\u043e \u0437\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043a\u0430\u043a \u0438\u043c \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u043d\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u043e\u0442 \u0448\u0438\u043d\u044b \u0438\u043b\u0438 \u0436\u0435 \u0438\u043c\u0435\u0435\u0442 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u0438 \u043a\u0443\u0447\u0443 \u0434\u0440\u0443\u0433\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u041e\u0421 \u043c\u043e\u0433\u043b\u0430 \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0430 \u0438 \u043c\u043e\u0433\u043b\u0430 \u0441 \u043d\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<p>  \u041d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430, \u0447\u0442\u043e\u0431\u044b Proteus \u043c\u043e\u0433 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 USB \u0445\u043e\u0441\u0442 \u0432 \u043d\u0430\u0448 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u041f\u041a, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u0440\u0430\u0439\u0432\u0435\u0440, \u043e\u043d \u0438\u0434\u0435\u0442 \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/c19\/469\/25e\/c1946925ef644be7f2f090de355fb853.png\"\/><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043a\u0430\u043a \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0435 FullSpeed USB 2.0, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c PLL \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0435\u0433\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. <br \/>  \u0412 Proteus&#8217;\u0435 \u0442\u0430\u043a \u0436\u0435 \u043d\u0430\u0434\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u043a\u0430\u043a 96\u041c\u0413\u0446.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 (\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 PIC)<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u0441\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e <a href=\"http:\/\/www.mikroe.com\/forum\/viewtopic.php?t=10646\">\u0442\u0443\u0442<\/a><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ca1\/bc2\/de8\/ca1bc2de864839ca184f7656405cec35.jpg\" alt=\"image\"\/>  <\/div>\n<\/div>\n<h5>\u0414\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440<\/h5>\n<p>  \u041c\u043d\u0435 \u0431\u044b\u043b\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0431\u0435\u0436\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043d\u0435\u043c\u0443 \u0433\u043b\u0430\u0437\u0430\u043c\u0438 \u0438 \u043f\u043e\u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0421\u0440\u0430\u0437\u0443 \u0441\u0442\u0430\u043b\u043e \u044f\u0441\u043d\u043e, \u043a\u0443\u0434\u0430 \u043a\u043e\u043f\u0430\u0442\u044c \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0445 PDF \u0441 usb.org<\/p>\n<p>  \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0442 \u00ab\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e\u00bb \u0434\u0435\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043d\u0435\u043c\u043d\u043e\u0433\u043e:<br \/>  \u041c\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 VID\/PID, \u0443\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0431\u0443\u0444\u0435\u0440 \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 \u043d\u0430 8 \u0431\u0430\u0439\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0443\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u00ab\u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0430\u00bb \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a. <br \/>  \u0412\u0441\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0441\u0430\u043c\u0438 \u0437\u0430 \u0441\u0435\u0431\u044f.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0430\u043c \u043a\u043e\u0434 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430, \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">const unsigned int USB_VENDOR_ID = 0xdead; const unsigned int USB_PRODUCT_ID = 0xbeaf; const char USB_SELF_POWER = 0x80;            \/\/ Self powered 0xC0,  0x80 bus powered const char USB_MAX_POWER = 50;               \/\/ Bus power required in units of 2 mA const char HID_INPUT_REPORT_BYTES = 8; const char HID_OUTPUT_REPORT_BYTES = 8; const char USB_TRANSFER_TYPE = 0x03;         \/\/0x03 Interrupt const char EP_IN_INTERVAL = 1; const char EP_OUT_INTERVAL = 1; const char USB_INTERRUPT = 1; const char USB_HID_EP = 1; const char USB_HID_RPT_SIZE = 63; \/* Device Descriptor *\/ const struct {     char bLength;               \/\/ bLength         - Descriptor size in bytes (12h)     char bDescriptorType;       \/\/ bDescriptorType - The constant DEVICE (01h)     unsigned int bcdUSB;        \/\/ bcdUSB          - USB specification release number (BCD)     char bDeviceClass;          \/\/ bDeviceClass    - Class Code     char bDeviceSubClass;       \/\/ bDeviceSubClass - Subclass code     char bDeviceProtocol;       \/\/ bDeviceProtocol - Protocol code     char bMaxPacketSize0;       \/\/ bMaxPacketSize0 - Maximum packet size for endpoint 0     unsigned int idVendor;      \/\/ idVendor        - Vendor ID     unsigned int idProduct;     \/\/ idProduct       - Product ID     unsigned int bcdDevice;     \/\/ bcdDevice       - Device release number (BCD)     char iManufacturer;         \/\/ iManufacturer   - Index of string descriptor for the manufacturer     char iProduct;              \/\/ iProduct        - Index of string descriptor for the product.     char iSerialNumber;         \/\/ iSerialNumber   - Index of string descriptor for the serial number.     char bNumConfigurations;    \/\/ bNumConfigurations - Number of possible configurations } device_dsc = {     0x12,                   \/\/ bLength     0x01,                   \/\/ bDescriptorType     0x0200,                 \/\/ bcdUSB     0x00,                   \/\/ bDeviceClass     0x00,                   \/\/ bDeviceSubClass     0x00,                   \/\/ bDeviceProtocol     8,                      \/\/ bMaxPacketSize0     USB_VENDOR_ID,          \/\/ idVendor     USB_PRODUCT_ID,         \/\/ idProduct     0x0001,                 \/\/ bcdDevice     0x01,                   \/\/ iManufacturer     0x02,                   \/\/ iProduct     0x00,                   \/\/ iSerialNumber     0x01                    \/\/ bNumConfigurations } ; \/* Configuration 1 Descriptor *\/ const char configDescriptor1[]= {     \/\/ Configuration Descriptor     0x09,                   \/\/ bLength             - Descriptor size in bytes     0x02,                   \/\/ bDescriptorType     - The constant CONFIGURATION (02h)     0x29,0x00,              \/\/ wTotalLength        - The number of bytes in the configuration descriptor and all of its subordinate descriptors     1,                      \/\/ bNumInterfaces      - Number of interfaces in the configuration     1,                      \/\/ bConfigurationValue - Identifier for Set Configuration and Get Configuration requests     0,                      \/\/ iConfiguration      - Index of string descriptor for the configuration     USB_SELF_POWER,         \/\/ bmAttributes        - Self\/bus power and remote wakeup settings     USB_MAX_POWER,          \/\/ bMaxPower           - Bus power required in units of 2 mA     \/\/ Interface Descriptor     0x09,                   \/\/ bLength - Descriptor size in bytes (09h)     0x04,                   \/\/ bDescriptorType - The constant Interface (04h)     0,                      \/\/ bInterfaceNumber - Number identifying this interface     0,                      \/\/ bAlternateSetting - A number that identifies a descriptor with alternate settings for this bInterfaceNumber.     2,                      \/\/ bNumEndpoint - Number of endpoints supported not counting endpoint zero     0x03,                   \/\/ bInterfaceClass - Class code     0,                      \/\/ bInterfaceSubclass - Subclass code     0,                      \/\/ bInterfaceProtocol - Protocol code     0,                      \/\/ iInterface - Interface string index     \/\/ HID Class-Specific Descriptor     0x09,                   \/\/ bLength - Descriptor size in bytes.     0x21,                   \/\/ bDescriptorType - This descriptor's type: 21h to indicate the HID class.     0x01,0x01,              \/\/ bcdHID - HID specification release number (BCD).     0x00,                   \/\/ bCountryCode - Numeric expression identifying the country for localized hardware (BCD) or 00h.     1,                      \/\/ bNumDescriptors - Number of subordinate report and physical descriptors.     0x22,                   \/\/ bDescriptorType - The type of a class-specific descriptor that follows     USB_HID_RPT_SIZE,0x00,  \/\/ wDescriptorLength - Total length of the descriptor identified above.     \/\/ Endpoint Descriptor     0x07,                   \/\/ bLength - Descriptor size in bytes (07h)     0x05,                   \/\/ bDescriptorType - The constant Endpoint (05h)     USB_HID_EP | 0x80,      \/\/ bEndpointAddress - Endpoint number and direction     USB_TRANSFER_TYPE,      \/\/ bmAttributes - Transfer type and supplementary information     0x40,0x00,              \/\/ wMaxPacketSize - Maximum packet size supported     EP_IN_INTERVAL,         \/\/ bInterval - Service interval or NAK rate     \/\/ Endpoint Descriptor     0x07,                   \/\/ bLength - Descriptor size in bytes (07h)     0x05,                   \/\/ bDescriptorType - The constant Endpoint (05h)     USB_HID_EP,             \/\/ bEndpointAddress - Endpoint number and direction     USB_TRANSFER_TYPE,      \/\/ bmAttributes - Transfer type and supplementary information     0x40,0x00,              \/\/ wMaxPacketSize - Maximum packet size supported     EP_OUT_INTERVAL         \/\/ bInterval - Service interval or NAK rate } ; const struct {     char report[]; } hid_rpt_desc = {     0x05, 0x01,                    \/\/ USAGE_PAGE (Generic Desktop)     0x09, 0x06,                    \/\/ USAGE (Keyboard)     0xa1, 0x01,                    \/\/ COLLECTION (Application)     0x05, 0x07,                    \/\/   USAGE_PAGE (Keyboard)     0x19, 0xe0,                    \/\/   USAGE_MINIMUM 224(Keyboard LeftControl)     0x29, 0xe7,                    \/\/   USAGE_MAXIMUM 231(Keyboard Right GUI)    (left and right: alt, shift, ctrl and win)     0x15, 0x00,                    \/\/   LOGICAL_MINIMUM (0)     0x25, 0x01,                    \/\/   LOGICAL_MAXIMUM (1)     0x75, 0x01,                    \/\/   REPORT_SIZE (1)     0x95, 0x08,                    \/\/   REPORT_COUNT (8)     0x81, 0x02,                    \/\/   INPUT (Data,Var,Abs)     0x95, 0x01,                    \/\/   REPORT_COUNT (1)     0x75, 0x08,                    \/\/   REPORT_SIZE (8)     0x81, 0x03,                    \/\/   INPUT (Cnst,Var,Abs)     0x95, 0x05,                    \/\/   REPORT_COUNT (5)     0x75, 0x01,                    \/\/   REPORT_SIZE (1)     0x05, 0x08,                    \/\/   USAGE_PAGE (LEDs)     0x19, 0x01,                    \/\/   USAGE_MINIMUM (Num Lock)     0x29, 0x05,                    \/\/   USAGE_MAXIMUM (Kana)     0x91, 0x02,                    \/\/   OUTPUT (Data,Var,Abs)     0x95, 0x01,                    \/\/   REPORT_COUNT (1)     0x75, 0x03,                    \/\/   REPORT_SIZE (3)     0x91, 0x03,                    \/\/   OUTPUT (Cnst,Var,Abs)     0x95, 0x06,                    \/\/   REPORT_COUNT (6)     0x75, 0x08,                    \/\/   REPORT_SIZE (8)     0x15, 0x00,                    \/\/   LOGICAL_MINIMUM (0)     0x25, 0x65,                    \/\/   LOGICAL_MAXIMUM (101)     0x05, 0x07,                    \/\/   USAGE_PAGE (Keyboard)     0x19, 0x00,                    \/\/   USAGE_MINIMUM (Reserved (no event indicated))     0x29, 0x65,                    \/\/   USAGE_MAXIMUM (Keyboard Application)     0x81, 0x00,                    \/\/   INPUT (Data,Ary,Abs)     0xc0                           \/\/ END_COLLECTION } ; \/\/Language code string descriptor const struct {     char bLength;     char bDscType;     unsigned int string[1]; } strd1 = {     4,     0x03,     {         0x0409     } } ; \/\/Manufacturer string descriptor const struct{     char bLength;     char bDscType;     unsigned int string[10]; } strd2={     22,           \/\/sizeof this descriptor string     0x03,     {         'H','a','b','r','a','h','a','b','r'     } } ; \/\/Product string descriptor const struct{     char bLength;     char bDscType;     unsigned int string[15]; } strd3={     32,          \/\/sizeof this descriptor string     0x03,     {         'H','a','b','r','a','K','e','y','b','o','a','r','d'     } } ; \/\/Array of configuration descriptors const char* USB_config_dsc_ptr[1]; \/\/Array of string descriptors const char* USB_string_dsc_ptr[3]; void USB_Init_Desc(){     USB_config_dsc_ptr[0] = &configDescriptor1;     USB_string_dsc_ptr[0] = (const char*)&strd1;     USB_string_dsc_ptr[1] = (const char*)&strd2;     USB_string_dsc_ptr[2] = (const char*)&strd3; } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u042d\u0442\u043e\u0442 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0435\u043a\u0442, \u0438 \u0431\u0443\u0434\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">unsigned short USBResponse[8] = { 0} absolute 0x500; unsigned short USBCommand[8] = {0} absolute 0x508;  char *text=&quot;habrahabr&quot;; int i = 0; void interrupt(void) {     USB_Interrupt_Proc( ); } void clrUSB(void) {         memset(USBCommand, 0, sizeof USBCommand);    while ( !HID_Write(&USBCommand, sizeof USBCommand)); } void main(void) {     ADCON1 |= 0x0F;     CMCON |= 7;     HID_Enable(&USBResponse, &USBCommand);     delay_ms(1000);     for (i=0; i &lt; strlen(text); i++)     {         USBCommand[2] = text[i] - 93;         while ( !HID_Write(&USBCommand, sizeof USBCommand));         clrUSB();         delay_ms(200);     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u043e \u0441\u0443\u0442\u0438 \u0432\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430 \u0438 \u0432 \u043e\u0442\u0440\u0430\u0432\u043a\u0435 \u0435\u0433\u043e \u0432 \u041f\u041a. \u041d\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0447\u0435\u043c \u0441 UART. \u0412\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f. \u0412 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435 \u0441 IDE \u0443\u0436\u0435 \u0438\u0434\u0443\u0442 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 HID.<br \/>  \u0422\u0443\u0442 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e\u044f\u0441\u043d\u0438\u0442\u044c, \u0447\u0442\u043e <a href=\"http:\/\/www.mindrunway.ru\/IgorPlHex\/USBKeyScan.pdf\">scan \u043a\u043e\u0434\u044b \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b<\/a> \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0442 ASCII, \u043d\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043a\u043e\u0434 (\u0443 \u043d\u0430\u0441 \u0436\u0435 hello world), \u044f \u043e\u0431\u043e\u0448\u0435\u043b \u0441\u0438\u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0431\u0443\u043a\u0432 \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435. \u0416\u0435\u043b\u0430\u044e\u0449\u0438\u0435 \u043c\u043e\u0433\u0443\u0442 \u0441\u0430\u043c\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435. \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0434\u0435\u0432\u0430\u0439\u0441 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0434\u043b\u044f KVM \u041d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435, \u0431\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u043e\u0439 \u0443\u0434\u043b\u0438\u043d\u0438\u0442\u0435\u043b\u044c \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u2014 \u043d\u0430\u0448\u0438 D-Link\u043e\u0432\u0441\u043a\u0438\u0435 KVM \u043d\u0435 \u0445\u043e\u0442\u044f\u0442 \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c USB \u0434\u043e\u043d\u0433\u043b\u044b \u0431\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0435.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c Notepad, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Proteus (\u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u043b\u0438\u043a\u0430\u0435\u043c \u043f\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0448\u0442\u0435\u043a\u0435\u0440\u0443 \u2014 USB \u0440\u0430\u0437\u044a\u0435\u043c \u00ab\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f\u00bb), \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0444\u043e\u043a\u0443\u0441 \u043c\u044b\u0448\u043a\u043e\u0439 \u043d\u0430 Notepad \u0438 \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c, \u043a\u0430\u043a \u043d\u0430\u0448\u0435 \u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0435 \u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442 \u0441\u043b\u043e\u0432\u043e <b>habrahabr<\/b>.<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/5bf\/f29\/79d\/5bff2979de418ea05de702985881b457.png\"\/><br \/>  \u0410 \u0432 \u0434\u0438\u0441\u043f\u0435\u0442\u0447\u0435\u0440\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u043d\u0430\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1bc\/839\/59c\/1bc83959cb49c0bda64da508ef5e44d0.png\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0441\u0432\u043e\u0435.<\/p>\n<p>  \u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043f\u0440\u043e \u0442\u043e, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<br \/>  \u0414\u043b\u044f \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430 \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043e 8 \u0431\u0430\u0439\u0442:<\/p>\n<p>  0 \u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440<br \/>  1 \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f<br \/>  2 \u041a\u043b\u0430\u0432\u0438\u0448\u0430 1<br \/>  3 \u041a\u043b\u0430\u0432\u0438\u0448\u0430 2<br \/>  4 \u041a\u043b\u0430\u0432\u0438\u0448\u0430 3<br \/>  5 \u041a\u043b\u0430\u0432\u0438\u0448\u0430 4<br \/>  6 \u041a\u043b\u0430\u0432\u0438\u0448\u0430 5<br \/>  7 \u041a\u043b\u0430\u0432\u0438\u0448\u0430 6<\/p>\n<p>  \u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b, \u044d\u0442\u043e \u0441\u043f\u0435\u0446 \u043a\u043b\u0430\u0432\u0438\u0448\u0438 Ctrl, Shift, Alt. \u0418\u0445 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 Ctrl Alt Del:<\/p>\n<p>  Modifier: 0b00000<b>101<\/b> <b>Ctrl<\/b>, Shift, <b>Alt<\/b><br \/>  Key code: 0x4c (\u043a\u043b\u0430\u0432\u0438\u0448\u0430 Delete)<\/p>\n<p>  \u0421\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0442\u0438\u0440\u0430\u0442\u044c \u0431\u0443\u0444\u0435\u0440 USB, \u0438\u043d\u0430\u0447\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u044d\u0444\u0444\u0435\u043a\u0442 \u0437\u0430\u043b\u0438\u043f\u0448\u0435\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0438. \u0422\u043e \u0435\u0441\u0442\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430 \u041f\u041a \u0432\u043e\u0441\u0435\u043c\u044c \u043d\u0443\u043b\u044c \u0431\u0430\u0439\u0442. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u043e\u0434\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 clearUSB<br \/>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043f\u0440\u043e \u0441\u043a\u0430\u043d\u043a\u043e\u0434\u044b \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 <a href=\"http:\/\/ww1.microchip.com\/downloads\/en\/AppNotes\/01212a.pdf\">appnote \u043e\u0442 microchip<\/a><br \/>  \u0422\u043e\u0447\u043d\u043e \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0431\u044b\u0447\u043d\u043e\u0435 HID \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\/\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0431\u0430\u0439\u0442\u044b \u0441 \u041f\u041a \u0438 \u043f\u043e \u043b\u043e\u0433\u0438\u043a\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u0442\u043e\u0433\u043e \u0436\u0435 UART. \u041d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 libusb \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u041f\u041a.<\/p>\n<h4>Ethernet<\/h4>\n<p>  \u041d\u0435 \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u043e \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435, \u043d\u043e \u043f\u0440\u043e \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0441\u043a\u0430\u0437\u0430\u0442\u044c.<br \/>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044b\u043c, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044d\u0442\u043e \u0442\u0435\u043c\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0430.<br \/>  \u041d\u043e, \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435, \u044f \u043e\u043f\u0438\u0448\u0443 \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0430\u043c \u0441\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440, \u0438 \u043a\u043e\u0435-\u0447\u0442\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f.<br \/>  \u0422\u0443\u0442 \u043a\u0430\u043a \u0440\u0430\u0437 \u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0436\u0435\u043b\u0435\u0437\u0435, \u043d\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0441\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435. \u0412 Proteus \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b VSM \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c ENC28J60 \u0438 RTL8019. \u0414\u0430-\u0434\u0430, \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0447\u0438\u043f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0441\u0435\u043c \u043d\u0430\u043c \u0431\u044b\u043b \u0437\u043d\u0430\u043a\u043e\u043c \u043f\u043e \u0431\u044e\u0434\u0436\u0435\u0442\u043d\u044b\u043c \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u043a\u0430\u0440\u0442\u0430\u043c. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 ENC \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0448\u0438\u0440\u043e\u043a\u043e \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0442\u0443\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0439 <a href=\"http:\/\/habrahabr.ru\/users\/dihalt\/\" class=\"user_link\">DIHALT<\/a> \u0432\u0441\u0435 \u0434\u0430\u0432\u043d\u043e \u0438 \u043f\u0440\u0435\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439\u0448\u0435 <a href=\"http:\/\/we.easyelectronics.ru\/electro-and-pc\/podklyuchenie-mikrokontrollera-k-lokalnoy-seti.html\">\u043e\u043f\u0438\u0441\u0430\u043b<\/a>. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u0441\u043a\u0443\u0447\u043d\u043e, \u0432\u043e\u0437\u044c\u043c\u0435\u043c 8019, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u044f \u043f\u0438\u0448\u0443 \u043f\u043e\u0434 \u043d\u0435\u0451 \u0441\u043e\u0444\u0442 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e \u0441 Z80.<\/p>\n<p>  \u041a\u0430\u043a \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 USB, \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c WinPCAP. \u041e\u043d\u0438 \u043b\u0435\u0436\u0430\u0442 \u0432 \u043f\u0430\u043f\u043a\u0435 Virtual Network, \u0440\u044f\u0434\u043e\u043c \u0441 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430\u043c\u0438 USB. \u0418\u043b\u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0441 <a href=\"http:\/\/www.winpcap.org\/install\/default.htm\">\u0441\u0430\u0439\u0442\u0430 \u0441\u0430\u043c\u0443\u044e \u0441\u0432\u0435\u0436\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e <\/a><br \/>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.95.1, \u043a\u043e\u0442\u043e\u0440\u044b\u0439, \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c.<\/p>\n<p>  C\u0434\u0435\u043b\u0430\u0435\u043c \u043d\u0430 UART \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e \u0443\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0439 \u043d\u0430\u043c \u0441\u0445\u0435\u043c\u0435.<br \/>  HINT: \u0415\u0441\u043b\u0438 \u0432\u0430\u0441 \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u044e\u0442 \u043d\u0430\u0434\u043f\u0438\u0441\u0438 TEXT \u2014 \u0432 Description \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u043e\u0431\u0435\u043b<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/176\/d69\/26f\/176d6926fb516e3f64d33c637828823d.png\"\/><\/p>\n<p>  \u0412 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u044b \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u043d\u043e\u043c\u0435\u0440 \u0438\u043b\u0438 IP \u043d\u0430\u0448\u0435\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0435\u0432\u0443\u0445\u0438 \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043a\u043e\u0435-\u043a\u0430\u043a\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438. <br \/>  \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e 192.168.50.1 (\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u043b)<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/4da\/b2a\/fdf\/4dab2afdf38505e314bff0cd32e2df2b.png\"\/><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0434\u0435\u043b\u043e \u0437\u0430 \u0441\u043e\u0444\u0442\u043e\u043c. \u041f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0434\u043b\u044f 8019 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043a\u0430 \u043d\u0435 \u0433\u043e\u0442\u043e\u0432, \u0434\u0430 \u0438 \u044d\u0442\u043e \u0442\u0435\u043c\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u0445\u043e\u0442\u044f \u0432\u0440\u044f\u0434 \u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u0430\u043d\u0430\u0445\u0440\u043e\u043d\u0438\u0437\u043c \u043a\u043e\u043c\u0443-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d. \u041d\u043e \u0434\u0430\u0436\u0435 \u0431\u0435\u0437 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 (IP \u0430\u0434\u0440\u0435\u0441 \u0443 \u043d\u0430\u0441 \u0441\u0435\u0439\u0447\u0430\u0441 0.0.0.0), \u0442\u0430\u043a \u043a\u0430\u043a \u044f \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043b ICMP\/Broadcast \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0445, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043f\u0438\u043d\u0433\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043b\u0435\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043d\u0430\u0448\u0435\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0438, \u0438 <s>\u0441\u0435\u0442\u0435\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/s> \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0430 \u0440\u0430\u0434\u043e\u0441\u0442\u043d\u043e \u043f\u043e\u043c\u0438\u0433\u0430\u0435\u0442 \u043d\u0430\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u043f\u0430\u043a\u0435\u0442\u0430. \u041f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441, \u0430 \u0442\u043e ARP \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0436\u0435 \u043a\u044d\u0448\u0438\u0440\u0443\u0435\u0442\u0441\u044f.<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/795\/878\/7e5\/7958787e5fe9f1fbb1e5f52cfe93519f.png\"\/><\/p>\n<p>  \u0412\u043c\u0435\u0441\u0442\u0435 \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u044b \u0433\u043e\u0442\u043e\u0432\u044b\u0435 HEX, \u0442\u0430\u043a \u0447\u0442\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u043c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043d\u0435 \u043a\u0430\u0447\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<br \/>  \u0427\u0442\u043e\u0431\u044b \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u2014 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443 \u0433\u0434\u0435 \u043b\u0435\u0436\u0438\u0442 \u0432\u0430\u0448 HEX \u0444\u0430\u0439\u043b.<\/p>\n<p>  \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e \u044d\u0442\u043e\u0439 <a href=\"https:\/\/www.dropbox.com\/s\/thzg9qx7p4cbxrc\/Proteus_Hello.zip\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a><\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0443 \u043a\u043e\u0433\u043e-\u0442\u043e \u0437\u0430\u0433\u043e\u0440\u0438\u0442\u0441\u044f \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0436\u0435\u043b\u0435\u0437\u0435.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/206034\/\"> http:\/\/habrahabr.ru\/post\/206034\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u0440\u0430\u0437\u0433\u0440\u0435\u0431\u0430\u043b \u043f\u0430\u043f\u043a\u0438 \u043d\u0430 Dropbox \u0438 \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u0441\u0432\u043e\u0438 \u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u043e\u0434\u0435\u043b\u043a\u0438. \u041a\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u043b \u043f\u0435\u0440\u0432\u044b\u0435 \u0448\u0430\u0433\u0438 \u0441 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u043c\u0438, \u043f\u043e\u0447\u0442\u0438 \u0441\u0440\u0430\u0437\u0443 \u043c\u0435\u043d\u044f \u0441\u0442\u0430\u043b\u0438 \u043f\u043e\u0441\u0435\u0449\u0430\u0442\u044c \u043c\u044b\u0441\u043b\u0438 \u0438 \u0438\u0434\u0435\u0438 \u043e\u0431 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043c\u043e\u0438\u043c\u0438 \u043f\u043e\u0434\u0435\u043b\u043a\u0430\u043c\u0438 \u0441 \u041f\u041a, \u043b\u0438\u0431\u043e \u043a\u0430\u043a\u0438\u043c-\u043b\u0438\u0431\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441 \u044d\u0442\u0438\u043c \u0441\u0430\u043c\u044b\u043c \u041f\u041a \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f. \u042d\u0442\u043e \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0438 \u00ab\u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u043c\u00bb. \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0432\u0441\u0435 \u0441\u0440\u0430\u0437\u0443 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0436\u0435\u043b\u0435\u0437\u0435, \u043d\u043e \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043d\u0430 \u0433\u0440\u0430\u0431\u043b\u0438 \u0438 \u0441\u0442\u0440\u0435\u043b\u044f\u0442\u044c \u0441\u0435\u0431\u0435 \u0432 \u043d\u043e\u0433\u0443 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u0435\u0437\u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043d\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e. \u0412 \u044d\u0442\u043e\u043c \u043c\u043d\u0435 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u043b Proteus. \u0414\u0435\u0441\u044f\u0442\u043a\u0438 \u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0431\u044b\u043b\u043e \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c. \u042d\u0442\u043e \u043f\u043e\u0442\u043e\u043c \u044f \u0443\u0436\u0435 \u043a\u0443\u043f\u0438\u043b \u0444\u0438\u0440\u043c\u0435\u043d\u043d\u0443\u044e \u043e\u0442\u043b\u0430\u0434\u043a\u0443 \u0438 \u0447\u0442\u043e \u0432 Proteus, \u0447\u0442\u043e \u0432 \u0436\u0435\u043b\u0435\u0437\u0435 \u2014 \u0432\u0441\u0435 \u0441\u0442\u0430\u043b\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u0431\u044b\u0441\u0442\u0440\u043e.<br \/>  \u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c UART \u0438 USB, \u0430 \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u0438 Ethernet. \u041a\u0430\u0436\u0434\u043e\u043c\u0443 \u0436\u0435\u043b\u0430\u043d\u0438\u044e \u044f \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u043b \u0441\u0432\u043e\u0439 \u00ab\u043f\u0440\u043e\u0435\u043a\u0442\u00bb. \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u0434\u0435\u0438 \u0442\u0430\u043a \u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0432 \u0432\u0438\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0434\u043b\u044f Proteus \u2014 \u0438\u0434\u0435\u044f \u043d\u0430\u0434\u043e\u0435\u0434\u0430\u043b\u0430 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438.<br \/>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0441\u0442 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0435 USB \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0432\u0441\u0435 \u043d\u0435 \u0442\u0430\u043a \u0441\u043b\u043e\u0436\u043d\u043e; \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0432 \u0441\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435. \u0420\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u043e\u0432\u0438\u0447\u043e\u043a \u0434\u043b\u044f \u043d\u043e\u0432\u0438\u0447\u043a\u0430 \u2014 \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0433\u0443\u0433\u043b \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435, \u0443\u0437\u043d\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435.<br \/>  \u042f \u043d\u0435 \u0431\u0443\u0434\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0445, \u0440\u0435\u0436\u0438\u043c\u0430\u0445. \u042f \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u044e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0436\u0435\u0447\u044c \u043e\u0433\u043e\u043d\u044c \u0432 \u0433\u043b\u0430\u0437\u0430\u0445. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043a\u0442\u043e-\u0442\u043e \u0437\u0430\u0445\u043e\u0447\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0438 \u0443 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0431\u043e\u043b\u044c\u0448\u0435 \u0448\u0430\u043d\u0441\u043e\u0432 \u0437\u0430\u0442\u044f\u043d\u0443\u0442\u044c \u0432 \u044d\u0442\u043e \u043a\u0440\u0430\u0439\u043d\u0435 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e (\u0430 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0440\u043a\u043e\u0442\u0438\u043a). \u0410 \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0431\u0435\u0436\u0430\u0442\u044c \u043d\u0430 ebay \u0438\u043b\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0434\u043d\u0438 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b \u0438\u0437 \u041a\u0438\u0442\u0430\u044f, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u0438\u043b\u044b \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435.<br \/>  \u042f \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0432\u0430 \u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0445 hello world \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u0442\u0435\u043c \u043d\u0438 \u043c\u0435\u043d\u0435\u0435, \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e LED blinking. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-206034","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/206034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=206034"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/206034\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=206034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=206034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=206034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}