{"id":5628,"date":"2024-01-25T14:09:56","date_gmt":"2024-01-25T13:09:56","guid":{"rendered":"https:\/\/forbot.com\/uncategorized-cs\/kurz-arduino-5-pwm-servomotory-knihovny\/"},"modified":"2024-09-06T19:54:13","modified_gmt":"2024-09-06T17:54:13","slug":"kurz-arduino-5-pwm-servomotory-knihovny","status":"publish","type":"post","link":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/","title":{"rendered":"Kurz Arduino &#8211; #5 &#8211; PWM, servomotory, knihovny"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"5628\" class=\"elementor elementor-5628 elementor-1768\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c2dc122 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c2dc122\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-21a6dc4c\" data-id=\"21a6dc4c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6b040341 elementor-widget elementor-widget-image\" data-id=\"6b040341\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/ARD1_miniaturki_5-1024x683.jpg\" class=\"attachment-large size-large wp-image-6649\" alt=\"\" srcset=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/ARD1_miniaturki_5-1024x683.jpg 1024w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/ARD1_miniaturki_5-300x200.jpg 300w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/ARD1_miniaturki_5-768x512.jpg 768w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/ARD1_miniaturki_5.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-dbf510e\" data-id=\"dbf510e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-170149a3 elementor-widget elementor-widget-text-editor\" data-id=\"170149a3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<strong>P\u0159evodn\u00edk ADC<\/strong> byl pops\u00e1n v p\u0159edchoz\u00ed \u010d\u00e1sti. Tentokr\u00e1t to vezmeme z druh\u00e9 strany a pod\u00edv\u00e1me se na generov\u00e1n\u00ed konkr\u00e9tn\u00edho sign\u00e1lu.\n<br><br>\nMluv\u00edme o <strong>PWM<\/strong> &#8211; pulzn\u011b \u0161\u00ed\u0159kov\u00e9 modulaci. Toto t\u00e9ma m\u016f\u017ee zn\u00edt slo\u017eit\u011b, ale n\u011bkolik <strong>praktick\u00fdch p\u0159\u00edklad\u016f<\/strong> jist\u011b rozpt\u00fdl\u00ed ve\u0161ker\u00e9 pochybnosti!\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2c708361 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2c708361\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-73b689d2\" data-id=\"73b689d2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-332db77f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"332db77f\" data-element_type=\"section\" data-e-type=\"section\" id=\"menu-nav-post-top-wrapper\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-43bb9f15\" data-id=\"43bb9f15\" data-element_type=\"column\" data-e-type=\"column\" id=\"menu-nav-prev-col-top\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-487f9b4c elementor-align-center elementor-widget__width-initial elementor-widget elementor-widget-button\" data-id=\"487f9b4c\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"menu-prev-btn-top\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/forbot.com\/cs\/kurz-arduino\/arduino-kurz-4-adc-prevodnik\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">&lt;&lt; P\u0159edchoz\u00ed \u010d\u00e1st<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-4b8406f4\" data-id=\"4b8406f4\" data-element_type=\"column\" data-e-type=\"column\" id=\"menu-nav-middle-col-top\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-523666fd elementor-align-center elementor-widget__width-initial elementor-widget elementor-widget-button\" data-id=\"523666fd\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"menu-nav-btn-top\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-size-sm\" role=\"button\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Navigace v kurzu \u25bc <\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-4c11e799\" data-id=\"4c11e799\" data-element_type=\"column\" data-e-type=\"column\" id=\"menu-nav-next-col-top\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4e62bd30 elementor-align-center elementor-widget__width-initial elementor-widget elementor-widget-button\" data-id=\"4e62bd30\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"menu-next-btn-top\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"\/cs\/kurz-arduino\/kurz-arduino-6-pokracovani-uart-serva\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Dal\u0161\u00ed \u010d\u00e1st &gt;&gt;<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-7ad111ef elementor-nav-menu__text-align-aside elementor-widget elementor-widget-nav-menu\" data-id=\"7ad111ef\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"menu-nav-post-top\" data-settings=\"{&quot;layout&quot;:&quot;dropdown&quot;,&quot;submenu_icon&quot;:{&quot;value&quot;:&quot;&lt;i class=\\&quot;\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;\\\/i&gt;&quot;,&quot;library&quot;:&quot;&quot;}}\" data-widget_type=\"nav-menu.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<nav class=\"elementor-nav-menu--dropdown elementor-nav-menu__container\" aria-hidden=\"true\">\n\t\t\t\t<ul id=\"menu-2-7ad111ef\" class=\"elementor-nav-menu\"><li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10148\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-grundlagenkurs-0-inhaltsverzeichnis-einfuehrung\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz z\u00e1klad\u016f Arduino &#8211; #0 &#8211; Obsah, \u00favod<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10149\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-1-arduino-grundlagen-und-umgebung\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #1 &#8211; Z\u00e1klady a prost\u0159ed\u00ed Arduino<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10150\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-2-grundlagen-der-programmierung-i-o-ports\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #2 &#8211; Z\u00e1klady programov\u00e1n\u00ed, I\/O porty<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10151\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-3-uart-kommunikation-mit-dem-pc-variablen\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #3 &#8211; UART (komunikace s PC), prom\u011bnn\u00e9<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10157\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-4-adc-wandler\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #4 &#8211; ADC p\u0159evodn\u00edk<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10152\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-5-pwm-servomotoren-bibliotheken\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #5 &#8211; PWM, servomotory, knihovny<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10153\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-6-uart-fortsetzung-servos\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #6 &#8211; Pokra\u010dov\u00e1n\u00ed UART, serva<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10154\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-7-textanzeige-lcd-2x16\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #7 &#8211; Textov\u00fd displej, LCD 2\u00d716<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10158\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-8-dc-motorsteuerung-for-schleife\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #8 &#8211; \u0158\u00edzen\u00ed stejnosm\u011brn\u00e9ho motoru, smy\u010dka for<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10155\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-9-hc-sr04-abstandssensor-funktionen\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #9 &#8211; HC-SR04 Distan\u010dn\u00ed senzor, funkce<\/a><\/li>\n<\/ul>\t\t\t<\/nav>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e051f59 custom-alert-box elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e051f59\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ea258a5\" data-id=\"ea258a5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-9b4e792 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9b4e792\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-13f51ec blue-box-bestellen-ein-set\" data-id=\"13f51ec\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1a5b392 elementor-widget elementor-widget-text-editor\" data-id=\"1a5b392\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><i class=\"fas fa-shopping-cart fa-lg\" style=\"color: #004085;\"><\/i> Objednejte si sadu prvk\u016f a za\u010dn\u011bte se u\u010dit v praxi! <a href=\"https:\/\/botland.de\/suche?s=forbot%20arduino\"><strong>Kliknut\u00edm sem p\u0159ejdete do obchodu &gt;&gt;<\/strong><\/a><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fc18042 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fc18042\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c7c5aa3\" data-id=\"c7c5aa3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1593a0e elementor-widget elementor-widget-heading\" data-id=\"1593a0e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Co je to sign\u00e1l PWM?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a54c682 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a54c682\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8fcd967\" data-id=\"8fcd967\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cfca93c elementor-widget elementor-widget-text-editor\" data-id=\"cfca93c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>P\u0159edpokl\u00e1dejme, \u017ee k mikrokontrol\u00e9ru p\u0159ipoj\u00edme sv\u011btelnou diodu a nech\u00e1me ji blikat ve smy\u010dce. Dioda se na jednu sekundu rozsv\u00edt\u00ed a na jednu sekundu z\u016fstane vypnut\u00e1 atd:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5b87878 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5b87878\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1633849\" data-id=\"1633849\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a90d1dc elementor-widget elementor-widget-code-highlight\" data-id=\"a90d1dc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-cpp line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-cpp\">\n\t\t\t\t\t<xmp>void setup() {\r\n  pinMode(3, OUTPUT); \/\/Konfigurace pinu 3 jako v\u00fdstupu\r\n}\r\n \r\nvoid loop() {\r\n  digitalWrite(3, HIGH); \/\/Zapnut\u00ed diody\r\n  delay(1000); \/\/Po\u010dkejte 1 sekundu\r\n  digitalWrite(3, LOW); \/\/Vypnut\u00ed diody\r\n  delay(1000);\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f767cef custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f767cef\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-50b7042\" data-id=\"50b7042\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-19a6f09 elementor-widget elementor-widget-text-editor\" data-id=\"19a6f09\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Kdybychom nakreslili <strong>graf<\/strong> zm\u011bny nap\u011bt\u00ed (v \u010dase) na <strong>pinu 3<\/strong> Arduino, dostali bychom obd\u00e9ln\u00edkov\u00fd pr\u016fb\u011bh:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4fae44a custom-img-in-post-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4fae44a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b8ceb9d\" data-id=\"b8ceb9d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6d18a13 elementor-widget elementor-widget-image\" data-id=\"6d18a13\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"410\" src=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_16-1024x410.png\" class=\"attachment-large size-large wp-image-1876\" alt=\"\" srcset=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_16-1024x410.png 1024w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_16-300x120.png 300w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_16-768x307.png 768w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_16-1536x615.png 1536w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_16.png 1599w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Obd\u00e9ln\u00edkov\u00fd pr\u016fb\u011bh generovan\u00fd Arduino.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9b113f3 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9b113f3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2c45255\" data-id=\"2c45255\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a5ce7e9 elementor-widget elementor-widget-text-editor\" data-id=\"a5ce7e9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Hodnota ozna\u010den\u00e1 <strong>x<\/strong> je \u010das, kdy se rozsv\u00edt\u00ed LED dioda. Naproti tomu <strong>T<\/strong> je doba, po kterou LED blik\u00e1. Recipro\u010dn\u00ed hodnota <strong>1\/T<\/strong> zase znamen\u00e1 frekvenci. Pom\u011br mezi dobou sv\u00edcen\u00ed a dobou nesv\u00edcen\u00ed kontrolky je 1:1, tj. kontrolka sv\u00edt\u00ed pouze 50 % programu. V technick\u00e9m \u017eargonu se tento parametr ozna\u010duje jako <strong>sign\u00e1ln\u00ed n\u00e1pl\u0148<\/strong>.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-160fc6c custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"160fc6c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4e2166e\" data-id=\"4e2166e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a836bc3 elementor-widget elementor-widget-text-editor\" data-id=\"a836bc3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Shrnut\u00ed informac\u00ed o na\u0161em sign\u00e1lu:<\/p>\n<ol>\n<li><strong>Amplituda<\/strong> (maxim\u00e1ln\u00ed hodnota): 5V<\/li>\n<li><strong>Doba signalizace<\/strong>: 2 sekundy<\/li>\n<li><strong>Frekvence sign\u00e1lu<\/strong>: 1\/2 = 0,5 Hz<\/li>\n<li><strong>Sign\u00e1ln\u00ed n\u00e1pl\u0148<\/strong>: 50%<\/li>\n<\/ol>\n<p>Nyn\u00ed je \u010das na podobn\u00fd experiment. Av\u0161ak s <strong>jinou n\u00e1pln\u00ed,<\/strong> p\u0159i\u010dem\u017e p\u0159edchoz\u00ed obdob\u00ed je zachov\u00e1no. Jak to ud\u011blat? Jednodu\u0161e prodlou\u017e\u00edte dobu, po kterou je dioda zapnut\u00e1, a zkr\u00e1t\u00edte dobu, po kterou je vypnut\u00e1. Nap\u0159\u00edklad:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2c3ae8b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2c3ae8b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6b58394\" data-id=\"6b58394\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d57c89a elementor-widget elementor-widget-code-highlight\" data-id=\"d57c89a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-cpp line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-cpp\">\n\t\t\t\t\t<xmp>void setup() {\r\n  pinMode(3, OUTPUT); \/\/Konfigurace pinu 3 jako v\u00fdstupu\r\n}\r\n \r\nvoid loop() {\r\n  digitalWrite(3, HIGH); \/\/Zapnut\u00ed diody\r\n  delay(1667);\r\n  digitalWrite(3, LOW); \/\/Vypnut\u00ed diody\r\n  delay(333);\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fda75f5 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fda75f5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-568678a\" data-id=\"568678a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ac351b7 elementor-widget elementor-widget-text-editor\" data-id=\"ac351b7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Tentokr\u00e1t je dioda sepnuta p\u0159ibli\u017en\u011b 5\/6 \u010dasu. To znamen\u00e1, \u017ee <strong>pln\u011bn\u00ed je p\u0159ibli\u017en\u011b 83 %<\/strong>. Pokud tuto situaci zn\u00e1zorn\u00edte analogicky k p\u0159edchoz\u00edmu diagramu, z\u00edsk\u00e1te:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d898074 custom-img-in-post-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d898074\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ded74a8\" data-id=\"ded74a8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1b23436 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1b23436\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bd7502a\" data-id=\"bd7502a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c194452 elementor-widget elementor-widget-text-editor\" data-id=\"c194452\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Pokud zpo\u017ed\u011bn\u00ed prohod\u00edme, dostaneme opa\u010dnou situaci, tj. sign\u00e1l <strong>s \u00farovn\u00ed napln\u011bn\u00ed 17 %<\/strong>. Posledn\u00ed grafika:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d69bea8 elementor-widget elementor-widget-image\" data-id=\"d69bea8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"410\" src=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_17-1024x410.png\" class=\"attachment-large size-large wp-image-1879\" alt=\"\" srcset=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_17-1024x410.png 1024w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_17-300x120.png 300w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_17-768x307.png 768w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_17-1536x615.png 1536w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_17.png 1599w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">V\u011bt\u0161\u00ed napln\u011bn\u00ed sign\u00e1lu.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b96b812 custom-img-in-post-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b96b812\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8ee763e\" data-id=\"8ee763e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2d049ba elementor-widget elementor-widget-image\" data-id=\"2d049ba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"410\" src=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_18-1024x410.png\" class=\"attachment-large size-large wp-image-1882\" alt=\"\" srcset=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_18-1024x410.png 1024w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_18-300x120.png 300w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_18-768x307.png 768w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_18-1536x615.png 1536w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_18.png 1599w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">N\u00edzk\u00e9 zapln\u011bn\u00ed sign\u00e1lu.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6fce608 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6fce608\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d0c5ad2\" data-id=\"d0c5ad2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-18e4ac0 elementor-widget elementor-widget-text-editor\" data-id=\"18e4ac0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Pod\u00edvejte se znovu na v\u00fd\u0161e uveden\u00e9 p\u0159\u00edklady. Kter\u00fd parametr se poka\u017ed\u00e9 zm\u011bnil? Odpov\u011b\u010f je jednoduch\u00e1: <strong>n\u00e1pl\u0148<\/strong>. Frekvence pr\u016fb\u011bh\u016f z\u016fstala stejn\u00e1.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-373313f custom-alert-box elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"373313f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1070babc\" data-id=\"1070babc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-64c6d834 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"64c6d834\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-6ede7eba blue-box-bestellen-ein-set\" data-id=\"6ede7eba\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5db19d1 elementor-widget elementor-widget-text-editor\" data-id=\"5db19d1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\"><strong>Z praktick\u00e9ho hlediska<\/strong> se zm\u011bnilo pouze &#8222;procento \u010dasu, kdy m\u00e1 sign\u00e1l vysok\u00fd potenci\u00e1l&#8220;.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a44804f custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a44804f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-72b7a3c\" data-id=\"72b7a3c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-89f7ab2 elementor-widget elementor-widget-text-editor\" data-id=\"89f7ab2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tNyn\u00ed si p\u0159edstavte, \u017ee zpo\u017ed\u011bn\u00ed vlo\u017een\u00e1 do v\u00fd\u0161e uveden\u00fdch program\u016f jsou mnohem ni\u017e\u0161\u00ed, tak\u017ee frekvence sign\u00e1lu je mnohem vy\u0161\u0161\u00ed&#8230;..\n<br><br>\n<strong>Gratulujeme!<\/strong> Pr\u00e1v\u011b jste pochopili princip <strong>PWM<\/strong> v praxi. To je metoda modulace \u010dtvercov\u00e9ho vlnov\u00e9ho sign\u00e1lu <strong>nastaven\u00edm \u0161\u00ed\u0159ky impulsu<\/strong>.\n<br><br><p style=\"text-align: center;\">Pravd\u011bpodobn\u011b si \u0159\u00edk\u00e1te: <strong>Skv\u011bl\u00e9, ale pro\u010d to pot\u0159ebujete<\/strong>?<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b90c91f custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b90c91f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b5ef25a\" data-id=\"b5ef25a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d6ea661 elementor-widget elementor-widget-text-editor\" data-id=\"d6ea661\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tP\u0159edstavte si motor, kter\u00fd je ovl\u00e1d\u00e1n sp\u00edna\u010dem. Dos\u00e1hne motor po zapnut\u00ed nap\u00e1jen\u00ed okam\u017eit\u011b maxim\u00e1ln\u00edch ot\u00e1\u010dek? Ne, mus\u00ed nejprve zrychlit. Tot\u00e9\u017e plat\u00ed pro postupn\u00e9 zastavov\u00e1n\u00ed. <strong>Co se stane, kdy\u017e budeme proud takov\u00e9ho motoru neust\u00e1le zap\u00ednat a vyp\u00ednat?<\/strong> Pokud je operace dostate\u010dn\u011b rychl\u00e1, m\u011bli bychom b\u00fdt schopni dos\u00e1hnout p\u0159echodn\u00fdch rychlost\u00ed mezi zastaven\u00edm a plnou rotac\u00ed. Dosa\u017een\u00e1 rychlost z\u00e1vis\u00ed na tom, jak dlouho motor nap\u00e1j\u00edme.\n<br><br>\nPokud je toto zap\u00edn\u00e1n\u00ed a vyp\u00edn\u00e1n\u00ed mnohem rychlej\u0161\u00ed, m\u016f\u017eeme popsan\u00fd efekt vyu\u017e\u00edt i u zd\u00e1nliv\u011b velmi &#8222;rychl\u00fdch&#8220; sou\u010d\u00e1stek &#8211; sv\u011bteln\u00fdch diod.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-18e3ff89 custom-alert-box elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"18e3ff89\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-691d29db\" data-id=\"691d29db\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-71d3599f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"71d3599f\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-2031e860 blue-box-bestellen-ein-set\" data-id=\"2031e860\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-78c4e5f6 elementor-widget elementor-widget-text-editor\" data-id=\"78c4e5f6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\">Sign\u00e1l PWM generovan\u00fd p\u0159es Arduino obvykle sp\u00edn\u00e1 490\/s.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-266510c custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"266510c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bf8b4a2\" data-id=\"bf8b4a2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5affbca elementor-widget elementor-widget-heading\" data-id=\"5affbca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">K \u010demu slou\u017e\u00ed sign\u00e1l PWM?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-272e869 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"272e869\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-54969b6\" data-id=\"54969b6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-97cfb30 elementor-widget elementor-widget-text-editor\" data-id=\"97cfb30\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Tento sign\u00e1l se v digit\u00e1ln\u00ed technice pou\u017e\u00edv\u00e1 velmi \u010dasto. Lze j\u00edm <strong>ovl\u00e1dat jas LED diody, polohu serva a rychlost ot\u00e1\u010den\u00ed motoru<\/strong>! Jak jasn\u011b vid\u00edte, existuje mnoho aplikac\u00ed jak v amat\u00e9rsk\u00e9 robotice, tak v jak\u00e9mkoli jin\u00e9m kutilsk\u00e9m oboru.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e6bd926 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e6bd926\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-74b8ba0\" data-id=\"74b8ba0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1bba8b5 elementor-widget elementor-widget-heading\" data-id=\"1bba8b5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0158\u00edzen\u00ed jasu LED diod<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-647a4ec custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"647a4ec\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bb116a9\" data-id=\"bb116a9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4f47719 elementor-widget elementor-widget-text-editor\" data-id=\"4f47719\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tJe \u010das na prvn\u00ed praktick\u00fd p\u0159\u00edklad pou\u017eit\u00ed PWM. Tentokr\u00e1t se pod\u00edv\u00e1me na jednoduch\u00fd program pro <strong>pulzov\u00e1n\u00ed diody<\/strong>.\n<br><br>\nArduino je vybaveno <strong>6 hardwarov\u00fdmi kan\u00e1ly PWM<\/strong>. Ka\u017ed\u00fd v\u00fdstup, na kter\u00e9m m\u016f\u017eeme p\u0159ij\u00edmat sign\u00e1l PWM, je na desce plo\u0161n\u00fdch spoj\u016f ozna\u010den znakem &#8222;~&#8220; a slovo PWM se vedle n\u011bj objevuje i na na\u0161em obr\u00e1zku:\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ece5773 custom-img-in-post-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ece5773\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-055c4f4\" data-id=\"055c4f4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-aab01ac elementor-widget elementor-widget-image\" data-id=\"aab01ac\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"533\" src=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/ArduinoUno_pinout-1.png\" class=\"attachment-large size-large wp-image-1867\" alt=\"\" srcset=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/ArduinoUno_pinout-1.png 650w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/ArduinoUno_pinout-1-300x246.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-43b90b7a custom-alert-box elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"43b90b7a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2a53036\" data-id=\"2a53036\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-50846e54 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"50846e54\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-669b3ff5 blue-box-bestellen-ein-set\" data-id=\"669b3ff5\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-438c5e50 elementor-widget elementor-widget-text-editor\" data-id=\"438c5e50\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\"><strong>Hardwarov\u011b generovan\u00e1 PWM<\/strong> znamen\u00e1, \u017ee generov\u00e1n\u00ed tohoto sign\u00e1lu neovliv\u0148uje \u010dinnost programu (nen\u00ed zpo\u017ed\u011bno). Nav\u00edc nemus\u00edme sami ps\u00e1t funkce pro generov\u00e1n\u00ed takov\u00e9ho sign\u00e1lu.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a08bd61 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a08bd61\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d2fcb08\" data-id=\"d2fcb08\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0de3fe4 elementor-widget elementor-widget-text-editor\" data-id=\"0de3fe4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tKa\u017ed\u00fd <strong>PWM kan\u00e1l<\/strong> dostupn\u00fd na Arduino UNO je <strong>8 \u2013 bitov\u00fd<\/strong>. To znamen\u00e1, \u017ee vypln\u011bn\u00ed sign\u00e1lu, kter\u00fd chceme na v\u00fdstupu p\u0159ij\u00edmat, lze zadat \u010d\u00edslem od <strong>0 do 255<\/strong>, kde 255 znamen\u00e1 100% vypln\u011bn\u00ed.\n<br><br>\nPro prvn\u00ed cvi\u010den\u00ed je nutn\u00e9 p\u0159ipojit diodu na pin 3. Sestaven\u00ed obvodu by ji\u017e nem\u011blo b\u00fdt probl\u00e9mem:\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-950aa6c custom-img-in-post-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"950aa6c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a0684e7\" data-id=\"a0684e7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-72d0c18 elementor-widget elementor-widget-image\" data-id=\"72d0c18\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_a20-1024x682.png\" class=\"attachment-large size-large wp-image-1873\" alt=\"\" srcset=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_a20-1024x682.png 1024w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_a20-300x200.png 300w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_a20-768x512.png 768w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_a20-1536x1023.png 1536w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_a20.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Pulzov\u00e1n\u00ed diody p\u0159es Arduino - PWM.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0569268 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0569268\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c1ec9bc\" data-id=\"c1ec9bc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-81a95e0 elementor-widget elementor-widget-text-editor\" data-id=\"81a95e0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Je \u010das vytvo\u0159it program. Na\u0161\u00edm c\u00edlem je napsat n\u011bkolik \u0159\u00e1dk\u016f, kter\u00e9 zp\u016fsob\u00ed pomal\u00e9 blik\u00e1n\u00ed diody. Jin\u00fdmi slovy, budeme <strong>m\u011bnit n\u00e1pl\u0148 PWM sign\u00e1lu<\/strong>, kter\u00fd se pou\u017e\u00edv\u00e1 k \u0159\u00edzen\u00ed diody ve smy\u010dce.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-77b6d7a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"77b6d7a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-06b258c\" data-id=\"06b258c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a436b5a elementor-widget elementor-widget-code-highlight\" data-id=\"a436b5a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-cpp line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-cpp\">\n\t\t\t\t\t<xmp>#define diodaPIN 3\r\n\r\nint v\u00fdpl\u0148 = 0;\r\nint zm\u011bna = 5;\r\n\r\nvoid setup() {\r\n\tpinMode(diodaPIN, OUTPUT);\/\/Konfigurace pinu jako v\u00fdstupu \r\n}\r\n\r\nvoid loop() {\r\n\tanalogWrite(diodaPIN, v\u00fdpl\u0148); \/\/Generujeme sign\u00e1l se zadanou n\u00e1pln\u00ed\r\n\r\n\tif (v\u00fdpl\u0148 < 255) { \/\/Pokud je v\u00fdpl\u0148 men\u0161\u00ed ne\u017e 100 %\r\n\t\tv\u00fdpl\u0148 = v\u00fdpl\u0148 + zm\u011bna; \/\/Zvy\u0161ujeme v\u00fdpl\u0148\r\n\t} else {\r\n\t\tv\u00fdpl\u0148 = 0; \/\/Pokud je v\u00fdpl\u0148 v\u011bt\u0161\u00ed ne\u017e 100 %, vr\u00e1t\u00edme se na za\u010d\u00e1tek.\r\n\t}\r\n \r\n\tdelay(50); \/\/Mal\u00e9 zpo\u017ed\u011bn\u00ed pro zviditeln\u011bn\u00ed efektu\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1502cf6 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1502cf6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-680cb5a\" data-id=\"680cb5a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b010a1d elementor-widget elementor-widget-text-editor\" data-id=\"b010a1d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Doufejme, \u017ee je nyn\u00ed v\u0161e jasn\u00e9 a m\u016f\u017eeme p\u0159ej\u00edt k diskusi o nov\u00e9 funkci. Jedn\u00e1 se samoz\u0159ejm\u011b o analogueWrite(pin, fill). Jejich \u00fakolem je generovat PWM sign\u00e1l na vybran\u00e9m pinu se zvolenou v\u00fdpln\u00ed.<br \/><br \/><br \/>\u00dakolem v\u00fd\u0161e uveden\u00e9ho programu je cyklicky zvy\u0161ovat n\u00e1pl\u0148 od nuly, dokud jej\u00ed hodnota nebude men\u0161\u00ed ne\u017e 255 (100 %). Po dosa\u017een\u00ed maxim\u00e1ln\u00ed \u00farovn\u011b napln\u011bn\u00ed se dioda vypne (\u00farove\u0148 napln\u011bn\u00ed 0 %) a proces rozsv\u011bcen\u00ed diody pokra\u010duje.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d5cbbaa custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d5cbbaa\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e763150\" data-id=\"e763150\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4143f8f elementor-widget elementor-widget-heading\" data-id=\"4143f8f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Dom\u00e1c\u00ed \u00fakol 5.1<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e75c973 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e75c973\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-dfaf7a4\" data-id=\"dfaf7a4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c04f044 elementor-widget elementor-widget-text-editor\" data-id=\"c04f044\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Pokuste se v\u00fd\u0161e uveden\u00fd program zjednodu\u0161it tak, abyste <strong>nemuseli pou\u017e\u00edvat<\/strong> podm\u00edn\u011bn\u00fd p\u0159\u00edkaz if. <strong>Tip<\/strong>: Zamyslete se nad t\u00edm, jak typ vypl\u0148ov\u00e1n\u00ed prom\u011bnn\u00e9 ovliv\u0148uje program.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e0c03a3 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e0c03a3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-75f526a\" data-id=\"75f526a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-039494c elementor-widget elementor-widget-heading\" data-id=\"039494c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Dom\u00e1c\u00ed \u00fakol 5.2<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a5e7b56 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a5e7b56\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-caf940d\" data-id=\"caf940d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9a57d76 elementor-widget elementor-widget-text-editor\" data-id=\"9a57d76\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Napi\u0161te program, kter\u00fd po zv\u00fd\u0161en\u00ed n\u00e1pln\u011b na 255 za\u010dne postupn\u011b sni\u017eovat n\u00e1pl\u0148 na nulu (a tak d\u00e1le dokola). Zkontrolujte, p\u0159i jak\u00e9m zpo\u017ed\u011bn\u00ed v ka\u017ed\u00e9m cyklu smy\u010dky bude pozorovan\u00fd pulzuj\u00edc\u00ed efekt nejzaj\u00edmav\u011bj\u0161\u00ed.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7a72140 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7a72140\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f304562\" data-id=\"f304562\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3a8520a elementor-widget elementor-widget-heading\" data-id=\"3a8520a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Je \u010das pou\u017e\u00edt servo!<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-465926c custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"465926c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-028ea65\" data-id=\"028ea65\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2139ac1 elementor-widget elementor-widget-text-editor\" data-id=\"2139ac1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Nejeden \u010dten\u00e1\u0159 asi \u010dekal na okam\u017eik, kdy si probereme <strong>servo a pou\u017eijeme ho v praxi<\/strong>. Pokud je\u0161t\u011b nev\u00edte, o \u010dem p\u0159esn\u011b mluv\u00edm, najd\u011bte ve sv\u00e9 sad\u011b sou\u010d\u00e1stku, kter\u00e1 je toto\u017en\u00e1 (nebo podobn\u00e1) t\u00e9 na obr\u00e1zku n\u00ed\u017ee:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-21c6d25 custom-img-in-post-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"21c6d25\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fa6bcdf\" data-id=\"fa6bcdf\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-febb4eb elementor-widget elementor-widget-image\" data-id=\"febb4eb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"364\" src=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/serwo-towerpro-sg-90-micro.png\" class=\"attachment-large size-large wp-image-1900\" alt=\"\" srcset=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/serwo-towerpro-sg-90-micro.png 546w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/serwo-towerpro-sg-90-micro-300x200.png 300w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Servo typu Micro.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b2be80b custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b2be80b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ceefa26\" data-id=\"ceefa26\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8a3045e elementor-widget elementor-widget-text-editor\" data-id=\"8a3045e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Jedn\u00e1 se o mikroservo, kter\u00e9 je jedno z nejmen\u0161\u00edch dostupn\u00fdch na trhu. <strong>Jeho velikost v\u0161ak nem\u00e1 vliv na zp\u016fsob ovl\u00e1d\u00e1n\u00ed<\/strong>. Jakmile pochop\u00edte princip fungov\u00e1n\u00ed, budete moci ve sv\u00fdch projektech pou\u017e\u00edvat v\u011bt\u0161\u00ed, siln\u011bj\u0161\u00ed a rychlej\u0161\u00ed serva.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d300807 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d300807\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-10c519f\" data-id=\"10c519f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2957435 elementor-widget elementor-widget-heading\" data-id=\"2957435\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Co je to servomotor?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2665ee3 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2665ee3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-09fe363\" data-id=\"09fe363\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5198518 elementor-widget elementor-widget-text-editor\" data-id=\"5198518\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Servopohon se skl\u00e1d\u00e1 z motoru, p\u0159evodovky a speci\u00e1ln\u00ed \u0159\u00eddic\u00ed jednotky, kter\u00e9 jsou um\u00edst\u011bny v jedn\u00e9 sk\u0159\u00edni. Tyto pohony v\u0161ak nejsou ur\u010deny pro \u00fapln\u00e9 ot\u00e1\u010den\u00ed. V\u011bt\u0161ina serv m\u016f\u017ee pohybovat namontovan\u00fdm ramenem v \u00fahlu <strong>0-180\u00ba<\/strong>. Je d\u016fle\u017eit\u00e9, aby znali svou aktu\u00e1ln\u00ed polohu, abychom se nemuseli ob\u00e1vat nap\u0159\u00edklad zvy\u0161uj\u00edc\u00edch se chyb v poloze.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d859fd9 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d859fd9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7ef3550\" data-id=\"7ef3550\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-81aa98b elementor-widget elementor-widget-text-editor\" data-id=\"81aa98b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Dv\u011b nejd\u016fle\u017eit\u011bj\u0161\u00ed pravidla pro pou\u017e\u00edv\u00e1n\u00ed servopohon\u016f:<\/p>\n<ol>\n<li><strong>Poloha h\u0159\u00eddele se nesm\u00ed bez nutnosti ot\u00e1\u010det rukou<\/strong>. To m\u016f\u017ee po\u0161kodit pom\u011brn\u011b citliv\u00e1 plastov\u00e1 ozuben\u00e1 kola, z nich\u017e jsou p\u0159evodovky vyrobeny.<\/li>\n<li><strong>Serva nenap\u00e1jejte p\u0159\u00edmo stejn\u00fdm zdrojem energie<\/strong> jako zbytek syst\u00e9mu. Ka\u017ed\u00fd motor odeb\u00edr\u00e1 pom\u011brn\u011b velk\u00fd proud. To plat\u00ed zejm\u00e9na na za\u010d\u00e1tku pohybu. To m\u016f\u017ee naru\u0161it zbytek syst\u00e9mu a v krajn\u00edm p\u0159\u00edpad\u011b jej i po\u0161kodit.<\/li>\n<\/ol>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f07bbe1 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f07bbe1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fd51a35\" data-id=\"fd51a35\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2d6fc13 elementor-widget elementor-widget-heading\" data-id=\"2d6fc13\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Jak funguje servo?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-38395c8 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"38395c8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-35d92f9\" data-id=\"35d92f9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3b5d36b elementor-widget elementor-widget-text-editor\" data-id=\"3b5d36b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tJak servo pozn\u00e1, do kter\u00e9 polohy se m\u00e1 oto\u010dit? Je to d\u00edky vestav\u011bn\u00e9mu ovlada\u010di. Ten \u0159\u00edd\u00ed motor na z\u00e1klad\u011b p\u0159iv\u00e1d\u011bn\u00e9ho <strong>sign\u00e1lu PWM<\/strong>. Standardn\u011b je do servopohon\u016f p\u0159iv\u00e1d\u011bn sign\u00e1l s <strong>periodou 20 ms<\/strong>. Naproti tomu napln\u011bn\u00ed sign\u00e1lu je interpretov\u00e1no jako poloha, do kter\u00e9 se m\u00e1 servo rameno posunout.\n<br><br>\nNapln\u011bn\u00ed generovan\u00e9ho sign\u00e1lu by se m\u011blo pohybovat v rozmez\u00ed 5-10 %. Tyto hodnoty se p\u0159evedou na dv\u011b koncov\u00e9 polohy serva (maxim\u00e1ln\u00ed lev\u00e1 a maxim\u00e1ln\u00ed prav\u00e1).\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-643e10c custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"643e10c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2c7f5f5\" data-id=\"2c7f5f5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-464b96b elementor-widget elementor-widget-text-editor\" data-id=\"464b96b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tOd ka\u017ed\u00e9ho serva vedou <strong>3 kabely<\/strong>:\n<ol>\n \t<li>Zem (<strong>\u010dern\u00e1, <span style=\"color: #993300;\">tmav\u011b hn\u011bd\u00e1<\/span><\/strong>)<\/li>\n \t<li>Nap\u00e1jen\u00ed (<span style=\"color: #ff0000;\"><strong>\u010derven\u00fd<\/strong><\/span>)<\/li>\n \t<li>\u0158\u00eddic\u00ed sign\u00e1l (<strong><span style=\"color: #ff9900;\">\u017elut\u00fd\/oran\u017eov\u00fd<\/span><\/strong>)<\/li>\n<\/ol>Barvy kabel\u016f se mohou li\u0161it v z\u00e1vislosti na v\u00fdrobci. Dva z nich v\u0161ak budou ur\u010dit\u011b bl\u00edzko \u010dern\u00e9 a \u010derven\u00e9 (nap\u00e1jen\u00ed). Zb\u00fdvaj\u00edc\u00ed t\u0159etinu tvo\u0159\u00ed sign\u00e1ln\u00ed kabel.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-55e804d custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"55e804d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8adcd0e\" data-id=\"8adcd0e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8dcceb1 elementor-widget elementor-widget-heading\" data-id=\"8dcceb1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Nap\u00e1jen\u00ed serva<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9395154 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9395154\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-76eef9c\" data-id=\"76eef9c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ebfacfa elementor-widget elementor-widget-text-editor\" data-id=\"ebfacfa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Jak ji\u017e bylo uvedeno, servomotor by nem\u011bl b\u00fdt nap\u00e1jen p\u0159\u00edmo ze stejn\u00e9ho nap\u011bt\u00ed, kter\u00e9 nap\u00e1j\u00ed mikrokontrol\u00e9r. Za druh\u00e9, proto\u017ee motor m\u016f\u017ee odeb\u00edrat velk\u00e9 mno\u017estv\u00ed proudu, mus\u00edme do obvodu p\u0159ipojit vhodn\u00fd, \u00fa\u010dinn\u00fd zdroj.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2e243f10 custom-alert-box elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2e243f10\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4eafa129\" data-id=\"4eafa129\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-7e928648 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7e928648\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-430c5437 blue-box-bestellen-ein-set\" data-id=\"430c5437\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-13279597 elementor-widget elementor-widget-text-editor\" data-id=\"13279597\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\">Bohu\u017eel port USB, kter\u00fd jsme pou\u017eili k nap\u00e1jen\u00ed na\u0161\u00ed desky, se mohl uk\u00e1zat jako p\u0159\u00edli\u0161 slab\u00fd!<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-056d710 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"056d710\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f60f3f8\" data-id=\"f60f3f8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ef54fae elementor-widget elementor-widget-text-editor\" data-id=\"ef54fae\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Proto budeme Arduino poprv\u00e9 nap\u00e1jet pomoc\u00ed dod\u00e1van\u00e9 9V baterie s v\u00fdvodem, kter\u00fd je zakon\u010den z\u00e1str\u010dkou zapadaj\u00edc\u00ed do nap\u00e1jec\u00ed z\u00e1suvky v Arduino. P\u0159esn\u00e9 sch\u00e9ma zapojen\u00ed naleznete n\u00ed\u017ee.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-15cff66 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"15cff66\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-02a0d9c\" data-id=\"02a0d9c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-96aa239 elementor-widget elementor-widget-heading\" data-id=\"96aa239\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Servomechanismus v praxi<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b6d40cb custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b6d40cb\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8a24058\" data-id=\"8a24058\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f82f0e1 elementor-widget elementor-widget-text-editor\" data-id=\"f82f0e1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Je \u010das na prvn\u00ed program, kter\u00fd pohne ramenem serva. K tomu je t\u0159eba zapojit obvod podle n\u00ed\u017ee uveden\u00e9ho sch\u00e9matu zapojen\u00ed. Nejprve je nutn\u00e9 p\u0159ipojit baterii. Za druh\u00e9, mus\u00edme pou\u017e\u00edt stabiliz\u00e1tor LM7805.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9a9b6a3 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9a9b6a3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9e0db9f\" data-id=\"9e0db9f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-12e87b9 elementor-widget elementor-widget-text-editor\" data-id=\"12e87b9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Vstup stabiliz\u00e1toru p\u0159ipoj\u00edme na pin Vin Arduino, zem na GND a \u010derven\u00fd kabel serva p\u0159ipoj\u00edme na v\u00fdstup. Kondenz\u00e1tory jsou samoz\u0159ejm\u011b nutn\u00e9 i pro filtraci. Zb\u00fdvaj\u00edc\u00ed spojen\u00ed by ji\u017e m\u011bla b\u00fdt jasn\u00e1:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e305e56 custom-img-in-post-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e305e56\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-40460d6\" data-id=\"40460d6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fca5202 elementor-widget elementor-widget-image\" data-id=\"fca5202\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_20-1024x682.png\" class=\"attachment-large size-large wp-image-1922\" alt=\"\" srcset=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_20-1024x682.png 1024w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_20-300x200.png 300w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_20-768x512.png 768w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_20-1536x1023.png 1536w, https:\/\/forbot.com\/wp-content\/uploads\/2024\/01\/a1_20.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">P\u0159ipojen\u00ed serva k Arduino.<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b5be8f9 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b5be8f9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-43d8a2a\" data-id=\"43d8a2a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f038512 elementor-widget elementor-widget-text-editor\" data-id=\"f038512\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Je \u010das na program, kter\u00fd krok za krokem posouv\u00e1 servo. Na za\u010d\u00e1tku hotov\u00e9ho programu najdete vysv\u011btlen\u00ed n\u00ed\u017ee:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0e70905 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0e70905\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-21b0f6a\" data-id=\"21b0f6a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6c54b69 elementor-widget elementor-widget-code-highlight\" data-id=\"6c54b69\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-cpp line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-cpp\">\n\t\t\t\t\t<xmp>#include <Servo.h> \/\/Knihovna odpov\u011bdn\u00e1 za serva\r\n \r\nServo servomechanismus;  \/\/Vytvo\u0159\u00edme objekt, abychom se mohli na servo odkazovat. \r\nint pozice = 0; \/\/Aktu\u00e1ln\u00ed pozice serva 0-180\r\nint zm\u011bna = 6; \/\/Jak \u010dasto se m\u00e1 m\u011bnit poloha serva?\r\n \r\nvoid setup() \r\n{ \r\n  servomechanism.attach(9);  \/\/Servo p\u0159ipojen\u00e9 k pinu 9\r\n} \r\n \r\nvoid loop() \r\n{  \r\n  if (pozice < 180) { \/\/Pokud pozice le\u017e\u00ed v oblasti\r\n    servomechanism.write(pozice); \/\/Ud\u011blej krok\r\n  } else { \/\/Pokud ne, vra\u0165te se na za\u010d\u00e1tek\r\n    pozice = 0;\r\n  }    \r\n  \r\n  pozice = pozice + zm\u011bna; \/\/Zv\u00fd\u0161en\u00ed aktu\u00e1ln\u00ed polohy serva\r\n  delay(200); \/\/Zpo\u017ed\u011bn\u00ed pro lep\u0161\u00ed efekt                     \r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fad441b custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fad441b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-32072aa\" data-id=\"32072aa\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-19f4dba elementor-widget elementor-widget-text-editor\" data-id=\"19f4dba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Tentokr\u00e1t pot\u0159ebujeme p\u0159idat novou knihovnu, kter\u00e1 roz\u0161\u00ed\u0159\u00ed mo\u017enosti na\u0161eho programu o na\u0161e funkce. To se prov\u00e1d\u00ed p\u0159\u00edkazem:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-246d768 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"246d768\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-300d2e6\" data-id=\"300d2e6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5c6f646 elementor-widget elementor-widget-code-highlight\" data-id=\"5c6f646\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-cpp line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-cpp\">\n\t\t\t\t\t<xmp>#include Servo.h<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fb4a5dc custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fb4a5dc\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0a654e7\" data-id=\"0a654e7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a9ed5c1 elementor-widget elementor-widget-text-editor\" data-id=\"a9ed5c1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tV tomto p\u0159\u00edpad\u011b jsme p\u0159idali soubor Servo.h, kter\u00fd obsahuje dal\u0161\u00ed pokyny pro serva. D\u00edky tomuto souboru nemus\u00edme sami \u0159\u00eddit generovan\u00fd PWM sign\u00e1l. Mus\u00edme pouze zadat polohu (\u00fahel), kolem kter\u00e9 se m\u00e1 servo ot\u00e1\u010det.\n<br><br>\nPokud chceme ovl\u00e1dat servo, mus\u00edme pro n\u011bj vytvo\u0159it objekt:\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-aa77d55 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"aa77d55\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8e2a111\" data-id=\"8e2a111\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-51c2914 elementor-widget elementor-widget-code-highlight\" data-id=\"51c2914\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-cpp line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-cpp\">\n\t\t\t\t\t<xmp>Servo servomechanismus;<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-22ac0e1 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"22ac0e1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7fb9e79\" data-id=\"7fb9e79\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-970eddd elementor-widget elementor-widget-text-editor\" data-id=\"970eddd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tFunkce <strong>attach(Pin)<\/strong> &#8211; pro objekt servo &#8211; funguje podobn\u011b jako <strong>pinMode<\/strong> &#8211; argumentem je pin, ke kter\u00e9mu je komponent p\u0159ipojen. Od t\u00e9to chv\u00edle je na zadan\u00e9m pinu (v tomto p\u0159\u00edpad\u011b 9) generov\u00e1n PWM sign\u00e1l.\n<br><br>\nPo spu\u0161t\u011bn\u00ed programu by se m\u011blo servo plynule pohybovat z jedn\u00e9 koncov\u00e9 polohy do druh\u00e9 a pot\u00e9 zp\u011bt na za\u010d\u00e1tek. Kl\u00ed\u010dov\u00e1 v\u011bta zn\u00ed:\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4bfe09b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4bfe09b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e36fca4\" data-id=\"e36fca4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-889698b elementor-widget elementor-widget-code-highlight\" data-id=\"889698b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-cpp line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-cpp\">\n\t\t\t\t\t<xmp>servomechanism.write(pozice);<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-13f147b custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"13f147b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b808b51\" data-id=\"b808b51\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1ffd58b elementor-widget elementor-widget-text-editor\" data-id=\"1ffd58b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Zde mus\u00edme jako polohu zadat \u00fahel 0-180\u00ba.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b9d28ad custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b9d28ad\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c039846\" data-id=\"c039846\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2635a01 elementor-widget elementor-widget-heading\" data-id=\"2635a01\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Dom\u00e1c\u00ed \u00fakol 5.3<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8b7c17e custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8b7c17e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-49546ab\" data-id=\"49546ab\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0d190fe elementor-widget elementor-widget-text-editor\" data-id=\"0d190fe\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Na z\u00e1klad\u011b v\u00fd\u0161e uveden\u00e9ho programu napi\u0161te vlastn\u00ed, kter\u00fd provede ka\u017ed\u00fd dal\u0161\u00ed skok na novou pozici po del\u0161\u00ed dob\u011b (200 ms, 250 ms atd.).<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-40ec550 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"40ec550\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4e740da\" data-id=\"4e740da\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9a94506 elementor-widget elementor-widget-heading\" data-id=\"9a94506\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Dom\u00e1c\u00ed \u00fakol 5.4<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ea379d5 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ea379d5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-315c472\" data-id=\"315c472\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d1dfa66 elementor-widget elementor-widget-text-editor\" data-id=\"d1dfa66\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Napi\u0161te program, kter\u00fd ot\u00e1\u010d\u00ed servopohonem do polohy odes\u00edlan\u00e9 do za\u0159\u00edzen\u00ed <a href=\"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-3-uart-komunikace-s-pc-promenne\/\"><span>Arduino p\u0159es UART<\/span><\/a>. Odes\u00edlan\u00e1 \u010d\u00edsla mus\u00ed b\u00fdt v rozsahu 0-180, jinak se zobraz\u00ed zpr\u00e1va.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8f45e55 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8f45e55\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a95b7da\" data-id=\"a95b7da\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-217aa6a elementor-widget elementor-widget-heading\" data-id=\"217aa6a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Dom\u00e1c\u00ed \u00fakol 5.5<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-32e2cb9 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"32e2cb9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-245d326\" data-id=\"245d326\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f4269e1 elementor-widget elementor-widget-text-editor\" data-id=\"f4269e1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>P\u0159ipojte k obvodu potenciometr jako d\u011bli\u010d nap\u011bt\u00ed. Pak pou\u017eijte <a href=\"https:\/\/forbot.com\/cs\/kurz-arduino\/arduino-kurz-4-adc-prevodnik\/\"><span>ADC p\u0159evodn\u00edk <\/span><\/a>zm\u011b\u0159te nap\u011bt\u00ed nastaven\u00e9 na potenciometru. \u010c\u00edm je vy\u0161\u0161\u00ed, t\u00edm bl\u00ed\u017ee by m\u011blo b\u00fdt servo ke sv\u00e9 nejprav\u011bj\u0161\u00ed poloze.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f6e1a31 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f6e1a31\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-17bdf2d\" data-id=\"17bdf2d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-256a2c1 elementor-widget elementor-widget-heading\" data-id=\"256a2c1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Pozor, nep\u0159ipojujte motor sami!<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-de9f9b8 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"de9f9b8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a687497\" data-id=\"a687497\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3eac64a elementor-widget elementor-widget-text-editor\" data-id=\"3eac64a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>V t\u00e9to \u010d\u00e1sti kurzu jsme p\u0159ipojili servomotor p\u0159\u00edmo k Arduino. To bylo mo\u017en\u00e9 d\u00edky tomu, \u017ee tyto pohony maj\u00ed vnit\u0159n\u00ed \u0159\u00eddic\u00ed jednotky, kter\u00e9 \u0159\u00edd\u00ed provoz hol\u00e9ho motoru.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2d823d5c custom-alert-box elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2d823d5c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-155ea85d\" data-id=\"155ea85d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-5ee63b4d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5ee63b4d\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-67ba63dc blue-box-bestellen-ein-set\" data-id=\"67ba63dc\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1c36ad6b elementor-widget elementor-widget-text-editor\" data-id=\"1c36ad6b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\">Proto se z pinu Arduino, kter\u00fd ovl\u00e1d\u00e1 pohyb serva, neodeb\u00edr\u00e1 mnoho proudu.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-960d0d5 custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"960d0d5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ec2c290\" data-id=\"ec2c290\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d2c8d7d elementor-widget elementor-widget-text-editor\" data-id=\"d2c8d7d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tPokud k Arduino p\u0159ipoj\u00edte &#8222;hol\u00fd motor&#8220;, proud (&gt;20mA) po\u0161kod\u00ed obvod! Nezapome\u0148te, \u017ee elektromotory (i ty mal\u00e9) mohou ke sv\u00e9 \u010dinnosti pot\u0159ebovat desetin\u00e1sobek nebo dokonce ston\u00e1sobek v\u00fdkonu v\u00fdvod\u016f mikrokontrol\u00e9ru!\n<br><br>\nPro p\u0159\u00edm\u00e9 p\u0159ipojen\u00ed motoru je nutn\u00fd meziobvod, bridge-h! V\u00edce informac\u00ed o t\u00e9to problematice najdete d\u00e1le v tomto kurzu.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-17ef3e3 custom-heading-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"17ef3e3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-57e25b2\" data-id=\"57e25b2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9df2d72 elementor-widget elementor-widget-heading\" data-id=\"9df2d72\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Shrnut\u00ed<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ad95d6d custom-paragraph-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ad95d6d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4e9330f\" data-id=\"4e9330f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e4957c4 elementor-widget elementor-widget-text-editor\" data-id=\"e4957c4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tDouf\u00e1m, \u017ee jste d\u00edky t\u00e9to \u010d\u00e1sti kurzu <strong>pochopili, co je to PWM sign\u00e1l<\/strong> a jak jej m\u016f\u017eete pou\u017e\u00edt ve sv\u00fdch projektech.\n<br><br>\nV p\u0159\u00ed\u0161t\u00edm <strong>dopl\u0148kov\u00e9m d\u00edle<\/strong> se budeme v\u011bnovat n\u011bkter\u00fdm u\u017eite\u010dn\u00fdm trik\u016fm v souvislosti s <a href=\"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-3-uart-komunikace-s-pc-promenne\/\">p\u0159enosem p\u0159es UART<\/a>. Uk\u00e1\u017eu tak\u00e9, <strong>jak lze servo v praxi pou\u017e\u00edt jako analogov\u00fd ukazatel<\/strong>, a p\u0159edvedu, jak pomoc\u00ed Arduino a \u010dipu L293D ovl\u00e1dat stejnosm\u011brn\u00fd motor!\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2a1b89a5 custom-kurs-nav-bottom-section elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2a1b89a5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1a7159ed\" data-id=\"1a7159ed\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5fb27b9b elementor-widget elementor-widget-heading\" data-id=\"5fb27b9b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Navigace v kurzu<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-55ad1a4e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"55ad1a4e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-7d092aad\" data-id=\"7d092aad\" data-element_type=\"column\" data-e-type=\"column\" id=\"menu-nav-prev-col-bottom\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6ea62c30 elementor-align-center elementor-widget__width-initial elementor-widget elementor-widget-button\" data-id=\"6ea62c30\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"menu-prev-btn-bottom\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-md\" href=\"https:\/\/forbot.com\/cs\/kurz-arduino\/arduino-kurz-4-adc-prevodnik\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">&lt;&lt; P\u0159edchoz\u00ed \u010d\u00e1st<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-384c6534\" data-id=\"384c6534\" data-element_type=\"column\" data-e-type=\"column\" id=\"menu-nav-middle-col-bottom\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3825a7f7 elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"3825a7f7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-map-signs\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-1f968144\" data-id=\"1f968144\" data-element_type=\"column\" data-e-type=\"column\" id=\"menu-nav-next-col-bottom\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2a145c23 elementor-align-center elementor-widget__width-initial elementor-widget elementor-widget-button\" data-id=\"2a145c23\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"menu-next-btn-bottom\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-md\" href=\"\/cs\/kurz-arduino\/kurz-arduino-6-pokracovani-uart-serva\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Dal\u0161\u00ed \u010d\u00e1st &gt;&gt;<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-733ef7d6 elementor-align-center elementor-widget elementor-widget-button\" data-id=\"733ef7d6\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"menu-nav-btn-bottom\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-size-md\" role=\"button\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Zobrazit\/skr\u00fdt v\u0161echny \u010d\u00e1sti<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e2ca5a8 elementor-nav-menu__text-align-aside elementor-widget elementor-widget-nav-menu\" data-id=\"1e2ca5a8\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"menu-nav-post-bottom\" data-settings=\"{&quot;layout&quot;:&quot;dropdown&quot;,&quot;submenu_icon&quot;:{&quot;value&quot;:&quot;&lt;i class=\\&quot;\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;\\\/i&gt;&quot;,&quot;library&quot;:&quot;&quot;}}\" data-widget_type=\"nav-menu.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<nav class=\"elementor-nav-menu--dropdown elementor-nav-menu__container\" aria-hidden=\"true\">\n\t\t\t\t<ul id=\"menu-2-1e2ca5a8\" class=\"elementor-nav-menu\"><li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10148\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-grundlagenkurs-0-inhaltsverzeichnis-einfuehrung\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz z\u00e1klad\u016f Arduino &#8211; #0 &#8211; Obsah, \u00favod<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10149\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-1-arduino-grundlagen-und-umgebung\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #1 &#8211; Z\u00e1klady a prost\u0159ed\u00ed Arduino<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10150\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-2-grundlagen-der-programmierung-i-o-ports\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #2 &#8211; Z\u00e1klady programov\u00e1n\u00ed, I\/O porty<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10151\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-3-uart-kommunikation-mit-dem-pc-variablen\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #3 &#8211; UART (komunikace s PC), prom\u011bnn\u00e9<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10157\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-4-adc-wandler\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #4 &#8211; ADC p\u0159evodn\u00edk<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10152\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-5-pwm-servomotoren-bibliotheken\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #5 &#8211; PWM, servomotory, knihovny<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10153\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-6-uart-fortsetzung-servos\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #6 &#8211; Pokra\u010dov\u00e1n\u00ed UART, serva<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10154\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-7-textanzeige-lcd-2x16\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #7 &#8211; Textov\u00fd displej, LCD 2\u00d716<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10158\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-8-dc-motorsteuerung-for-schleife\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #8 &#8211; \u0158\u00edzen\u00ed stejnosm\u011brn\u00e9ho motoru, smy\u010dka for<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-post menu-item-10155\"><a href=\"https:\/\/forbot.com\/de\/arduino-kurs\/arduino-kurs-9-hc-sr04-abstandssensor-funktionen\/\" class=\"elementor-item menu-link\" tabindex=\"-1\">Kurz Arduino &#8211; #9 &#8211; HC-SR04 Distan\u010dn\u00ed senzor, funkce<\/a><\/li>\n<\/ul>\t\t\t<\/nav>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6aefcb0 custom-alert-box elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6aefcb0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-caba3ca\" data-id=\"caba3ca\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-7f8333b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7f8333b\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-55947dc blue-box-bestellen-ein-set\" data-id=\"55947dc\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6e59b08 elementor-widget elementor-widget-text-editor\" data-id=\"6e59b08\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><i class=\"fas fa-shopping-cart fa-lg\" style=\"color: #004085;\"><\/i> Objednejte si sadu prvk\u016f a za\u010dn\u011bte se u\u010dit v praxi! <a href=\"https:\/\/botland.de\/suche?s=forbot%20arduino\"><strong>Kliknut\u00edm sem p\u0159ejdete do obchodu &gt;&gt;<\/strong><\/a><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>P\u0159evodn\u00edk ADC byl pops\u00e1n v p\u0159edchoz\u00ed \u010d\u00e1sti. Tentokr\u00e1t to vezmeme z druh\u00e9 strany a pod\u00edv\u00e1me se na generov\u00e1n\u00ed konkr\u00e9tn\u00edho sign\u00e1lu.<\/p>\n","protected":false},"author":5,"featured_media":1772,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[51],"tags":[53],"class_list":["post-5628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kurz-arduino","tag-programovani"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Kurz Arduino - #5 - PWM, servomotory, knihovny - FORBOT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/\" \/>\n<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kurz Arduino - #5 - PWM, servomotory, knihovny - FORBOT\" \/>\n<meta property=\"og:description\" content=\"P\u0159evodn\u00edk ADC byl pops\u00e1n v p\u0159edchoz\u00ed \u010d\u00e1sti. Tentokr\u00e1t to vezmeme z druh\u00e9 strany a pod\u00edv\u00e1me se na generov\u00e1n\u00ed konkr\u00e9tn\u00edho sign\u00e1lu.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/\" \/>\n<meta property=\"og:site_name\" content=\"FORBOT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/botland.de\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-25T13:09:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-06T17:54:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sebastian Trame\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Napsal(a)\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sebastian Trame\" \/>\n\t<meta name=\"twitter:label2\" content=\"Odhadovan\u00e1 doba \u010dten\u00ed\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/\"},\"author\":{\"name\":\"Sebastian Trame\",\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#\\\/schema\\\/person\\\/aff57459c89be0682a88d130e1b2157c\"},\"headline\":\"Kurz Arduino &#8211; #5 &#8211; PWM, servomotory, knihovny\",\"datePublished\":\"2024-01-25T13:09:56+00:00\",\"dateModified\":\"2024-09-06T17:54:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/\"},\"wordCount\":2188,\"publisher\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/forbot.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ARD1_miniaturki_5.jpg\",\"keywords\":[\"Programov\u00e1n\u00ed\"],\"articleSection\":[\"Kurz Arduino\"],\"inLanguage\":\"cs\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/\",\"url\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/\",\"name\":\"Kurz Arduino - #5 - PWM, servomotory, knihovny - FORBOT\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/forbot.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ARD1_miniaturki_5.jpg\",\"datePublished\":\"2024-01-25T13:09:56+00:00\",\"dateModified\":\"2024-09-06T17:54:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/#breadcrumb\"},\"inLanguage\":\"cs\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/#primaryimage\",\"url\":\"https:\\\/\\\/forbot.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ARD1_miniaturki_5.jpg\",\"contentUrl\":\"https:\\\/\\\/forbot.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ARD1_miniaturki_5.jpg\",\"width\":1200,\"height\":800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/forbot.com\\\/cs\\\/kurz-arduino\\\/kurz-arduino-5-pwm-servomotory-knihovny\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/forbot.com\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kurz Arduino &#8211; #5 &#8211; PWM, servomotory, knihovny\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/forbot.com\\\/de\\\/\",\"name\":\"FORBOT\",\"description\":\"Blog o elektronice, Arduino a Raspberry Pi\",\"publisher\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/forbot.com\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"cs\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#organization\",\"name\":\"FORBOT\",\"url\":\"https:\\\/\\\/forbot.com\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/forbot.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/logo.svg\",\"contentUrl\":\"https:\\\/\\\/forbot.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/logo.svg\",\"width\":1179,\"height\":255,\"caption\":\"FORBOT\"},\"image\":{\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/botland.de\\\/\",\"https:\\\/\\\/www.youtube.com\\\/@botland_pl\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/forbot.com\\\/de\\\/#\\\/schema\\\/person\\\/aff57459c89be0682a88d130e1b2157c\",\"name\":\"Sebastian Trame\",\"url\":\"https:\\\/\\\/forbot.com\\\/cs\\\/author\\\/sebastian-trame\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Kurz Arduino - #5 - PWM, servomotory, knihovny - FORBOT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/","og_locale":"cs_CZ","og_type":"article","og_title":"Kurz Arduino - #5 - PWM, servomotory, knihovny - FORBOT","og_description":"P\u0159evodn\u00edk ADC byl pops\u00e1n v p\u0159edchoz\u00ed \u010d\u00e1sti. Tentokr\u00e1t to vezmeme z druh\u00e9 strany a pod\u00edv\u00e1me se na generov\u00e1n\u00ed konkr\u00e9tn\u00edho sign\u00e1lu.","og_url":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/","og_site_name":"FORBOT","article_publisher":"https:\/\/www.facebook.com\/botland.de\/","article_published_time":"2024-01-25T13:09:56+00:00","article_modified_time":"2024-09-06T17:54:13+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg","type":"image\/jpeg"}],"author":"Sebastian Trame","twitter_card":"summary_large_image","twitter_misc":{"Napsal(a)":"Sebastian Trame","Odhadovan\u00e1 doba \u010dten\u00ed":"12 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/#article","isPartOf":{"@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/"},"author":{"name":"Sebastian Trame","@id":"https:\/\/forbot.com\/de\/#\/schema\/person\/aff57459c89be0682a88d130e1b2157c"},"headline":"Kurz Arduino &#8211; #5 &#8211; PWM, servomotory, knihovny","datePublished":"2024-01-25T13:09:56+00:00","dateModified":"2024-09-06T17:54:13+00:00","mainEntityOfPage":{"@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/"},"wordCount":2188,"publisher":{"@id":"https:\/\/forbot.com\/de\/#organization"},"image":{"@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/#primaryimage"},"thumbnailUrl":"https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg","keywords":["Programov\u00e1n\u00ed"],"articleSection":["Kurz Arduino"],"inLanguage":"cs"},{"@type":"WebPage","@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/","url":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/","name":"Kurz Arduino - #5 - PWM, servomotory, knihovny - FORBOT","isPartOf":{"@id":"https:\/\/forbot.com\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/#primaryimage"},"image":{"@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/#primaryimage"},"thumbnailUrl":"https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg","datePublished":"2024-01-25T13:09:56+00:00","dateModified":"2024-09-06T17:54:13+00:00","breadcrumb":{"@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/#breadcrumb"},"inLanguage":"cs","potentialAction":[{"@type":"ReadAction","target":["https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/"]}]},{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/#primaryimage","url":"https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg","contentUrl":"https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg","width":1200,"height":800},{"@type":"BreadcrumbList","@id":"https:\/\/forbot.com\/cs\/kurz-arduino\/kurz-arduino-5-pwm-servomotory-knihovny\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/forbot.com\/de\/"},{"@type":"ListItem","position":2,"name":"Kurz Arduino &#8211; #5 &#8211; PWM, servomotory, knihovny"}]},{"@type":"WebSite","@id":"https:\/\/forbot.com\/de\/#website","url":"https:\/\/forbot.com\/de\/","name":"FORBOT","description":"Blog o elektronice, Arduino a Raspberry Pi","publisher":{"@id":"https:\/\/forbot.com\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/forbot.com\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"cs"},{"@type":"Organization","@id":"https:\/\/forbot.com\/de\/#organization","name":"FORBOT","url":"https:\/\/forbot.com\/de\/","logo":{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/forbot.com\/de\/#\/schema\/logo\/image\/","url":"https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/logo.svg","contentUrl":"https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/logo.svg","width":1179,"height":255,"caption":"FORBOT"},"image":{"@id":"https:\/\/forbot.com\/de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/botland.de\/","https:\/\/www.youtube.com\/@botland_pl"]},{"@type":"Person","@id":"https:\/\/forbot.com\/de\/#\/schema\/person\/aff57459c89be0682a88d130e1b2157c","name":"Sebastian Trame","url":"https:\/\/forbot.com\/cs\/author\/sebastian-trame\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg",1200,800,false],"thumbnail":["https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5-150x150.jpg",150,150,true],"medium":["https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5-300x200.jpg",300,200,true],"medium_large":["https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5-768x512.jpg",768,512,true],"large":["https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5-1024x683.jpg",1024,683,true],"1536x1536":["https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg",1200,800,false],"2048x2048":["https:\/\/forbot.com\/wp-content\/uploads\/2024\/09\/ARD1_miniaturki_5.jpg",1200,800,false]},"uagb_author_info":{"display_name":"Sebastian Trame","author_link":"https:\/\/forbot.com\/cs\/author\/sebastian-trame\/"},"uagb_comment_info":0,"uagb_excerpt":"P\u0159evodn\u00edk ADC byl pops\u00e1n v p\u0159edchoz\u00ed \u010d\u00e1sti. Tentokr\u00e1t to vezmeme z druh\u00e9 strany a pod\u00edv\u00e1me se na generov\u00e1n\u00ed konkr\u00e9tn\u00edho sign\u00e1lu.","_links":{"self":[{"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/posts\/5628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/comments?post=5628"}],"version-history":[{"count":57,"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/posts\/5628\/revisions"}],"predecessor-version":[{"id":10495,"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/posts\/5628\/revisions\/10495"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/media\/1772"}],"wp:attachment":[{"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/media?parent=5628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/categories?post=5628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/forbot.com\/cs\/wp-json\/wp\/v2\/tags?post=5628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}