{"id":76112,"date":"2020-03-12T20:17:48","date_gmt":"2020-03-12T14:17:48","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=76112"},"modified":"2022-01-08T20:39:34","modified_gmt":"2022-01-08T14:39:34","slug":"%d0%bf%d1%80%d0%be%d1%81%d1%82%d0%be%d0%b9-%d1%87%d0%b0%d1%81%d1%82%d0%be%d1%82%d0%be%d0%bc%d0%b5%d1%80-stm32-tm1637-arduino","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=76112","title":{"rendered":"\u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u043c\u0435\u0440 STM32 + TM1637 (Arduino)"},"content":{"rendered":"<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 STM32 (\u0431\u0430\u0437\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 STM32F103C8T6 \u0438 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u0435\u043c\u0438\u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043f\u043b\u0435\u044f TM1637, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u043c\u0435\u0440 \u0441 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f 1 \u041c\u0413\u0446.<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201025.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76113\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201025.png\" alt=\"\" width=\"487\" height=\"240\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201025.png 487w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201025-200x99.png 200w\" sizes=\"auto, (max-width: 487px) 100vw, 487px\" \/><\/a><\/p>\n<p>\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0435\u043c\u0443\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0432 \u043a\u0413\u0446. \u0412\u0440\u0435\u043c\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f 1 \u0441\u0435\u043a\u0443\u043d\u0434\u0430. \u041f\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0438\u0433\u043d\u0430\u043b (\u0443\u0440\u043e\u0432\u0435\u043d\u044c TTL) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430 \u0432\u0445\u043e\u0434 PA2.<\/p>\n<p>\u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0432\u0445\u043e\u0434\u044b STM32 PB0 (CLK) PB1 (DIO), \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0432\u0445\u043e\u0434\u044b \u0443\u043a\u0430\u0437\u0430\u0432 \u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 tm(PB0,PB1).<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0437\u0430\u043b\u0438\u0432\u043a\u043e\u0439 \u0441\u043a\u0435\u0442\u0447\u0430 \u0432 STM32 \u0412\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u2014\u00a0<a href=\"http:\/\/rcl-radio.ru\/?p=68376\">STM32 Arduino IDE<\/a><\/p>\n<div id=\"marketWidget\"><\/div>\n<pre class=\"actionscript\">\u0414\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u043a\u0435\u0442\u0447\u0430 \u0412\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a <a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2019\/12\/Arduino_STM32-master.zip\">Arduino_STM32-master.zip<\/a><\/pre>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 10px;\"><span style=\"color: #808080; font-style: italic;\">#include &lt;STM32_TM1637.h&gt;                \/\/ http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/02\/STM32_TM1637_V1_3.zip<\/span>\r\n   STM32_TM1637 tm<span style=\"color: #66cc66;\">(<\/span>PB0,PB1<span style=\"color: #66cc66;\">)<\/span>;<span style=\"color: #808080; font-style: italic;\">\/\/ CLK, DIO<\/span>\r\n   unsigned long fx;\r\n   float f;\r\n\u00a0\r\n<span style=\"color: #0066cc;\">void<\/span> setup<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  Serial.<span style=\"color: #006600;\">begin<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">9600<\/span><span style=\"color: #66cc66;\">)<\/span>;tm.<span style=\"color: #006600;\">brig<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">7<\/span><span style=\"color: #66cc66;\">)<\/span>; <span style=\"color: #808080; font-style: italic;\">\/\/ \u042f\u0420\u041a\u041e\u0421\u0422\u042c 0...7<\/span>\r\n <span style=\"color: #808080; font-style: italic;\"> pinMode(PA2,INPUT);<\/span>\r\n  Timer3.<span style=\"color: #0066cc;\">pause<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>; <span style=\"color: #808080; font-style: italic;\">\/\/ pause<\/span>\r\n  Timer3.<span style=\"color: #006600;\">setPeriod<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1000000<\/span><span style=\"color: #66cc66;\">)<\/span>; <span style=\"color: #808080; font-style: italic;\">\/\/ 1sec<\/span>\r\n  Timer3.<span style=\"color: #006600;\">attachInterrupt<\/span><span style=\"color: #66cc66;\">(<\/span>TIMER_UPDATE_INTERRUPT, fr_1<span style=\"color: #66cc66;\">)<\/span>; \r\n  Timer3.<span style=\"color: #006600;\">refresh<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>; <span style=\"color: #808080; font-style: italic;\">\/\/ clear <\/span>\r\n  Timer3.<span style=\"color: #006600;\">resume<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>; <span style=\"color: #808080; font-style: italic;\">\/\/ start<\/span>\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #0066cc;\">void<\/span> loop<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #b1b100;\">while<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">!<\/span><span style=\"color: #66cc66;\">(<\/span>GPIOA-<span style=\"color: #66cc66;\">&gt;<\/span> regs-<span style=\"color: #66cc66;\">&gt;<\/span> IDR <span style=\"color: #66cc66;\">&amp;<\/span> 0x0004<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">)<\/span>; \r\n  <span style=\"color: #b1b100;\">while<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span>GPIOA-<span style=\"color: #66cc66;\">&gt;<\/span> regs-<span style=\"color: #66cc66;\">&gt;<\/span> IDR <span style=\"color: #66cc66;\">&amp;<\/span> 0x0004<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">)<\/span>; \r\n  fx++; \r\n  <span style=\"color: #66cc66;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #0066cc;\">void<\/span> fr_1<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>\r\n   Serial.<span style=\"color: #006600;\">println<\/span><span style=\"color: #66cc66;\">(<\/span>fx<span style=\"color: #66cc66;\">)<\/span>;\r\n   <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>fx<span style=\"color: #66cc66;\">&lt;<\/span><span style=\"color: #cc66cc;\">10000<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>f=<span style=\"color: #66cc66;\">(<\/span>float<span style=\"color: #66cc66;\">)<\/span>fx<span style=\"color: #66cc66;\">\/<\/span><span style=\"color: #cc66cc;\">1000<\/span>;fx=<span style=\"color: #cc66cc;\">0<\/span>;tm.<span style=\"color: #006600;\">print_float<\/span><span style=\"color: #66cc66;\">(<\/span>f,<span style=\"color: #cc66cc;\">3<\/span> ,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span>;<span style=\"color: #66cc66;\">}<\/span>\r\n   <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>fx<span style=\"color: #66cc66;\">&gt;<\/span>=<span style=\"color: #cc66cc;\">10000<\/span><span style=\"color: #66cc66;\">&amp;&amp;<\/span>fx<span style=\"color: #66cc66;\">&lt;<\/span><span style=\"color: #cc66cc;\">100000<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>f=<span style=\"color: #66cc66;\">(<\/span>float<span style=\"color: #66cc66;\">)<\/span>fx<span style=\"color: #66cc66;\">\/<\/span><span style=\"color: #cc66cc;\">1000<\/span>;fx=<span style=\"color: #cc66cc;\">0<\/span>;tm.<span style=\"color: #006600;\">print_float<\/span><span style=\"color: #66cc66;\">(<\/span>f,<span style=\"color: #cc66cc;\">2<\/span> ,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span>;<span style=\"color: #66cc66;\">}<\/span>\r\n   <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>fx<span style=\"color: #66cc66;\">&gt;<\/span>=<span style=\"color: #cc66cc;\">100000<\/span><span style=\"color: #66cc66;\">&amp;&amp;<\/span>fx<span style=\"color: #66cc66;\">&lt;<\/span><span style=\"color: #cc66cc;\">1000000<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>f=<span style=\"color: #66cc66;\">(<\/span>float<span style=\"color: #66cc66;\">)<\/span>fx<span style=\"color: #66cc66;\">\/<\/span><span style=\"color: #cc66cc;\">1000<\/span>;fx=<span style=\"color: #cc66cc;\">0<\/span>;tm.<span style=\"color: #006600;\">print_float<\/span><span style=\"color: #66cc66;\">(<\/span>f,<span style=\"color: #cc66cc;\">1<\/span> ,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span>;<span style=\"color: #66cc66;\">}<\/span>\r\n   <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>fx<span style=\"color: #66cc66;\">&gt;<\/span>=<span style=\"color: #cc66cc;\">1000000<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>fx=<span style=\"color: #cc66cc;\">0<\/span>;tm.<span style=\"color: #006600;\">print_float<\/span><span style=\"color: #66cc66;\">(<\/span>f,<span style=\"color: #cc66cc;\">0<\/span> ,0b1000000,0b1000000,0b1000000,0b1000000<span style=\"color: #66cc66;\">)<\/span>;<span style=\"color: #66cc66;\">}<\/span>\r\n   Timer3.<span style=\"color: #006600;\">refresh<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n  <span style=\"color: #66cc66;\">}<\/span><\/pre>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201025.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76113\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201025.png\" alt=\"\" width=\"487\" height=\"240\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201025.png 487w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201025-200x99.png 200w\" sizes=\"auto, (max-width: 487px) 100vw, 487px\" \/><\/a><\/td>\n<td style=\"width: 50%;\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201519.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76114\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201519.png\" alt=\"\" width=\"454\" height=\"250\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201519.png 454w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201519-200x110.png 200w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201551.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76116\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201551.png\" alt=\"\" width=\"453\" height=\"211\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201551.png 453w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201551-200x93.png 200w\" sizes=\"auto, (max-width: 453px) 100vw, 453px\" \/><\/a><\/td>\n<td style=\"width: 50%;\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201558.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76115\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201558.png\" alt=\"\" width=\"416\" height=\"208\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201558.png 416w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201558-200x100.png 200w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201701.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76117\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201701.png\" alt=\"\" width=\"402\" height=\"179\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201701.png 402w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201701-200x89.png 200w\" sizes=\"auto, (max-width: 402px) 100vw, 402px\" \/><\/a><\/td>\n<td style=\"width: 50%;\"><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201649.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76118\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201649.png\" alt=\"\" width=\"386\" height=\"210\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201649.png 386w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/03\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2020-03-12-201649-200x109.png 200w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 STM32 (\u0431\u0430\u0437\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 STM32F103C8T6 \u0438 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u0435\u043c\u0438\u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043f\u043b\u0435\u044f TM1637, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u043c\u0435\u0440 \u0441 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f 1 \u041c\u0413\u0446. \u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0435\u043c\u0443\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0432 \u043a\u0413\u0446. \u0412\u0440\u0435\u043c\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f 1 \u0441\u0435\u043a\u0443\u043d\u0434\u0430. \u041f\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0438\u0433\u043d\u0430\u043b (\u0443\u0440\u043e\u0432\u0435\u043d\u044c TTL) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430 \u0432\u0445\u043e\u0434 PA2. \u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0432\u0445\u043e\u0434\u044b STM32 PB0 (CLK) PB1 (DIO), \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":76113,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[239],"tags":[],"class_list":["post-76112","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino"],"views":7338,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/76112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76112"}],"version-history":[{"count":2,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/76112\/revisions"}],"predecessor-version":[{"id":111263,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/76112\/revisions\/111263"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/76113"}],"wp:attachment":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76112"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}