{"id":302064,"date":"2020-04-17T15:00:30","date_gmt":"2020-04-17T15:00:30","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=302064"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=302064","title":{"rendered":"\u0412\u0441\u0435 \u044d\u0442\u0430\u043f\u044b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u043e\u0431\u043e\u0442\u0430 \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043b\u0438\u043d\u0438\u0438, \u0438\u043b\u0438 \u043a\u0430\u043a \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0433\u0440\u0430\u0431\u043b\u0438 \u0441 STM32"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/497782\/\">\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043f\u0440\u043e \u043c\u043e\u0439 \u043e\u043f\u044b\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u043e\u0431\u043e\u0442\u0430 \u0434\u043b\u044f \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u043b\u0438\u043d\u0438\u0438. \u041f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435 \u044d\u0442\u0430\u043f\u044b \u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0438 \u0438 \u0437\u0430\u043a\u0430\u0437\u0430 \u043f\u0435\u0447\u0430\u0442\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b \u0434\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<p>  \u0413\u043e\u043d\u043a\u0430 \u0440\u043e\u0431\u043e\u0442\u043e\u0432 \u043f\u043e \u043b\u0438\u043d\u0438\u0438 \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0441\u0442\u0430\u043b\u0430 \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u0440\u043e\u0431\u043e\u0442\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u043e\u0432. \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u044b\u0445 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u044d\u0442\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0434\u0435\u043b\u0430\u0432 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u043e\u0431\u043e\u0442\u0430 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0435\u0437\u0434\u0435. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u043a\u0443\u0440\u0441\u0435 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043c\u0438\u0433\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c.<\/p>\n<h3>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/h3>\n<p>  \u041b\u044e\u0431\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u0434\u0430\u043d\u0438\u044f, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0422\u0417 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0440\u0435\u0433\u043b\u0430\u043c\u0435\u043d\u0442 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0439 &quot;<a href=\"https:\/\/robofinist.ru\/event\/info\/competitions\/id\/335\">\u0420\u043e\u0431\u043e\u0444\u0438\u043d\u0438\u0441\u0442<\/a>&quot;. \u0412 \u043d\u0435\u043c \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u0433\u0430\u0431\u0430\u0440\u0438\u0442\u0430\u043c (\u043d\u0435 \u0431\u043e\u043b\u0435\u0435 25\u044525\u044525 \u0441\u043c) \u0438 \u0432\u0435\u0441\u0443 \u0440\u043e\u0431\u043e\u0442\u0430 (\u043d\u0435 \u0431\u043e\u043b\u0435\u0435 1 \u043a\u0433), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0444\u043e\u0440\u043c\u0430 \u0442\u0440\u0430\u0441\u0441\u044b \u0438 \u0435\u0435 \u0448\u0438\u0440\u0438\u043d\u0430 1,5 \u0441\u043c. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0442\u0440\u0430\u0441\u0441\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u043e\u0433 \u043d\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0435\u0435 \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f (60 \u0441\u0435\u043a).<\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430 \u044f\u0441\u043d\u0430, \u043d\u0443\u0436\u0435\u043d \u0440\u043e\u0431\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u0439 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u043b\u0438\u043d\u0438\u044e \u0438 \u043f\u0440\u043e\u0435\u0445\u0430\u0442\u044c \u043f\u043e \u043d\u0435\u0439 \u043e\u0442 \u0441\u0442\u0430\u0440\u0442\u0430 \u0434\u043e \u0444\u0438\u043d\u0438\u0448\u0430 \u0437\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0440\u0435\u0437\u043e\u043a \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<h3>\u041f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b<\/h3>\n<p>  \u042f\u0434\u0440\u043e\u043c \u0440\u043e\u0431\u043e\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 STM32F103C8T6, \u043e\u043d \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u0440\u0430\u0441\u0441\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 QRE1113 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 A3906. \u0414\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434, \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u0442\u0447\u0438\u043a \u00ab\u0432\u0438\u0434\u0438\u0442\u00bb \u0447\u0435\u0440\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u0437\u0430\u0433\u043e\u0440\u0430\u0435\u0442\u0441\u044f, \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d li-po \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0442\u0438\u043f\u0430 18650 \u0441 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435\u043c 3,7 \u0412 \u0438 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0430 \u0437\u0430\u0440\u044f\u0434\u0430 LTC4054ES5. \u041d\u043e \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0443\u0436\u043d\u043e \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 6 \u0412, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u043e\u0432\u044b\u0448\u0430\u044e\u0449\u0438\u0439 DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f LM2577, \u0438 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 LM1117 \u043d\u0430 3,3 \u0412 \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u0438.<br \/>  <a name=\"habracut\"><\/a><br \/>  <img decoding=\"async\" src=\"https:\/\/sun9-67.userapi.com\/c857520\/v857520117\/1ce8b1\/vgBe6R-Dad0.jpg\" alt=\"image\"\/><\/p>\n<p>  \u041f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e \u043f\u0435\u0440\u0432\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438. \u041f\u043e \u043d\u0435\u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u043f\u0443\u0442\u0430\u043b \u043e\u0434\u043d\u0443 \u043f\u0430\u0440\u0443 \u043f\u0438\u043d\u043e\u0432 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0438 \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0443\u0441\u0438\u0442\u044c \u0438\u0445. \u0417\u0430\u0442\u0435\u043c \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0447\u0442\u043e \u043d\u0435 \u0432\u0441\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043d\u0430 \u043b\u0438\u043d\u0438\u044e, \u043c\u043e\u044f \u043f\u0435\u0440\u0432\u0430\u044f \u0440\u0435\u0430\u043a\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0447\u0442\u043e \u044f \u0441\u043f\u0430\u043b\u0438\u043b \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0431\u0438\u0442\u044b\u0435 \u043d\u043e\u0433\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043d\u0430 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043b\u0438\u0448\u043d\u0438\u043c\u0438, \u0438\u043b\u0438 \u0447\u0442\u043e \u044f \u043f\u043b\u043e\u0445\u043e \u043f\u0440\u043e\u043f\u0430\u044f\u043b \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b. <\/p>\n<p>  \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u043e\u0441\u0446\u0438\u043b\u043b\u043e\u0433\u0440\u0430\u0444\u043e\u043c, \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043a\u0440\u044b\u043b\u0430\u0441\u044c \u0432 \u0441\u0430\u043c\u0438\u0445 \u0434\u0430\u0442\u0447\u0438\u043a\u0430\u0445, \u0438\u0437 10 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e 4, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u0438\u0445 \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u2014 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0442\u0440\u0438 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043d\u044b\u0445 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430 PB3, PB4 \u0438 PA15. \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0432 \u0438 \u043f\u0440\u043e\u0441\u0432\u0435\u0440\u043b\u0438\u0432 \u0432\u0437\u0433\u043b\u044f\u0434\u043e\u043c \u0432\u0435\u0441\u044c \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 \u044f \u043d\u0435 \u043c\u043e\u0433 \u043d\u0430\u0439\u0442\u0438 \u043e\u0442\u043b\u0438\u0447\u0438\u0439 \u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0438 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u043f\u043e\u0440\u0442\u043e\u0432 \u0432\u0435\u0437\u0434\u0435 \u0431\u044b\u043b Push Pull, 10 MHz \u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0435 \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u043e\u0441\u0446\u0438\u043b\u043b\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u0447\u0442\u043e \u043e\u0434\u0438\u043d \u043f\u0438\u043d \u043f\u0440\u0438\u0442\u044f\u043d\u0443\u0442 \u043a \u043f\u043b\u044e\u0441\u0443 \u0438 \u0434\u0430\u0436\u0435 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u043b\u0441\u044f, \u044f \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u0441\u043f\u0430\u043b\u0438\u043b \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440. \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u044f \u0434\u0430\u0442\u0430\u0448\u0438\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u0447\u0442\u043e \u043f\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u0438 \u043f\u0438\u043d\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f JTAG, \u0430 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e SWD, \u043d\u043e \u0440\u0435\u0448\u0438\u0432 \u0447\u0442\u043e \u0445\u0443\u0436\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0447\u0430\u043b \u0433\u0443\u0433\u043b\u0438\u0442\u044c \u043a\u0430\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c JTAG \u0438 \u043e \u0447\u0443\u0434\u043e \u044d\u0442\u043e \u0438 \u0432\u043f\u0440\u0430\u0432\u0434\u0443 \u043f\u043e\u043c\u043e\u0433\u043b\u043e (\u0441\u043c. \u043d\u0438\u0436\u0435).<\/p>\n<p>  \u041c\u0438\u043d\u0438 \u0432\u044b\u0432\u043e\u0434, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u0441\u0435\u0445 \u044d\u0442\u0430\u043f\u0430\u0445 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0442\u043e\u043c \u043d\u0435 \u0434\u0443\u043c\u0430\u0442\u044c \u0441\u043f\u0430\u043b\u0438\u043b\u0438 \u0432\u044b \u0447\u0442\u043e \u0442\u043e \u0438\u043b\u0438 \u043e\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c.<\/p>\n<h4>\u0427\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0441\u0445\u0435\u043c\u0435<\/h4>\n<p>  \u041c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0443 \u0437\u0430\u0440\u044f\u0434\u0430 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0441\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c, \u0430 \u0432\u043e\u0442 \u043f\u0440\u043e \u0440\u0430\u0437\u0440\u044f\u0434 \u0437\u0430\u0431\u044b\u043b, \u0445\u043e\u0442\u044f \u043e\u043d\u0430 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0432\u0430\u0436\u043d\u0430, \u043f\u043b\u044e\u0441 \u0432 2020 \u0433. \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b mini USB \u0432\u043c\u0435\u0441\u0442\u043e tipe C. \u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0435\u0449\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0437\u0430\u0440\u044f\u0434 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u043d\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u043f\u0438\u043d\u043e\u0432 \u0410\u0426\u041f. \u0412\u044b\u0431\u0438\u0440\u0430\u044f \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u043e\u043f\u0438\u0440\u0430\u043b\u0441\u044f \u043d\u0430 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f 6 \u0412 \u0438 700 \u043c\u0410, \u043d\u043e \u043d\u0435 \u0443\u0447\u0435\u043b \u0447\u0442\u043e \u0435\u0433\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 9 \u0412, \u0430 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b 12 \u0412.<\/p>\n<h3>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0435\u0447\u0430\u0442\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b<\/h3>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c\u0438 \u0438 \u0444\u043e\u0440\u043c\u043e\u0439 \u041f\u041f \u0438 \u043f\u043e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0443 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u043e\u0439 \u0440\u043e\u0431\u043e\u0442\u0430. \u0412\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0447\u0442\u043e \u043f\u043e \u0440\u0435\u0433\u043b\u0430\u043c\u0435\u043d\u0442\u0443 \u0433\u0430\u0431\u0430\u0440\u0438\u0442\u044b \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c 25\u044525 \u0441\u043c, \u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0443\u0447\u0435\u0441\u0442\u044c \u0447\u0442\u043e \u043f\u0440\u0438 \u0437\u0430\u043a\u0430\u0437\u0435 \u041f\u041f \u043d\u0430 \u0437\u0430\u0432\u043e\u0434\u0435 (PCBWay) \u0432 \u041a\u0438\u0442\u0430\u0435, \u043f\u043b\u0430\u0442\u044b \u0441\u0432\u044b\u0448\u0435 10\u044510 \u0441\u043c \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0441\u0442\u0430\u044e\u0442 \u0432 \u0446\u0435\u043d\u0435. \u0414\u0443\u043c\u0430\u044e \u0432\u044b\u0431\u043e\u0440 \u0433\u0430\u0431\u0430\u0440\u0438\u0442\u043e\u0432 \u043e\u0447\u0435\u0432\u0438\u0434\u0435\u043d.<\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u043e \u0434\u0430\u0442\u0447\u0438\u043a\u0438 (\u0441 \u043d\u0438\u0436\u043d\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043f\u043b\u0430\u0442\u044b) \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0448\u0438\u0440\u0438\u043d\u0443 \u043b\u0438\u043d\u0438\u0438, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438 \u0441\u0430\u043c\u044b\u0435 \u0442\u044f\u0436\u0435\u043b\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b, \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0438 \u0438 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440. \u0421\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043e\u0441\u0438 \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u0430\u043c\u0438, \u0441 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043f\u043b\u0430\u0442\u044b. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0442\u0443\u043c\u0431\u043b\u0435\u0440 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 \u0440\u0430\u0437\u044a\u0435\u043c \u0437\u0430\u0440\u044f\u0434\u0430 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0432 \u0437\u0430\u0434\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0431\u043b\u0438\u0436\u0435 \u043a \u0446\u0435\u043d\u0442\u0440\u0443. <\/p>\n<p>  \u041e\u0431\u0440\u0435\u0437\u0430\u0432 \u043f\u0443\u0441\u0442\u044b\u0435 \u043a\u0440\u0430\u044f \u043f\u043b\u0430\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0432\u043f\u043e\u043b\u043d\u0435 \u0434\u043e\u0441\u0442\u043e\u0439\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0440\u043e\u0431\u043e\u0442\u0430.<\/p>\n<p>  \u041f\u043b\u0430\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438\u0437-\u0437\u0430 \u043c\u0430\u043b\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u0418\u0442\u043e\u0433\u043e 2 \u0441\u043b\u043e\u044f \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u043e\u043b\u0449\u0438\u043d\u0430 \u0434\u043e\u0440\u043e\u0436\u043a\u0438 0,25 \u043c\u043c. \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0432 \u043f\u043b\u0430\u0442\u0443 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Gerber \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b \u0435\u0435 \u043d\u0430 \u0437\u0430\u0432\u043e\u0434 \u0432\u044b\u0431\u0440\u0430\u0432 \u0431\u0435\u043b\u044b\u0439 \u0446\u0432\u0435\u0442 \u043c\u0430\u0441\u043a\u0438, \u0442\u0443\u0442 \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/sun9-13.userapi.com\/c206828\/v206828117\/e93c0\/pV4qnXbVyRk.jpg\" alt=\"image\"\/><\/p>\n<p>  \u0418 3D \u0432\u0438\u0434 \u043f\u043b\u0430\u0442\u044b \u0441 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c. \u0416\u0438\u0432\u043e\u0435 \u0444\u043e\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432 \u043a\u043e\u043d\u0446\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/sun9-6.userapi.com\/c206828\/v206828117\/e93c9\/IDxvx5x_T-w.jpg\" alt=\"image\"\/><\/p>\n<h4>\u0427\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u043f\u043b\u0430\u0442\u0435<\/h4>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043b\u0438\u0437\u043a\u043e \u043a \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u043e\u043c\u0443 \u043a\u043e\u0440\u043f\u0443\u0441\u0443 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0438 \u0431\u044b\u043b\u043e \u0441\u043b\u043e\u0436\u043d\u043e \u0438\u0445 \u043f\u0430\u044f\u0442\u044c, \u0430 \u0435\u0449\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u043f\u0435\u0440\u0435\u043f\u0430\u0438\u0432\u0430\u0442\u044c. \u0417\u0430\u0431\u044b\u043b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c \u0446\u043e\u043a\u043e\u043b\u0435\u0432\u043a\u0443 \u0440\u0430\u0437\u044a\u0435\u043c\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f SWD, UART \u0438 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0430\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u0442\u044c \u0432 \u0441\u0445\u0435\u043c\u0443.<\/p>\n<h3>\u0417\u0430\u043a\u0443\u043f\u043a\u0430 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0443\u044e\u0449\u0438\u0445<\/h3>\n<p>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0441\u0435\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0441\u0430\u043c\u044b\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0442\u043e\u0432\u0430\u0440\u0430, \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0443\u0436\u043d\u043e, \u043d\u043e \u0432 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445, \u0442\u0430\u043a \u0437\u0430\u043a\u0430\u0437\u0430\u0432 \u043d\u0430 \u0410\u043b\u0438\u044d\u043a\u0441\u043f\u0440\u0435\u0441\u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u043b\u0438\u043d\u0438\u0438 \u0432 4,5 \u0440\u0430\u0437\u0430 \u0434\u0435\u0448\u0435\u0432\u043b\u0435 \u0447\u0435\u043c \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0438, \u044f \u043f\u043e\u043f\u043b\u0430\u0442\u0438\u043b\u0441\u044f \u0442\u0435\u043c \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 40% \u0438\u0437 \u043d\u0438\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043d\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u043c\u0438, \u0430 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u043f\u043e\u0438\u0441\u043a \u0438 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043e\u043a. \u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043c\u043d\u0435 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0443 LM2577 \u0437\u0430 460 \u0440\u0443\u0431, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u0433\u0434\u0430 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u043e \u0432\u0441\u0435\u0439 \u043e\u0431\u0432\u044f\u0437\u043a\u043e\u0439 \u0441\u0442\u043e\u0438\u0442 100 \u0440\u0443\u0431. \u0427\u0430\u0441\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u0437\u0430\u043a\u0430\u0437\u0430\u043b \u043d\u0430 \u0410\u043b\u0438, \u0434\u0440\u0443\u0433\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432 \u043c\u0435\u0441\u0442\u043d\u043e\u043c \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435.<\/p>\n<p>  \u0412\u043e\u0442 \u043c\u043e\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u044b\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b \u043d\u0430 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0443\u044e\u0449\u0438\u0435:<\/p>\n<ol>\n<li>\u0414\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0438 \u0438 \u043a\u043e\u043b\u0435\u0441\u0430 \u2014 800 \u0440\u0443\u0431;<\/li>\n<li>\u0410\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0438 \u043a\u0435\u0439\u0441 \u2014 400 \u0440\u0443\u0431;<\/li>\n<li>\u0417\u0430\u0440\u044f\u0434\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u2014 300 \u0440\u0443\u0431;<\/li>\n<li>\u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u2014 200 \u0440\u0443\u0431;<\/li>\n<li>\u0421\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u2014 400 \u0440\u0443\u0431;<\/li>\n<li>\u041f\u043b\u0430\u0442\u044b 10 \u0435\u0434 \u0441 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u043e\u0439 2400\/10 = 240 \u0440\u0443\u0431 \u0437\u0430 \u0435\u0434;<\/li>\n<li>\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0431\u0432\u044f\u0437\u043a\u0430 \u2014 150 \u0440\u0443\u0431.<\/li>\n<\/ol>\n<p>  <b>\u0418\u0442\u043e\u0433\u043e:<\/b> 4650 \u0440\u0443\u0431 \u043e\u0431\u0449\u0438\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b, \u0438\u043b\u0438 2490 \u0435\u0441\u043b\u0438 \u0432\u044b\u0447\u0435\u0441\u0442\u044c \u0446\u0435\u043d\u0443 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0435\u0432\u044f\u0442\u0438 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u043f\u043b\u0430\u0442.<\/p>\n<p>  \u0414\u0443\u043c\u0430\u044e \u043f\u0440\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u0437\u0430\u043a\u0443\u043f\u043a\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438 \u0438\u0445 \u043c\u043e\u043d\u0442\u0430\u0436\u0435 \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u0437\u0430\u0432\u043e\u0434\u0435 \u043f\u0435\u0447\u0430\u0442\u043d\u044b\u0445 \u043f\u043b\u0430\u0442, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0440\u0430\u0439\u043e\u043d\u0435 1500-2000 \u0440\u0443\u0431 \u0437\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0443\u0436\u0435 \u043f\u0440\u0438 \u043f\u0430\u0440\u0442\u0438\u0438 \u0432 20-30 \u0435\u0434\u0438\u043d\u0438\u0446.<\/p>\n<h3>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c<\/h3>\n<p>  \u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439, \u0435\u0441\u043b\u0438 \u043b\u0438\u043d\u0438\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u043f\u0440\u0430\u0432\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0442\u043e \u043f\u0440\u0430\u0432\u044b\u0439 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u0447\u043d\u0435\u0442 \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u0442\u044c\u0441\u044f \u0438 \u0447\u0435\u043c \u0431\u043b\u0438\u0436\u0435 \u043b\u0438\u043d\u0438\u044f \u043a \u043a\u0440\u0430\u044e, \u0442\u0435\u043c \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c, \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e \u0435\u0433\u043e \u043f\u043e\u043b\u043d\u043e\u0439 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a \u043b\u0435\u0432\u044b\u0439 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u043b\u0438\u043d\u0438\u0438. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0435\u0441\u043b\u0438 \u043b\u0438\u043d\u0438\u044f \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0441 \u043b\u0435\u0432\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b. \u0422\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0440\u043e\u0431\u043e\u0442 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f \u043b\u0438\u043d\u0438\u044e \u043a \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0434\u0430\u0442\u0447\u0438\u043a\u0430\u043c. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/sun9-70.userapi.com\/c206620\/v206620880\/e6c0f\/R_ZbcfpyUGE.jpg\" alt=\"image\"\/><\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u0445<\/b>                         <\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/sun9-4.userapi.com\/c206628\/v206628880\/e701e\/mxeLd8J5Bpo.jpg\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/sun9-16.userapi.com\/c206628\/v206628880\/e7027\/6C8wso-_gBI.jpg\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/sun9-29.userapi.com\/c206628\/v206628880\/e7030\/dNApsvp4i6s.jpg\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/sun9-57.userapi.com\/c206628\/v206628880\/e7039\/KoCrC3YesNo.jpg\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/sun9-40.userapi.com\/c206628\/v206628880\/e7015\/pM0fJsBQfHI.jpg\" alt=\"image\"\/>  <\/div>\n<\/p><\/div>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u0437\u0430\u0441\u0435\u043a\u043b\u0438 \u043b\u0438\u043d\u0438\u044e, \u0442\u043e \u044d\u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u043c\u044b \u043f\u0435\u0440\u0435\u0441\u0435\u043a\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u043e\u043a \u0438 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0435\u0445\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435 \u0432\u043f\u0435\u0440\u0435\u0434. \u0418\u043b\u0438 \u0435\u0441\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0430\u0439\u043d\u0438\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u0437\u0430\u0441\u0435\u043a\u043b\u0438 \u043b\u0438\u043d\u0438\u044e, \u0442\u043e \u043c\u044b \u043f\u0440\u0438\u0435\u0445\u0430\u043b\u0438 \u043d\u0430 \u0444\u0438\u043d\u0438\u0448 \u0438 \u043d\u0443\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f.<\/p>\n<h3>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h3>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u0431\u0443\u0431\u0435\u043d \u0438 \u0431\u0438\u0442\u044c \u0432 \u043d\u0435\u0433\u043e.<\/p>\n<p>  \u041f\u0438\u0441\u0430\u043b \u0432 Atollic True Studio \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e CMSIS \u0438 FreeRTOS. \u041d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a FreeRTOS \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u043d\u0435\u0434\u0435\u043b\u0438, \u0434\u0435\u043b\u0430\u043b \u0432\u0441\u0435 \u043f\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c, \u043d\u043e \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043b\u043e\u0432\u0438\u043b \u043e\u0448\u0438\u0431\u043a\u0438, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u043b 1 \u043f\u043e\u044f\u0432\u043b\u044f\u043b\u043e\u0441\u044c 63, \u0438\u043b\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u043e\u0448\u0438\u0431\u043e\u043a, \u043d\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0437\u0430\u0432\u0438\u0441\u0430\u043b. \u0412 \u043a\u0430\u043a\u043e\u0439 \u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043c\u043e\u0435\u0433\u043e \u0440\u0443\u043a\u043e\u2026 \u0434\u043e\u0441\u0442\u0438\u0433 \u043d\u0435\u0431\u044b\u0432\u0430\u043b\u044b\u0445 \u0432\u044b\u0441\u043e\u0442 \u0438 \u043f\u043e\u0440\u0430 \u0431\u044b \u043e\u0431\u0434\u0443\u043c\u0430\u0442\u044c \u0447\u0435\u043c \u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0441\u044c \u0438 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u044e. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0442\u043e\u0432\u0430\u0440\u0438\u0449\u0430\u043c \u0438\u0437 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u043d\u0430\u0447\u0430\u043b \u043a\u043e\u043f\u0430\u0442\u044c \u0432 \u043d\u0443\u0436\u043d\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0438 \u0438\u0437 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u0435\u0440\u0435\u0440\u044b\u0442\u044b\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 \u043d\u0430\u0448\u0435\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u0438 (\u0441\u043c. \u043d\u0438\u0436\u0435). \u0412 \u0438\u0442\u043e\u0433\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u044c FreeRTOS \u0438 \u043f\u043e\u043a\u0430 \u044f \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043d\u0430 0%, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u0441\u0435 \u0437\u0430\u043f\u0438\u0445\u0430\u043b \u0432 \u043e\u0434\u043d\u0443 \u0437\u0430\u0434\u0430\u0447\u0443.<\/p>\n<p>  \u0422\u0443\u0442 \u043c\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0433\u043b\u043e <a href=\"https:\/\/www.youtube.com\/watch?v=9JpRV15i8Zo&amp;list=PLUYH9oDZsrZ3TqCQg88m6N1l_hxTsUIlS&amp;index=2\">\u0432\u0438\u0434\u0435\u043e <\/a> \u0438 <a href=\"http:\/\/www.asobol.ru\/software\/freertos?   tmpl=%2Fsystem%2Fapp%2Ftemplates%2Fprint%2F&amp;showPrintDialog=1\">\u0441\u0442\u0430\u0442\u044c\u044f,<\/a> \u0438 \u044d\u0442\u0430 <a href=\"https:\/\/habr.com\/ru\/post\/139601\/\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a>.<\/p>\n<p>  \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0442\u0443\u0442 \u044f \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u043e\u043b\u0436\u043d\u043e. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 PLL \u043d\u0430 48 \u041c\u0433\u0446, \u044f \u0443\u0432\u0438\u0434\u0435\u043b \u043d\u0430 \u043d\u043e\u0433\u0435 MCO 24 \u041c\u0433\u0446 (\/2), \u043d\u0435\u0442 \u044f \u0443\u0432\u0438\u0434\u0435\u043b 22-25 \u041c\u0413\u0446 \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u043e\u0442\u0434\u0430\u043b\u0435\u043d\u043d\u043e \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0449\u0438\u0439 \u0441\u0438\u043d\u0443\u0441. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u044f \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u043b \u0432 FreeRTOS config 48\u041c\u0433\u0446 \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u0432 500 \u043c\u0441 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u0443\u0432\u0438\u0434\u0435\u043b \u0447\u0442\u043e \u043c\u043e\u0438 500 \u043c\u0441 \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b\u0438\u0441\u044c \u0432 300, \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u0432 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u0447\u0442\u043e \u0446\u0435\u043b\u0435\u0432\u044b\u0435 500 \u043c\u0441 \u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u043d\u0430 8 \u041c\u0433\u0446, \u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0442\u043e\u0442\u044b FreeRTOS config \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0432\u043b\u0438\u044f\u043b\u043e, \u0441\u0442\u0430\u0432\u0438\u043b \u0438 1 \u0413\u0446 \u0438 48 \u0413\u0413\u0446. \u0420\u0435\u0448\u0438\u043b \u0432\u0435\u0440\u043d\u0443\u0442\u044c 48 \u041c\u0413\u0446 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 300 \u043c\u0441, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b True Studio \u0438 \u043e \u0447\u0443\u0434\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a \u043a\u0430\u043a \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u043e\u0441\u044c, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u0443\u0436\u0435 \u0443\u043a\u0430\u0437\u0430\u043b \u0432\u0441\u0435 \u043f\u0443\u0442\u0438 \u043a \u0444\u0430\u0439\u043b\u0430\u043c.<\/p>\n<p>  \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 JTAG \u0438 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432, \u043e\u043f\u0438\u0441\u0430\u043b \u0432\u044b\u0448\u0435, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u043b <a href=\"http:\/\/cdeblog.ru\/fix-stm32f103-pb3-does-not-work\">\u0442\u0443\u0442 <\/a>\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0433\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u0432 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043f\u0438\u043d\u0430\u043c PB3, PB4 \u0438 PA15.<\/p>\n<pre><code class=\"cpp\">AFIO-&gt;MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;<\/code><\/pre>\n<p>  \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f:<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430<\/b>                         <\/p>\n<div class=\"spoiler_text\">1. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f;  <\/p>\n<pre><code class=\"cpp\"> void RCC_Init(void) {\t\t\t\t\t\t\/\/ Quartz 16 MHz  \tRCC-&gt;CFGR |= RCC_CFGR_PLLXTPRE;\t\/\/ PLLXTPRE set divider (\/2) = 8 MHz  \tRCC-&gt;CR |= RCC_CR_HSEON;\t\t\t\/\/ On HSE \twhile (!(RCC-&gt;CR & RCC_CR_HSERDY)) { \t};  \tRCC-&gt;CFGR |= (RCC_CFGR_PLLMULL6);     \/\/ Setup PLLMULL set multiplier (x6) = 48 MHz  \tRCC-&gt;CFGR |= RCC_CFGR_PLLSRC;\t\t\/\/ PLLSRC set HSE  \tRCC-&gt;CR |= RCC_CR_PLLON;\t\t\t\/\/ ON PLL \twhile (!(RCC-&gt;CR & RCC_CR_PLLRDY)) { \t};  \tFLASH-&gt;ACR &= ~FLASH_ACR_LATENCY;\t\/\/ Setup FLASH \tFLASH-&gt;ACR |= FLASH_ACR_LATENCY_1;  \tRCC-&gt;CFGR |= RCC_CFGR_HPRE_DIV1; \t\/\/ Set not divider (AHB) = 48 MHz \tRCC-&gt;CFGR |= RCC_CFGR_PPRE1_DIV2; \t\/\/ Set divider (\/2) (APB1) = 24 MHz \tRCC-&gt;CFGR |= RCC_CFGR_PPRE2_DIV1; \t\/\/ Set not divider (APB2) = 48 MHz  \tRCC-&gt;CFGR &= ~RCC_CFGR_SW; \t\t\/\/ Setup SW, select PLL \tRCC-&gt;CFGR |= RCC_CFGR_SW_PLL;  \/\/\tRCC-&gt;CFGR |= RCC_CFGR_MCO_SYSCLK;  } <\/code><\/pre>\n<p>  2. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u0438\u043d\u044b, \u0434\u043b\u044f \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 \u0440\u0435\u0436\u0438\u043c \u0410\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430, \u0434\u043b\u044f \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439 \u0440\u0435\u0436\u0438\u043c \u0432\u044b\u0445\u043e\u0434 \u0442\u0430\u0439\u043c\u0435\u0440\u0430, \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u0435\u0436\u0438\u043c Push Pull;<\/p>\n<pre><code class=\"cpp\"> void GPIO_Init(void) {  \tRCC-&gt;APB2ENR |=\t(RCC_APB2ENR_IOPAEN | RCC_APB2ENR_IOPBEN | RCC_APB2ENR_AFIOEN); \/\/ Enable clock portA, portB and Alternative function  \tAFIO-&gt;MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;\t\/\/ Disable JTAG for pins B3,B4 and A15  \t\/\/---------------LED: (B3 to B9; A11, A12, A15); Output mode: Push Pull, max 10 MHz---------------\/\/  \tGPIOB-&gt;CRL &= ~(GPIO_CRL_CNF3 | GPIO_CRL_MODE3);\t\/\/ Setup B3 pins PP, 10MHz \tGPIOB-&gt;CRL |= GPIO_CRL_MODE3_0;  \tGPIOB-&gt;CRL &= ~(GPIO_CRL_CNF4 | GPIO_CRL_MODE4);\t\/\/ Setup B3 pins PP, 10MHz \tGPIOB-&gt;CRL |= GPIO_CRL_MODE4_0;  \tGPIOB-&gt;CRL &= ~(GPIO_CRL_CNF5 | GPIO_CRL_MODE5);\t\/\/ Setup B4 pins PP, 10MHz \tGPIOB-&gt;CRL |= GPIO_CRL_MODE5_0;  \tGPIOB-&gt;CRL &= ~(GPIO_CRL_CNF6 | GPIO_CRL_MODE6);\t\/\/ Setup B5 pins PP, 10MHz \tGPIOB-&gt;CRL |= GPIO_CRL_MODE6_0;  \tGPIOB-&gt;CRL &= ~(GPIO_CRL_CNF7 | GPIO_CRL_MODE7);\t\/\/ Setup B6 pins PP, 10MHz \tGPIOB-&gt;CRL |= GPIO_CRL_MODE7_0;  \tGPIOB-&gt;CRH &= ~(GPIO_CRH_CNF8 | GPIO_CRH_MODE8);\t\/\/ Setup B7 pins PP, 10MHz \tGPIOB-&gt;CRH |= GPIO_CRH_MODE8_0;  \tGPIOB-&gt;CRH &= ~(GPIO_CRH_CNF9 | GPIO_CRH_MODE9);\t\/\/ Setup B8 pins PP, 10MHz \tGPIOB-&gt;CRH |= GPIO_CRH_MODE9_0;  \tGPIOA-&gt;CRH &= ~(GPIO_CRH_CNF11 | GPIO_CRH_MODE11);\t\/\/ Setup A11 pins PP, 10MHz \tGPIOA-&gt;CRH |= GPIO_CRH_MODE11_0;  \tGPIOA-&gt;CRH &= ~(GPIO_CRH_CNF12 | GPIO_CRH_MODE12);\t\/\/ Setup A12 pins PP, 10MHz \tGPIOA-&gt;CRH |= GPIO_CRH_MODE12_0;  \tGPIOA-&gt;CRH &= ~(GPIO_CRH_CNF15 | GPIO_CRH_MODE15);\t\/\/ Setup A15 pins PP, 10MHz \tGPIOA-&gt;CRH |= GPIO_CRH_MODE15_0;  \t\/\/--Motors: (A8 to A10; B12 to B15); Output and input (B12, B13) mode: Alternative function, PWM - Push Pull, max 10 MHz--\/\/  \tGPIOB-&gt;CRH &= ~(GPIO_CRH_CNF12 | GPIO_CRH_MODE12);\t\t\/\/ Setup B12 pins analog input  \tGPIOB-&gt;CRH &= ~(GPIO_CRH_CNF13 | GPIO_CRH_MODE13);\t\t\/\/ Setup B13 pins analog input  \tGPIOB-&gt;CRH &= ~(GPIO_CRH_CNF14   | GPIO_CRH_MODE14);\t\/\/ Setup B14 pins PP, 10MHz \tGPIOB-&gt;CRH |=  GPIO_CRH_MODE14_0;  \tGPIOB-&gt;CRH &= ~(GPIO_CRH_CNF15   | GPIO_CRH_MODE15);\t\/\/ Setup B15 pins PP, AF, 10MHz \tGPIOB-&gt;CRH |=  (GPIO_CRH_CNF15_1 | GPIO_CRH_MODE15_0);  \tGPIOA-&gt;CRH &= ~(GPIO_CRH_CNF8 | GPIO_CRH_MODE8);\t\t\/\/ Setup A10 pins PP, 10MHz \tGPIOA-&gt;CRH |= GPIO_CRH_MODE8_0;  \tGPIOA-&gt;CRH &= ~(GPIO_CRH_CNF9    | GPIO_CRH_MODE9);\t\t\/\/ Setup A9 pins PP, AF, 10MHz \tGPIOA-&gt;CRH |=  (GPIO_CRH_CNF9_1  | GPIO_CRH_MODE9_0);  \tGPIOA-&gt;CRH &= ~(GPIO_CRH_CNF10 | GPIO_CRH_MODE10);\t\t\/\/ Setup A10 pins PP, 10MHz \tGPIOA-&gt;CRH |= GPIO_CRH_MODE10_0;  \t\/\/--UART3: (B10 - TX; B11 - RX); Output mode: Alternative function, UART - Push Pull, max 10 MHz--\/\/  \tGPIOB-&gt;CRH &= ~(GPIO_CRH_CNF10   | GPIO_CRH_MODE10);\t\/\/ Setup B10 pins PP, AF, 10MHz \tGPIOB-&gt;CRH |=  (GPIO_CRH_CNF10_1 | GPIO_CRH_MODE10_0);  \tGPIOB-&gt;CRH &= ~(GPIO_CRH_CNF11   | GPIO_CRH_MODE11);\t\/\/ Setup B11 pins PP, AF, 10MHz \tGPIOB-&gt;CRH |=  (GPIO_CRH_CNF11_1 | GPIO_CRH_MODE11_0);  \t\/\/--Optical sensors: (B0, B1, A0 - A7); Input mode: Analog--\/\/  \tGPIOB-&gt;CRL &= ~(GPIO_CRL_CNF0 | GPIO_CRL_MODE0);\t\/\/ Setup B0 pins analog input \tGPIOB-&gt;CRL &= ~(GPIO_CRL_CNF1 | GPIO_CRL_MODE1);\t\/\/ Setup B1 pins analog input \tGPIOA-&gt;CRL &= ~(GPIO_CRL_CNF0 | GPIO_CRL_MODE0);\t\/\/ Setup A0 pins analog input \tGPIOA-&gt;CRL &= ~(GPIO_CRL_CNF1 | GPIO_CRL_MODE1);\t\/\/ Setup A1 pins analog input \tGPIOA-&gt;CRL &= ~(GPIO_CRL_CNF2 | GPIO_CRL_MODE2);\t\/\/ Setup A2 pins analog input \tGPIOA-&gt;CRL &= ~(GPIO_CRL_CNF3 | GPIO_CRL_MODE3);\t\/\/ Setup A3 pins analog input \tGPIOA-&gt;CRL &= ~(GPIO_CRL_CNF4 | GPIO_CRL_MODE4);\t\/\/ Setup A4 pins analog input \tGPIOA-&gt;CRL &= ~(GPIO_CRL_CNF5 | GPIO_CRL_MODE5);\t\/\/ Setup A5 pins analog input \tGPIOA-&gt;CRL &= ~(GPIO_CRL_CNF6 | GPIO_CRL_MODE6);\t\/\/ Setup A6 pins analog input \tGPIOA-&gt;CRL &= ~(GPIO_CRL_CNF7 | GPIO_CRL_MODE7);\t\/\/ Setup A7 pins analog input  } <\/code><\/pre>\n<p>  3. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0410\u0426\u041f \u043d\u0430 \u0446\u0438\u043a\u043b\u0438\u0447\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 DMA, \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u043b <a href=\"https:\/\/habr.com\/ru\/post\/337622\/\">\u043e\u0442\u0441\u044e\u0434\u0430<\/a>;<\/p>\n<pre><code class=\"cpp\"> extern uint16_t adc_buf[10];  void ADC_Init(void) {  \t RCC-&gt;AHBENR |= RCC_AHBENR_DMA1EN; \t DMA1_Channel1-&gt;CPAR = (uint32_t) &ADC1-&gt;DR;\t\t\/\/ \u0430\u0434\u0440\u0435\u0441 \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0439\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \t DMA1_Channel1-&gt;CMAR = (unsigned int) adc_buf;   \t\/\/ \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0444\u0435\u0440\u0430 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438  \t DMA1_Channel1-&gt;CNDTR = 10;\t\t\t  \t\t\t\t\/\/ \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043e\u0431\u043c\u0435\u043d\u0430 \t DMA1_Channel1-&gt;CCR &= ~DMA_CCR_EN;\t\t\t   \t\t\/\/ \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \t DMA1_Channel1-&gt;CCR |= DMA_CCR_MSIZE_0;\t\t  \t\t\/\/ \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0430\u043c\u044f\u0442\u0438 16 bit \t DMA1_Channel1-&gt;CCR |= DMA_CCR_PSIZE_0;\t\t \t\t\/\/ \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0438 16 bit \t DMA1_Channel1-&gt;CCR |= DMA_CCR_MINC;\t\t\t  \t\/\/ memory increment mode \t DMA1_Channel1-&gt;CCR |= DMA_CCR_CIRC; \t DMA1_Channel1-&gt;CCR |= DMA_CCR_TCIE;\t\t\t\t\/\/ \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \t DMA1_Channel1-&gt;CCR |= DMA_CCR_EN;\t\t\t\t  \t\/\/ \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \t NVIC_SetPriority(DMA1_Channel1_IRQn, 10); \t NVIC_EnableIRQ(DMA1_Channel1_IRQn);  \t RCC-&gt;CFGR &= ~RCC_CFGR_ADCPRE; \t RCC-&gt;CFGR |= RCC_CFGR_ADCPRE_DIV8; \t RCC-&gt;APB2ENR |= RCC_APB2ENR_ADC1EN;  \t ADC1-&gt;SQR3 = 0;\t\t\t\/\/ 1 \t ADC1-&gt;SQR3 |= 1 &lt;&lt; 5;\t\t\/\/ 2 \u0421\u043b\u0435\u0432\u0430 \u043d\u043e\u043c\u0435\u0440 \u043a\u0430\u043d\u0430\u043b\u0430 \u0441\u043f\u0440\u0430\u0432\u0430 \u0441\u0434\u0432\u0438\u0433 \t ADC1-&gt;SQR3 |= 2 &lt;&lt; 10;\t\t\/\/ 3 \t ADC1-&gt;SQR3 |= 3 &lt;&lt; 15;\t\t\/\/ 4 \t ADC1-&gt;SQR3 |= 4 &lt;&lt; 20;\t\t\/\/ 5 \t ADC1-&gt;SQR3 |= 5 &lt;&lt; 25;\t\t\/\/ 6 \t ADC1-&gt;SQR2 = 6;\t\t\t\/\/ 7 \t ADC1-&gt;SQR2 |= 7 &lt;&lt; 5;\t\t\/\/ 8 \t ADC1-&gt;SQR2 |= 8 &lt;&lt; 10;\t\t\/\/ 9 \t ADC1-&gt;SQR2 |= 9 &lt;&lt; 15;\t\t\/\/ 10  \t ADC1-&gt;CR2 = ADC_CR2_EXTSEL_0 | ADC_CR2_EXTSEL_1 | ADC_CR2_EXTSEL_2 \t | ADC_CR2_EXTTRIG; \t ADC1-&gt;SMPR1 = 0;\t\t\t\t\t \t\t\/\/\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \t ADC1-&gt;SMPR2 = 0;\t\t\t\t\t \t\t\/\/ \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (0 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 0, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (1 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 1, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (2 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 2, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (3 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 3, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (4 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 4, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (5 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 5, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (6 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 6, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (7 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 7, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (8 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 8, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR2 |= (uint32_t) (6 &lt;&lt; (9 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 9, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441 \t ADC1-&gt;SMPR1 |= (uint32_t) (6 &lt;&lt; (0 * 3)); \t\/\/\u043a\u0430\u043d\u0430\u043b 10, \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f 6 \u043c\u043a\u0441  \t ADC1-&gt;CR2 |= ADC_CR2_ADON;  \t ADC1-&gt;CR2 |= ADC_CR2_RSTCAL; \t while ((ADC1-&gt;CR2 & ADC_CR2_RSTCAL) == ADC_CR2_RSTCAL) { \t }  \t ADC1-&gt;CR2 |= ADC_CR2_CAL;  \t while ((ADC1-&gt;CR2 & ADC_CR2_RSTCAL) == ADC_CR2_CAL) { \t }  \t ADC1-&gt;SQR1 |= 9 &lt;&lt; 20;\t\t\t\t\t\t\/\/ \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \t ADC1-&gt;CR1 |= ADC_CR1_SCAN;\t\t\t\t\t\/\/ \u0420\u0435\u0436\u0438\u043c \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \t ADC1-&gt;CR2 |= ADC_CR2_DMA;\t\t\t\t  \t\/\/ DMA on \t \/\/ ADC1-&gt;CR2 |= ADC_CR2_CONT;  \t \/\/  ADC1-&gt;CR2 |= ADC_CR2_SWSTART; \t ADC1-&gt;CR2 |= ADC_CR2_ADON;  } <\/code><\/pre>\n<p>  4. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0442\u0430\u0439\u043c\u0435\u0440 \u0432 \u0440\u0435\u0436\u0438\u043c \u0428\u0418\u041c \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439, \u044d\u0442\u043e \u044f \u0442\u043e\u0436\u0435 \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u043f\u043e\u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u043b <a href=\"http:\/\/we.easyelectronics.ru\/_YS_\/complementary-pwm-i-push-pull-rezhimy-na-taymere-1-kontrollerov-stm32.html\">\u043e\u0442\u0441\u044e\u0434\u0430<\/a>;<\/p>\n<pre><code class=\"cpp\">void TIM1_Init(void) {  \t\/*************** Enable TIM1 (CH1) ***************\/ \tRCC-&gt;APB2ENR |= RCC_APB2ENR_TIM1EN; \tTIM1-&gt;CCER = 0;\t\t\t\t\t\t\t\t\t\t\/\/ \u043e\u0431\u043d\u0443\u043b\u044f\u0435\u043c CCER (\u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u0430\u043d\u0430\u043b\u044b) \tTIM1-&gt;ARR = 1000; \t\t\t\t\t\t\t\t\t\/\/ \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0434\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0442\u0430\u0439\u043c\u0435\u0440 \u0432\u0435\u0434\u0435\u0442 \u0441\u0447\u0435\u0442 \tTIM1-&gt;PSC = 48 - 1;                \t\t\t\t\t\/\/ \u043f\u0440\u0435\u0434\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \tTIM1-&gt;BDTR |= TIM_BDTR_MOE;     \t\t\t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0432\u044b\u0432\u043e\u0434 \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u043d\u0430 \u0432\u044b\u0432\u043e\u0434\u044b  \tTIM1-&gt;CCR2 = 0; \t\t\t\t\t\t\t\t\t\/\/ \u0437\u0430\u0434\u0430\u0435\u043c \u0441\u043a\u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043a\u0430\u043d\u0430\u043b\u0430 (\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442 0 \u0434\u043e TIM1-&gt;ARR) \tTIM1-&gt;CCMR1 |= TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2; \/\/ \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u0430\u043d\u0430\u043b \u0432 \u0440\u0435\u0436\u0438\u043c \u0428\u0418\u041c \tTIM1-&gt;CCER |= (TIM_CCER_CC2P |TIM_CCER_CC2E); \t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0432\u044b\u0432\u043e\u0434 \u043d\u0435 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u043d\u0430 \u043d\u043e\u0433\u0443 \u041c\u041a \t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0428\u0418\u041c-\u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u0430\u043d\u0430\u043b 3 \tTIM1-&gt;CCR3 = 0; \t\t\t\t\t\t\t\t\t\/\/ \u0437\u0430\u0434\u0430\u0435\u043c \u0441\u043a\u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043a\u0430\u043d\u0430\u043b\u0430 (\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442 0 \u0434\u043e TIM1-&gt;ARR) \tTIM1-&gt;CCMR2 |= TIM_CCMR2_OC3M_1 | TIM_CCMR2_OC3M_2; \/\/ \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u0430\u043d\u0430\u043b \u0432 \u0440\u0435\u0436\u0438\u043c \u0428\u0418\u041c \tTIM1-&gt;CCER |= TIM_CCER_CC3NE; \t\t\t\t\t\t\/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0432\u044b\u0432\u043e\u0434 \u043d\u0435 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u043d\u0430 \u043d\u043e\u0433\u0443 \u041c\u041a \tTIM1-&gt;CCER &= ~TIM_CCER_CC3NP;  \tTIM1-&gt;CR1 |= TIM_CR1_CEN; } <\/code><\/pre>\n<p>  5. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c UART \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438, <a href=\"https:\/\/www.youtube.com\/watch?v=r0YkRBkX-cs&amp;list=PLUYH9oDZsrZ3TqCQg88m6N1l_hxTsUIlS&amp;index=5\">\u0442\u0443\u0442 \u0431\u0440\u0430\u043b<\/a> \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441\u0440\u0430\u0437\u0443 \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432;<\/p>\n<pre><code class=\"cpp\">void UART3_Init(void) {  \tRCC-&gt;APB1ENR |= RCC_APB1ENR_USART3EN;  \tUSART3-&gt;BRR = 0xD0;\t\t\t\t\t\t\/\/ Speed = 115200; (24 000 000 + (115200 \/ 2)) \/ 115200 = 208 -&gt; 0xD0  \tUSART3-&gt;CR1 |= USART_CR1_TE | USART_CR1_RE | USART_CR1_UE;  \/\/\tUSART3-&gt;CR1 |= USART_CR1_RXNEIE; \/\/\tNVIC_EnableIRQ(USART3_IRQn); }  void UART3_Send(char chr) { \twhile (!(USART3-&gt;SR & USART_SR_TC)) \t\t; \tUSART3-&gt;DR = chr; }  void UART3_Send_String(char* str) { \tuint8_t i = 0;  \twhile (str[i]) \t\tUART3_Send(str[i++]); }  void UART3_Send_Number_Float(float data){  \tchar str[100];  \tchar *tmpSign = (data &lt; 0) ? &quot;-&quot; : &quot;&quot;; \tfloat tmpVal = (data &lt; 0) ? -data : data;  \tint tmpInt1 = tmpVal;                  \/\/ Get the integer (678). \tfloat tmpFrac = tmpVal - tmpInt1;      \/\/ Get fraction (0.0123). \tint tmpInt2 = trunc(tmpFrac * 10);  \/\/ Turn into integer (123).\tint tmpInt2 = trunc(tmpFrac * 10000)  \t\/\/ Print as parts, note that you need 0-padding for fractional bit.  \tsprintf (str, &quot;%s%d.%01d&quot;, tmpSign, tmpInt1, tmpInt2);  \tUART3_Send_String(str); } <\/code><\/pre>\n<p>  6. \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 FreeRtos config<\/p>\n<pre><code class=\"cpp\">\/*  * FreeRTOS Kernel V10.3.1  * Copyright (C) 2020 Amazon.com, Inc. or its affiliates.  All Rights Reserved.  *  * Permission is hereby granted, free of charge, to any person obtaining a copy of  * this software and associated documentation files (the &quot;Software&quot;), to deal in  * the Software without restriction, including without limitation the rights to  * use, copy, modify, merge, publish, distribute, sublicense, and\/or sell copies of  * the Software, and to permit persons to whom the Software is furnished to do so,  * subject to the following conditions:  *  * The above copyright notice and this permission notice shall be included in all  * copies or substantial portions of the Software.  *  * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *  * http:\/\/www.FreeRTOS.org  * http:\/\/aws.amazon.com\/freertos  *  * 1 tab == 4 spaces!  *\/  #ifndef FREERTOS_CONFIG_H #define FREERTOS_CONFIG_H  \/* Library includes. *\/ \/\/#include &quot;stm32f10x_lib.h&quot; \/*-----------------------------------------------------------  * Application specific definitions.  *  * These definitions should be adjusted for your particular hardware and  * application requirements.  *  * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE  * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.   *  * See http:\/\/www.freertos.org\/a00110.html  *----------------------------------------------------------*\/  #define vPortSVCHandler SVC_Handler\t\t\/\/ fix problem #define xPortPendSVHandler PendSV_Handler #define vPortSVCHandler SVC_Handler #define xPortSysTickHandler SysTick_Handler   #define configUSE_PREEMPTION\t\t1 #define configUSE_IDLE_HOOK\t\t\t0 #define configUSE_TICK_HOOK\t\t\t1 #define configCPU_CLOCK_HZ\t\t\t( ( unsigned long ) 48000000 ) #define configTICK_RATE_HZ\t\t\t( ( TickType_t ) 1000 ) #define configMAX_PRIORITIES\t\t( 5 ) #define configMINIMAL_STACK_SIZE\t( ( unsigned short ) 32 ) #define configTOTAL_HEAP_SIZE\t\t( ( size_t ) ( 17 * 1024 ) ) #define configMAX_TASK_NAME_LEN\t\t( 16 ) #define configUSE_TRACE_FACILITY\t0 #define configUSE_16_BIT_TICKS\t\t0 #define configIDLE_SHOULD_YIELD\t\t1 #define configUSE_MUTEXES\t\t\t1  \/* Co-routine definitions. *\/ #define configUSE_CO_ROUTINES \t\t0 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 )  \/* Set the following definitions to 1 to include the API function, or zero  to exclude the API function. *\/  #define INCLUDE_vTaskPrioritySet\t\t1 #define INCLUDE_uxTaskPriorityGet\t\t1 #define INCLUDE_vTaskDelete\t\t\t\t1 #define INCLUDE_vTaskCleanUpResources\t0 #define INCLUDE_vTaskSuspend\t\t\t1 #define INCLUDE_vTaskDelayUntil\t\t\t1 #define INCLUDE_vTaskDelay\t\t\t\t1  \/* This is the raw value as per the Cortex-M3 NVIC.  Values can be 255  (lowest) to 0 (1?) (highest). *\/ #define configKERNEL_INTERRUPT_PRIORITY \t\t255 \/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!  See http:\/\/www.FreeRTOS.org\/RTOS-Cortex-M3-M4.html. *\/ #define configMAX_SYSCALL_INTERRUPT_PRIORITY \t191 \/* equivalent to 0xb0, or priority 11. *\/  \/* This is the value being used as per the ST library which permits 16  priority values, 0 to 15.  This must correspond to the  configKERNEL_INTERRUPT_PRIORITY setting.  Here 15 corresponds to the lowest  NVIC value of 255. *\/ #define configLIBRARY_KERNEL_INTERRUPT_PRIORITY\t15  #endif \/* FREERTOS_CONFIG_H *\/  <\/code><\/pre>\n<p>  7. \u0418 \u0432 \u043a\u043e\u043d\u0446\u0435 main;<\/p>\n<pre><code class=\"cpp\">#include &quot;main.h&quot;  void vTaskUART2(void *argument); void vTaskConvADC(void *argument);  uint32_t Motor(int32_t which, int32_t speed, int32_t turn);  void IndicatorLED(uint32_t number, uint32_t status);   \/\/define \u0412\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043c\u0435\u0440\u0430 \u043f\u043e\u0442\u043e\u043c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044e\u0441\u044c \u043d\u0430 typedef enum :) #define MotorLeft\t\t1 #define MotorRight\t\t0 #define MoveBack\t\t0 #define MoveForward\t\t1 #define MaxSpeedMotor\t1000  uint16_t adc_buf[10];\t\t\t\t\/\/ Buffer DMA ADC sensors uint16_t SensWhiteOrBlack[10];\t\t\/\/ Buffer sensors white or black  int main(void) {  \tRCC_Init(); \tGPIO_Init(); \tTIM1_Init(); \tUART3_Init(); \tADC_Init();  \txTaskCreate(vTaskUART2, &quot;UART&quot;, 512, NULL, 1, NULL); \txTaskCreate(vTaskConvADC, &quot;ADC&quot;, 128, NULL, 1, NULL);  \tUART3_Send_String(&quot;Start program\\r\\n&quot;);  \tGPIOA-&gt;BSRR |= GPIO_BSRR_BS10;\t\/\/ Motor enable  \tvTaskStartScheduler();  \twhile (1) {  \t} } \/*************************************Tasks***************************************\/  void vTaskUART2(void *argument) {  \twhile (1) {  \/\/-------------------Read sensors from buff DMA ADC, and print to UART3-------------\/\/  \t\tfor (uint32_t i = 0; i &lt;= 9; i++) \t\t{  \t\t\tif (adc_buf[i] &lt;= 300)\t\t\/\/ value sens is white \t\t\t{ \t\t\t\tIndicatorLED(i, 0); \t\t\t\tSensWhiteOrBlack[i] = 0; \t\t\t} else\t\t\t\t\t\t\/\/ else value sens is black \t\t\t{ \t\t\t\tIndicatorLED(i, 1); \t\t\t\tSensWhiteOrBlack[i] = 1; \t\t\t}  \/\/\t\t\tUART3_Send_Number_Float(SensWhiteOrBlack[i]); \/\/\t\t\tUART3_Send_String(&quot;\\t&quot;); \t\t} \/\/\/\t\tUART3_Send_String(&quot;\\r\\n&quot;);  \/\/-----------------------------------------Move-----------------------------------------\/\/   \t\t\/\/----Normal mode----\/\/ \t\tfloat devMotorLeft  = 1; \t\tfloat devMotorRight = 1; \t\tuint32_t flagSizeBuf = 0;  \t\tfor (int32_t i = 6; i &lt;= 9; i++) \t\t{ \t\t\tif (SensWhiteOrBlack[i]) \t\t\t{ \t\t\t\tflagSizeBuf = 1;  \t\t\t\tif(i == 6 && SensWhiteOrBlack[i] == 1) \t\t\t\t{ \t\t\t\t\tdevMotorRight = 0.75; \t\t\t\t} \t\t\t\telse if(i == 7 && SensWhiteOrBlack[i] == 1) \t\t\t\t{ \t\t\t\t\tdevMotorRight = 0.5; \t\t\t\t} \t\t\t\telse if(i == 8 && SensWhiteOrBlack[i] == 1) \t\t\t\t{ \t\t\t\t\tdevMotorRight = 0.25; \t\t\t\t} \t\t\t\telse if(i == 9 && SensWhiteOrBlack[i] == 1) \t\t\t\t{ \t\t\t\t\tdevMotorRight = 0.0; \t\t\t\t} \t\t\t} \t\t}  \t\tfor(int32_t i = 5; i &gt;= 0; i--) \t\t{ \t\t\tif(SensWhiteOrBlack[i]) \t\t\t{ \t\t\t\tflagSizeBuf = 1;  \t\t\t\tif(i == 3 && SensWhiteOrBlack[i] == 1) \t\t\t\t{ \t\t\t\t\tdevMotorLeft = 0.75; \t\t\t\t} \t\t\t\telse if(i == 2 && SensWhiteOrBlack[i] == 1) \t\t\t\t{ \t\t\t\t\tdevMotorLeft = 0.5; \t\t\t\t} \t\t\t\telse if(i == 1 && SensWhiteOrBlack[i] == 1) \t\t\t\t{ \t\t\t\t\tdevMotorLeft = 0.25; \t\t\t\t} \t\t\t\telse if(i == 0 && SensWhiteOrBlack[i] == 1) \t\t\t\t{ \t\t\t\t\tdevMotorLeft = 0.0; \t\t\t\t} \t\t\t} \t\t}  \t\tif(!flagSizeBuf) \t\t{ \t\t\tdevMotorLeft  = 0; \t\t\tdevMotorRight = 0; \t\t}  \t\tMotor(MotorRight, (int32_t)(MaxSpeedMotor * (float)devMotorRight), MoveForward); \t\tMotor(MotorLeft,  (int32_t)(MaxSpeedMotor * (float)devMotorLeft),  MoveForward);   \/* \t\tif (adc_buf[0] &gt; 1000) \t\t{ \t\t\tMotor(MotorLeft, 500, MoveBack); \t\t} \t\telse if (adc_buf[0] &lt;= 1000) \t\t{ \t\t\tMotor(MotorLeft, 0, MoveForward); \t\t}  \t\tif (adc_buf[9] &gt; 1000) \t\t{ \t\t\tMotor(MotorRight, 500, MoveBack);\/\/Motor(0, 500, 1);\tMotorRight\tMoveBack \t\t} \t\telse if (adc_buf[9] &lt;= 1000) \t\t{ \t\t\tMotor(MotorRight, 0, MoveForward); \t\t} *\/  \t\tvTaskDelay(50); \t} } void vTaskConvADC(void *argument) {  \twhile (1) {  \t\t\/\/ just void :)  \t\tvTaskDelay(5000); \t}  } \/**********************************Function*************************************\/  void IndicatorLED(uint32_t number, uint32_t status) {  \tif (number == 0 && status == 0) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BS9; \t}  \telse if (number == 0 && status == 1) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR9; \t}  \tif (number == 1 && status == 0) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BS8; \t}  \telse if (number == 1 && status == 1) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR8; \t}  \tif (number == 2 && status == 0) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BS7; \t}  \telse if (number == 2 && status == 1) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR7; \t}  \tif (number == 3 && status == 0) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BS6; \t}  \telse if (number == 3 && status == 1) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR6; \t}  \tif (number == 4 && status == 0) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BS5; \t}  \telse if (number == 4 && status == 1) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR5; \t}  \tif (number == 5 && status == 0) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BS4; \t}  \telse if (number == 5 && status == 1) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR4; \t}  \tif (number == 6 && status == 0) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BS3; \t}  \telse if (number == 6 && status == 1) { \t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR3; \t}  \tif (number == 7 && status == 0) { \t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BS15; \t}  \telse if (number == 7 && status == 1) { \t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BR15; \t}  \tif (number == 8 && status == 0) { \t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BS12; \t}  \telse if (number == 8 && status == 1) { \t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BR12; \t}  \tif (number == 9 && status == 0) { \t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BS11; \t}  \telse if (number == 9 && status == 1) { \t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BR11; \t}  }  uint32_t Motor(int32_t which, int32_t speed, int32_t turn) {  \tif (which == 0)\t\/\/Right motor \t{ \t\tUART3_Send_Number_Float(speed); \t\tUART3_Send_String(&quot;\\t&quot;);  \t\tif (speed &gt; 0 && speed &lt;= 1000) \t\t{ \t\t\tTIM1-&gt;CCR3 = speed; \t\t\tif (turn == 0) \t\/\/ back \t\t\t{ \t\t\t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BS14; \t\t\t} \t\t\telse\t\t\t\/\/forward \t\t\t{ \t\t\t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR14; \t\t\t} \t\t} \t\telse\t\t\/\/disable motor \t\t{ \t\t\tTIM1-&gt;CCR3 = 0; \t\t\tGPIOB-&gt;BSRR |= GPIO_BSRR_BR14;  \t\t}  \t}  \telse if (which == 1)\t\/\/left motor \t{ \t\tUART3_Send_Number_Float(speed); \t\tUART3_Send_String(&quot;\\r\\n&quot;);  \t\tif (speed &gt; 0 && speed &lt;= 1000) \t\t{ \t\t\tTIM1-&gt;CCR2 = speed; \t\t\tif (turn == 1) \t\/\/ back \t\t\t{ \t\t\t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BS8; \t\t\t} \t\t\telse\t\t\t\/\/forward \t\t\t{ \t\t\t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BR8; \t\t\t} \t\t} \t\telse\t\t\/\/disable motor \t\t{ \t\t\tTIM1-&gt;CCR2 = 0; \t\t\tGPIOA-&gt;BSRR |= GPIO_BSRR_BS8;  \t\t}  \t}    \treturn 0; }  \/*************************************IRQ***************************************\/ \/*  void USART2_IRQHandler(void) {   if (USART2-&gt;SR & USART_CR1_RXNEIE) {   USART2-&gt;SR &= ~USART_CR1_RXNEIE;   if (USART2-&gt;DR == '0') {  UART2_Send_String(&quot;OFF\\r\\n&quot;);  GPIOC-&gt;BSRR = GPIO_BSRR_BS13;  } else if (USART2-&gt;DR == '1') {  UART2_Send_String(&quot;ON\\r\\n&quot;);  GPIOC-&gt;BSRR = GPIO_BSRR_BR13;  } else if (USART2-&gt;DR == '2') {  uint16_t d0 = ADC1-&gt;DR;  float Vdd = 1.2 * 4069 \/ d0;  UART2_Send(Vdd);  GPIOC-&gt;BSRR = GPIO_BSRR_BR13;  }  }  }  *\/ void DMA1_Channel1_IRQHandler(void) {  \tDMA1-&gt;IFCR = DMA_IFCR_CGIF1 | DMA_IFCR_CTCIF1;\t\/\/ clear DMA interrupt flags \tDMA1_Channel1-&gt;CCR &= ~DMA_CCR_EN;\t\t\t\t\t\/\/ \u0417\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \t\/* \t * Code \t *\/ \tDMA1_Channel1-&gt;CCR |= DMA_CCR_EN;\t\t\t   \/\/ \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \tADC1-&gt;CR2 |= ADC_CR2_ADON; }  <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<h3>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c<\/h3>\n<p>  \u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 \u0432\u0438\u0441\u0435\u043b \u0443 \u043c\u0435\u043d\u044f \u0432 \u043f\u043b\u0430\u043d\u0430\u0445 \u0443\u0436\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u0438 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b\u0441\u044f, \u043d\u043e \u0432\u043e\u0442 \u0441\u0435\u0439\u0447\u0430\u0441 \u043e\u043d \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0430\u0435\u0442\u0441\u044f \u043a \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044e \u0447\u0435\u043c\u0443 \u044f \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0434, \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0432 \u0435\u0433\u043e \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b\/\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u0442\u043e \u0438 \u0434\u043e \u0440\u043e\u0431\u043e\u0442\u0430 \u0441\u0443\u043c\u043e\u0438\u0441\u0442\u0430 \u043d\u0435 \u0434\u0430\u043b\u0435\u043a\u043e, \u0430 \u0442\u0430\u043c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u0439\u0434\u0443\u0442.<br \/>  \u0412 \u043f\u043b\u0430\u043d\u0430\u0445 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e, \u043d\u043e \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0435 \u0435\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442.<\/p>\n<p>  \u0427\u0443\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u044b\u043b \u043f\u0440\u043e \u0444\u043e\u0442\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0435\u0449\u0435 \u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0438, \u0430 \u0434\u0435\u0434\u043b\u0430\u0439\u043d \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430 \u0443\u0436\u0435 \u0437\u0430\u0432\u0442\u0440\u0430 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c DIY \u043d\u0435 \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438.<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u0440\u0430\u0439\u043d\u0435\u0435 \u0444\u043e\u0442\u043e<\/b>                         <\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/sun9-28.userapi.com\/c206828\/v206828117\/e93ea\/ykNuy0T3Ls0.jpg\" alt=\"image\"\/>  <\/div>\n<\/p><\/div>\n<p>  <a href=\"https:\/\/vk.com\/timurkyun\">vk.com\/timurkyun<\/a><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/497782\/\"> https:\/\/habr.com\/ru\/post\/497782\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/497782\/\">\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043f\u0440\u043e \u043c\u043e\u0439 \u043e\u043f\u044b\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u043e\u0431\u043e\u0442\u0430 \u0434\u043b\u044f \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u043b\u0438\u043d\u0438\u0438. \u041f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435 \u044d\u0442\u0430\u043f\u044b \u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0438 \u0438 \u0437\u0430\u043a\u0430\u0437\u0430 \u043f\u0435\u0447\u0430\u0442\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b \u0434\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<p>  \u0413\u043e\u043d\u043a\u0430 \u0440\u043e\u0431\u043e\u0442\u043e\u0432 \u043f\u043e \u043b\u0438\u043d\u0438\u0438 \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0441\u0442\u0430\u043b\u0430 \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u0440\u043e\u0431\u043e\u0442\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u043e\u0432. \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u044b\u0445 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u044d\u0442\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0434\u0435\u043b\u0430\u0432 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u043e\u0431\u043e\u0442\u0430 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0435\u0437\u0434\u0435. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u043a\u0443\u0440\u0441\u0435 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043c\u0438\u0433\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c.<\/p>\n<h3>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/h3>\n<p>  \u041b\u044e\u0431\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u0434\u0430\u043d\u0438\u044f, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0422\u0417 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0440\u0435\u0433\u043b\u0430\u043c\u0435\u043d\u0442 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0439 &quot;<a href=\"https:\/\/robofinist.ru\/event\/info\/competitions\/id\/335\">\u0420\u043e\u0431\u043e\u0444\u0438\u043d\u0438\u0441\u0442<\/a>&quot;. \u0412 \u043d\u0435\u043c \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u0433\u0430\u0431\u0430\u0440\u0438\u0442\u0430\u043c (\u043d\u0435 \u0431\u043e\u043b\u0435\u0435 25\u044525\u044525 \u0441\u043c) \u0438 \u0432\u0435\u0441\u0443 \u0440\u043e\u0431\u043e\u0442\u0430 (\u043d\u0435 \u0431\u043e\u043b\u0435\u0435 1 \u043a\u0433), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0444\u043e\u0440\u043c\u0430 \u0442\u0440\u0430\u0441\u0441\u044b \u0438 \u0435\u0435 \u0448\u0438\u0440\u0438\u043d\u0430 1,5 \u0441\u043c. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0442\u0440\u0430\u0441\u0441\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u043e\u0433 \u043d\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0435\u0435 \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f (60 \u0441\u0435\u043a).<\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430 \u044f\u0441\u043d\u0430, \u043d\u0443\u0436\u0435\u043d \u0440\u043e\u0431\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u0439 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u043b\u0438\u043d\u0438\u044e \u0438 \u043f\u0440\u043e\u0435\u0445\u0430\u0442\u044c \u043f\u043e \u043d\u0435\u0439 \u043e\u0442 \u0441\u0442\u0430\u0440\u0442\u0430 \u0434\u043e \u0444\u0438\u043d\u0438\u0448\u0430 \u0437\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0440\u0435\u0437\u043e\u043a \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<h3>\u041f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b<\/h3>\n<p>  \u042f\u0434\u0440\u043e\u043c \u0440\u043e\u0431\u043e\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 STM32F103C8T6, \u043e\u043d \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u0440\u0430\u0441\u0441\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 QRE1113 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 A3906. \u0414\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434, \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u0442\u0447\u0438\u043a \u00ab\u0432\u0438\u0434\u0438\u0442\u00bb \u0447\u0435\u0440\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u0437\u0430\u0433\u043e\u0440\u0430\u0435\u0442\u0441\u044f, \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d li-po \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0442\u0438\u043f\u0430 18650 \u0441 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435\u043c 3,7 \u0412 \u0438 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0430 \u0437\u0430\u0440\u044f\u0434\u0430 LTC4054ES5. \u041d\u043e \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0443\u0436\u043d\u043e \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 6 \u0412, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u043e\u0432\u044b\u0448\u0430\u044e\u0449\u0438\u0439 DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f LM2577, \u0438 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 LM1117 \u043d\u0430 3,3 \u0412 \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u0438.  <\/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-302064","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/302064","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=302064"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/302064\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}