{"id":984,"date":"2017-06-15T17:59:57","date_gmt":"2017-06-15T14:59:57","guid":{"rendered":"http:\/\/arduinolab.pw\/?p=984"},"modified":"2017-06-15T18:14:51","modified_gmt":"2017-06-15T15:14:51","slug":"drajver-kollektornyx-dvigatelej-l9110s-hg7881","status":"publish","type":"post","link":"https:\/\/arduinolab.pw\/index.php\/2017\/06\/15\/drajver-kollektornyx-dvigatelej-l9110s-hg7881\/","title":{"rendered":"\u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0445 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439 L9110S (HG7881)"},"content":{"rendered":"<p><a href=\"http:\/\/ali.arduinolab.pw\/redirect\/cpa\/o\/orlalae4fjzcn4w4vol1sp15m7rumkiw\/\" target=\"_blank\" rel=\"noopener\">\u041c\u043e\u0434\u0443\u043b\u044c<\/a> \u0441\u043e\u0431\u0440\u0430\u043d \u043d\u0430 \u0434\u0432\u0443\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0430\u0445 HG7881 \u0438\u043b\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0435 L9110S, \u043a \u043c\u043e\u0434\u0443\u043b\u044e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0432\u0430 \u043c\u0430\u043b\u043e\u043c\u043e\u0449\u043d\u044b\u0445 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0445 \u0438\u043b\u0438 \u043e\u0434\u0438\u043d \u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c.<\/p>\n<p><!--more--><\/p>\n<h2>\u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 L9110S (HG7881):<\/h2>\n<ul>\n<li><span class=\"notranslate\">\u0414\u0438\u0430\u043f\u0430\u0437\u043e\u043d \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f: 2.5V\u00a0 &#8230;\u00a0 12V.<br \/>\n<\/span><\/li>\n<li>\n<div><span class=\"notranslate\">\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u043e\u043a: 800mA, \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439<\/span><span class=\"notranslate\"> \u043a\u0430\u043d\u0430\u043b.<\/span><\/div>\n<\/li>\n<li>\n<div>\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0443\u0440\u043e\u0432\u043d\u0435\u043c.<\/div>\n<\/li>\n<li>\n<div><span class=\"notranslate\">\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u0449\u0438\u0442\u043d\u044b\u0435 \u0434\u0438\u043e\u0434\u044b.<\/span><\/div>\n<\/li>\n<li>\n<div><span class=\"notranslate\"> \u0420\u0430\u0431\u043e\u0447\u0430\u044f \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430: 0\u2103\u00a0 &#8230;\u00a0 80\u2103.<\/span><\/div>\n<\/li>\n<\/ul>\n<h2>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0434\u0443\u043b\u044f:<\/h2>\n<p><a href=\"http:\/\/ali.arduinolab.pw\/redirect\/cpa\/o\/orlalae4fjzcn4w4vol1sp15m7rumkiw\/\" target=\"_blank\" rel=\"noopener\">\u041c\u043e\u0434\u0443\u043b\u044c <\/a>\u0441\u043e\u0431\u0440\u0430\u043d \u043d\u0430 \u0434\u0432\u0443\u0445 \u043f\u043e\u043b\u0443\u043c\u043e\u0441\u0442\u043e\u0432\u044b\u0445 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430\u0445 (<a href=\"https:\/\/ru.wikipedia.org\/wiki\/H-%D0%BC%D0%BE%D1%81%D1%82\" target=\"_blank\" rel=\"noopener\">H-bridge<\/a>) HG7881, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0433\u043e <a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/datasheet-l9110.pdf\" target=\"_blank\" rel=\"noopener\">\u0434\u0430\u0442\u0430\u0448\u0438\u0442\u0430<\/a> \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0443 \u043d\u0435\u0442. \u0425\u043e\u0442\u044f \u0438 \u043f\u0438\u0448\u0443\u0442 \u0447\u0442\u043e \u043e\u043d \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0442\u043e\u0440\u0430\u043c\u0438, \u044d\u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0442\u0430\u043a, \u0443 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043c\u043e\u0442\u043e\u0440\u0430, \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f. \u041f\u043e \u044d\u0442\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435, \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0448\u0430\u0433\u043e\u0432\u044b\u043c\u0438 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f\u043c\u0438, \u043d\u0435\u0436\u0435\u043b\u0438 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u043c\u0438.<\/p>\n<p><a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-991\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/d-300x174.jpg\" alt=\"\" width=\"300\" height=\"174\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/d-300x174.jpg 300w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/d-768x446.jpg 768w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/d-624x363.jpg 624w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/d.jpg 867w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\u041d\u0430 \u0441\u0445\u0435\u043c\u0435 \u0438\u0437 <a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/datasheet-l9110.pdf\" target=\"_blank\" rel=\"noopener\">\u0434\u0430\u0442\u0430\u0448\u0438\u0442\u0430<\/a> \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0445\u043e\u0434\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u043c\u043e\u0441\u0442\u0430\u043c\u0438 \u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u0435.<\/p>\n<h2>\u041f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043c\u043e\u0434\u0443\u043b\u044f:<\/h2>\n<p><a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/1440209902634-hg7881-schematic.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-987\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/1440209902634-hg7881-schematic-300x202.jpg\" alt=\"\" width=\"300\" height=\"202\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/1440209902634-hg7881-schematic-300x202.jpg 300w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/1440209902634-hg7881-schematic-624x421.jpg 624w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/1440209902634-hg7881-schematic.jpg 693w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u043a Arduino:<\/h2>\n<h4>\u0412 \u0441\u043b\u0443\u0447\u0430\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0442\u043e\u0440\u0430.<\/h4>\n<p><a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-994\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-1-300x203.jpg\" alt=\"\" width=\"300\" height=\"203\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-1-300x203.jpg 300w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-1-768x520.jpg 768w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-1-1024x693.jpg 1024w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-1-624x422.jpg 624w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-1.jpg 1419w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u041c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0434\u0432\u0430 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u0432\u044b\u0445\u043e\u0434\u0430 arduino, \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u043c\u043e\u0442\u043e\u0440\u043e\u0432, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u043c\u0430\u043b\u043e\u043c\u043e\u0449\u043d\u044b\u0435 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043e\u0442 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 5 \u0432\u043e\u043b\u044c\u0442, \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u043e\u0442 arduino. \u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0442\u043e\u0440 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f, \u043d\u0443\u0436\u043d\u043e \u043d\u0430 \u043e\u0434\u0438\u043d \u0432\u044b\u0445\u043e\u0434 \u043f\u043e\u0434\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0438 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043d\u043e\u043b\u044c. \u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f, \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043e\u0431\u0435\u0438\u0445 \u0432\u044b\u0445\u043e\u0434\u043e\u0432 arduino. \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0432 \u0432\u0438\u0434\u0435\u043e \u043d\u0438\u0436\u0435.<\/p>\n<p>https:\/\/youtu.be\/JfgTW_9xslw<\/p>\n<p>&nbsp;<\/p><div class=\"kuodg6ab462879d0c7\" ><hr>\n<!-- Yandex.RTB R-A-1793072-2 -->\n<div id=\"yandex_rtb_R-A-1793072-2\"><\/div>\n<script>window.yaContextCb.push(()=>{\n  Ya.Context.AdvManager.render({\n    renderTo: 'yandex_rtb_R-A-1793072-2',\n    blockId: 'R-A-1793072-2'\n  })\n})<\/script><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.kuodg6ab462879d0c7 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.kuodg6ab462879d0c7 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.kuodg6ab462879d0c7 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.kuodg6ab462879d0c7 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.kuodg6ab462879d0c7 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>\u043a\u043e\u0434 \u0438\u0437 \u0432\u0438\u0434\u0435\u043e<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<pre><span style=\"color: #5e6d03;\">#define<\/span> <span style=\"color: #000000;\">A1_A<\/span> <span style=\"color: #000000;\">8<\/span> <span style=\"color: #434f54;\">\/\/ \u0432\u044b\u0445\u043e\u0434\u044b \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440<\/span>\r\n<span style=\"color: #5e6d03;\">#define<\/span> <span style=\"color: #000000;\">A1_B<\/span> <span style=\"color: #000000;\">9<\/span>\r\n\r\n<span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">setup<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span>\r\n \u00a0<span style=\"color: #d35400;\">pinMode<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_A<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">OUTPUT<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #d35400;\">pinMode<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_B<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">OUTPUT<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\n<span style=\"color: #00979c;\">void<\/span> <span style=\"color: #5e6d03;\">loop<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span>\r\n \u00a0\u00a0\u00a0\u00a0<span style=\"color: #434f54;\">\/\/ \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043c\u043e\u0442\u043e\u0440 \u043d\u0430 1 \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u0432\u043f\u0435\u0440\u0435\u0434<\/span>\r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_A<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">HIGH<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_B<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">LOW<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \u00a0\r\n \u00a0\u00a0\u00a0\u00a0<span style=\"color: #434f54;\">\/\/ \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043c\u043e\u0442\u043e\u0440 \u00a0<\/span>\r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_A<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">LOW<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_B<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">LOW<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0\u00a0\u00a0\u00a0<span style=\"color: #434f54;\">\/\/ \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043c\u043e\u0442\u043e\u0440 \u043d\u0430 1 \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u043d\u0430\u0437\u0430\u0434<\/span>\r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_A<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">LOW<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_B<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">HIGH<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #434f54;\">\/\/ \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043c\u043e\u0442\u043e\u0440 \u00a0<\/span>\r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_A<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">LOW<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_B<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">LOW<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #434f54;\">\/\/ \u043f\u043b\u0430\u0432\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c<\/span>\r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_A<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">LOW<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #5e6d03;\">for<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #00979c;\">int<\/span> <span style=\"color: #000000;\">i<\/span> <span style=\"color: #434f54;\">=<\/span> <span style=\"color: #000000;\">0<\/span><span style=\"color: #000000;\">;<\/span> <span style=\"color: #000000;\">i<\/span> <span style=\"color: #434f54;\">&lt;<\/span> <span style=\"color: #000000;\">255<\/span><span style=\"color: #000000;\">;<\/span> <span style=\"color: #000000;\">i<\/span><span style=\"color: #434f54;\">++<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span>\r\n \u00a0\u00a0\u00a0<span style=\"color: #d35400;\">analogWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_B<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #000000;\">i<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0\u00a0\u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">25<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #000000;\">}<\/span>\r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">2000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #434f54;\">\/\/ \u043f\u043b\u0430\u0432\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c<\/span>\r\n \u00a0<span style=\"color: #d35400;\">digitalWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_A<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #00979c;\">LOW<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0<span style=\"color: #5e6d03;\">for<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #00979c;\">int<\/span> <span style=\"color: #000000;\">i<\/span> <span style=\"color: #434f54;\">=<\/span> <span style=\"color: #000000;\">255<\/span><span style=\"color: #000000;\">;<\/span> <span style=\"color: #000000;\">i<\/span> <span style=\"color: #434f54;\">&gt;<\/span> <span style=\"color: #000000;\">0<\/span><span style=\"color: #000000;\">;<\/span> <span style=\"color: #000000;\">i<\/span><span style=\"color: #434f54;\">--<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span>\r\n \u00a0\u00a0\u00a0<span style=\"color: #d35400;\">analogWrite<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">A1_B<\/span><span style=\"color: #434f54;\">,<\/span> <span style=\"color: #000000;\">i<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span> \r\n \u00a0\u00a0\u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">25<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n \u00a0<span style=\"color: #000000;\">}<\/span>\r\n \u00a0<span style=\"color: #d35400;\">delay<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">1000<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span>\r\n\r\n \r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\n\r\n<\/pre>\n<\/div><\/div>\n<h4>\u0412 \u0441\u043b\u0443\u0447\u0430\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0431\u0438\u043f\u043e\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0448\u0430\u0433\u043e\u0432\u043e\u0433\u043e \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f.<\/h4>\n<p><a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-999\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-2-300x173.jpg\" alt=\"\" width=\"300\" height=\"173\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-2-300x173.jpg 300w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-2-768x443.jpg 768w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-2-1024x591.jpg 1024w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-2-624x360.jpg 624w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2017\/06\/L9110S-2.jpg 1887w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043e\u0431\u043c\u043e\u0442\u043a\u0438 \u0437\u0430 \u043c\u0435\u0441\u0442\u043e \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0445 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439. \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e \u0432 \u0441\u0440\u0435\u0434\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 Stepper.h.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u043e\u0434\u0443\u043b\u044c \u0441\u043e\u0431\u0440\u0430\u043d \u043d\u0430 \u0434\u0432\u0443\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0430\u0445 HG7881 \u0438\u043b\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0435 L9110S, \u043a \u043c\u043e\u0434\u0443\u043b\u044e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0432\u0430 \u043c\u0430\u043b\u043e\u043c\u043e\u0449\u043d\u044b\u0445 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0445 \u0438\u043b\u0438 \u043e\u0434\u0438\u043d \u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c.<\/p>\n","protected":false},"author":1,"featured_media":998,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[7],"tags":[76,75,77,24],"class_list":["post-984","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-video","tag-h-bridge","tag-l9110s","tag-kollektornyj-dvigatel","tag-shagovyj-dvigatel"],"_links":{"self":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/posts\/984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/comments?post=984"}],"version-history":[{"count":0,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/posts\/984\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/media\/998"}],"wp:attachment":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/media?parent=984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/categories?post=984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/tags?post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}