{"id":350,"date":"2025-09-15T10:39:38","date_gmt":"2025-09-15T08:39:38","guid":{"rendered":"https:\/\/avlos.gr\/wpress\/?p=350"},"modified":"2025-09-15T11:26:49","modified_gmt":"2025-09-15T09:26:49","slug":"%ce%ad%ce%bb%ce%b5%ce%b3%cf%87%ce%bf%cf%82-%ce%ba%ce%b9%ce%bd%ce%b7%cf%84%ce%ae%cf%81%ce%b1-dc","status":"publish","type":"post","link":"https:\/\/avlos.gr\/wpress\/%ce%ad%ce%bb%ce%b5%ce%b3%cf%87%ce%bf%cf%82-%ce%ba%ce%b9%ce%bd%ce%b7%cf%84%ce%ae%cf%81%ce%b1-dc\/","title":{"rendered":"\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1 DC"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1 DC<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u03a3\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae \u03b8\u03b1 \u03b4\u03ce\u03c3\u03bf\u03c5\u03bc\u03b5 \u03ba\u03af\u03bd\u03b7\u03c3\u03b7 \u03c3\u03c4\u03bf\u03bd \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1 \u03bc\u03b5 \u03c4\u03b7 \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b5\u03bd\u03cc\u03c2 \u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1 \u03ba\u03b1\u03b9 \u03b8\u03b1 \u03bc\u03b5\u03c4\u03c1\u03ac\u03bc\u03b5 \u03c4\u03b7\u03bd \u03c4\u03b1\u03c7\u03cd\u03c4\u03b7\u03c4\u03ac \u03c4\u03bf\u03c5, \u03cc\u03c0\u03c9\u03c2 \u03ba\u03ac\u03bd\u03b1\u03bc\u03b5 \u03c3\u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae \u201c\u039a\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1\u03c2 DC \u2013 Encoder\u201d. \u0393\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf \u03ba\u03ac\u03bd\u03bf\u03c5\u03bc\u03b5 \u03b1\u03c5\u03c4\u03cc \u03b8\u03b1 \u03c0\u03c1\u03bf\u03c3\u03b8\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03ad\u03bd\u03b1 \u03b1\u03ba\u03cc\u03bc\u03b7 \u03ba\u03cd\u03ba\u03bb\u03c9\u03bc\u03b1, \u03b1\u03c5\u03c4\u03cc \u03c4\u03b7\u03c2 \u03c4\u03c1\u03bf\u03c6\u03bf\u03b4\u03bf\u03c3\u03af\u03b1\u03c2 \u03c4\u03bf\u03c5 \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1, \u03ba\u03b1\u03b9 \u03bb\u03af\u03b3\u03b5\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ad\u03c2 \u03ba\u03ce\u03b4\u03b9\u03ba\u03b1 \u03c3\u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03c0\u03bf\u03c5 \u03b3\u03c1\u03ac\u03c8\u03b1\u03bc\u03b5 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03ba\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae \u03bc\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd \u03c4\u03af\u03c4\u03bb\u03bf \u201c\u039a\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1\u03c2 DC \u2013 Encoder\u201d.<br>\u0394\u03b5\u03c5\u03c4\u03b5\u03c1\u03b5\u03c5\u03cc\u03bd\u03c4\u03c9\u03c2 \u03b8\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5 \u03ad\u03bd\u03b1 infrared \u03c4\u03b7\u03bb\u03b5\u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03af\u03bd\u03bf\u03c5\u03bc\u03b5 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 \u03ba\u03af\u03bd\u03b7\u03c3\u03b7\u03c2 \u03c3\u03c4\u03bf\u03bd \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1. \u0395\u03bc\u03c0\u03c1\u03cc\u03c2 &#8211; \u03c0\u03af\u03c3\u03c9 &#8211; \u03b3\u03c1\u03ae\u03b3\u03bf\u03c1\u03b1 &#8211; \u03b1\u03c1\u03b3\u03ac \u03ba\u03bb\u03c0.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u03a4\u03b1 \u03c5\u03bb\u03b9\u03ba\u03ac \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae \u03b5\u03af\u03bd\u03b1\u03b9 \u03c4\u03b1 \u03af\u03b4\u03b9\u03b1. \u0395\u03b4\u03ce \u03b8\u03b1 \u03b5\u03c3\u03c4\u03b9\u03ac\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03bf \u03c3\u03c4\u03bf\u03bd \u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03bf\u03b4\u03ae\u03b3\u03b7\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1, \u03ba\u03b1\u03b9 \u03b8\u03b1 \u03c0\u03bf\u03cd\u03bc\u03b5 \u03bb\u03af\u03b3\u03b1 \u03bb\u03cc\u03b3\u03b9\u03b1 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd PWM \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 (Pulse Width Modulation) \u03ba\u03b1\u03b9 \u03c0\u03c9\u03c2 \u03b1\u03c5\u03c4\u03ae \u03b8\u03b1 \u03c4\u03b7\u03bd \u03c5\u03bb\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c3\u03c4\u03bf Arduino UNO.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PWM (Pulse Width Modulation)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0397 \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 PWM \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b9\u03b1 \u03c0\u03b5\u03c1\u03b9\u03bf\u03b4\u03b9\u03ba\u03ae \u03c4\u03b5\u03c4\u03c1\u03b1\u03b3\u03c9\u03bd\u03b9\u03ba\u03ae \u03ba\u03c5\u03bc\u03b1\u03c4\u03bf\u03bc\u03bf\u03c1\u03c6\u03ae \u03c0\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b1\u03b9 \u03b1\u03c0\u03cc \u03c4\u03bf \u03c0\u03bf\u03c3\u03bf\u03c3\u03c4\u03cc \u03c4\u03bf\u03c5 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c5 \u03c0\u03bf\u03c5 \u03b5\u03af\u03bd\u03b1\u03b9 \u03c3\u03b5 \u03ba\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 \u039f\u039d \u03ae \u03b1\u03bb\u03bb\u03b9\u03ce\u03c2 Hight \u03c3\u03b5 \u03bc\u03af\u03b1 \u03c0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf. \u0391\u03c5\u03c4\u03ae \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 \u039f\u039d \u03c4\u03b7\u03bd \u03bf\u03bd\u03bf\u03bc\u03ac\u03b6\u03bf\u03c5\u03bc\u03b5 Duty Cycle \u03ba\u03b1\u03b9 \u03c4\u03b7 \u03bc\u03b5\u03c4\u03c1\u03ac\u03bc\u03b5 \u03c3\u03b1\u03bd \u03c0\u03bf\u03c3\u03bf\u03c3\u03c4\u03cc \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03bf\u03bb\u03b9\u03ba\u03ae\u03c2 \u03b4\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1\u03c2 \u03bc\u03b9\u03b1\u03c2 \u03c0\u03b5\u03c1\u03b9\u03cc\u03b4\u03bf\u03c5.<br>\u03a3\u03c4\u03bf \u03c3\u03c7\u03ae\u03bc\u03b1 \u03c0\u03bf\u03c5 \u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03b5\u03af \u03b2\u03bb\u03ad\u03c0\u03bf\u03c5\u03bc\u03b5 \u03ad\u03be\u03b9 \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03b5\u03c4\u03b9\u03ba\u03ad\u03c2 \u03bc\u03bf\u03c1\u03c6\u03ad\u03c2 \u03bc\u03b9\u03b1\u03c2 PWM. \u039f\u03b9 \u03c0\u03c1\u03ac\u03c3\u03b9\u03bd\u03b5\u03c2 \u03ba\u03ac\u03b8\u03b5\u03c4\u03b5\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ad\u03c2 \u03ba\u03b1\u03b8\u03bf\u03c1\u03af\u03b6\u03bf\u03c5\u03bd \u03c4\u03b7 \u03b4\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1 \u03b5\u03bd\u03cc\u03c2 \u03ba\u03cd\u03ba\u03bb\u03bf\u03c5 \u03ae \u03b1\u03bb\u03bb\u03b9\u03ce\u03c2 \u03c4\u03bf \u03c0\u03bb\u03ae\u03b8\u03bf\u03c2 \u03c4\u03c9\u03bd \u03ba\u03cd\u03ba\u03bb\u03c9\u03bd \u03c3\u03c4\u03b7 \u03bc\u03bf\u03bd\u03ac\u03b4\u03b1 \u03c4\u03bf\u03c5 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c5.<br>\u03a3\u03c4\u03b7\u03bd \u03c0\u03c1\u03ce\u03c4\u03b7 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae \u03b4\u03b9\u03b1\u03ba\u03c1\u03af\u03bd\u03bf\u03c5\u03bc\u03b5 \u03cc\u03c4\u03b9 \u03b7 \u03ba\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 \u03c4\u03c9\u03bd \u03c0\u03b1\u03bb\u03bc\u03ce\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 0 \u03b3\u03b9\u03b1 \u03cc\u03bb\u03b7 \u03c4\u03b7 \u03b4\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1 \u03c4\u03b7\u03c2 \u03c0\u03b5\u03c1\u03b9\u03cc\u03b4\u03bf\u03c5 \u03c4\u03bf\u03c5\u03c2. \u03a4\u03cc\u03c4\u03b5 \u03bb\u03ad\u03bc\u03b5 \u03bf\u03c4\u03b9 \u03c4\u03bf Duty Cycle \u03b5\u03af\u03bd\u03b1\u03b9 0%. \u03a3\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7\u03bd \u03c0\u03b5\u03c1\u03af\u03c0\u03c4\u03c9\u03c3\u03b7 \u03b7 \u03b9\u03c3\u03c7\u03cd\u03c2 \u03c0\u03bf\u03c5 \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 \u03bf \u03c0\u03b1\u03bb\u03bc\u03cc\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b7\u03b4\u03b5\u03bd\u03b9\u03ba\u03ae.<br>\u03a3\u03c4\u03b7 \u03b4\u03b5\u03cd\u03c4\u03b5\u03c1\u03b7 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae \u03ad\u03bd\u03b1 \u03bc\u03b9\u03ba\u03c1\u03cc \u03c4\u03bc\u03ae\u03bc\u03b1 \u03c4\u03b7\u03c2 \u03c0\u03b5\u03c1\u03b9\u03cc\u03b4\u03bf\u03c5, \u03c4\u03bf 25% \u03b5\u03af\u03bd\u03b1\u03b9 \u039f\u039d. \u03a3\u03c4\u03b7\u03bd \u03c0\u03b5\u03c1\u03af\u03c0\u03c4\u03c9\u03c3\u03b7 \u03b1\u03c5\u03c4\u03ae \u03b7 \u03b9\u03c3\u03c7\u03cd\u03c2 \u03c0\u03bf\u03c5 \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 \u03bf \u03c0\u03b1\u03bb\u03bc\u03cc\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 25% \u03c4\u03b7\u03c2 \u03b4\u03c5\u03bd\u03b1\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u03c4\u03bf\u03c5.<br>\u03a4\u03ad\u03bb\u03bf\u03c2 \u03c3\u03c4\u03b7\u03bd \u03c4\u03b5\u03bb\u03b5\u03c5\u03c4\u03b1\u03af\u03b1 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae \u03bf \u03c0\u03b1\u03bb\u03bc\u03cc\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u039f\u039d \u03ba\u03b1\u03b8 \u03cc\u03bb\u03b7 \u03c4\u03b7 \u03b4\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1 \u03c4\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03b7 \u03b9\u03c3\u03c7\u03cd\u03c2 \u03c0\u03bf\u03c5 \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 \u03b5\u03af\u03bd\u03b1\u03b9 \u03c4\u03bf 100% \u03c4\u03b7\u03c2 \u03b4\u03c5\u03bd\u03b1\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u03c4\u03bf\u03c5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u03a4\u03bf Arduino UNO \u03bc\u03b5 \u03c0\u03bf\u03bb\u03cd \u03b1\u03c0\u03bb\u03cc \u03c4\u03c1\u03cc\u03c0\u03bf \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 PWM \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 \u03c3\u03c4\u03b1 pin 3, 9, 10, 11 \u03bc\u03b5 \u03c3\u03c5\u03c7\u03bd\u03cc\u03c4\u03b7\u03c4\u03b1 490 Hz \u03b5\u03bd\u03ce \u03c3\u03c4\u03b1 pins 5 \u03ba\u03b1\u03b9 6 \u03bc\u03b5 \u03c3\u03c5\u03c7\u03bd\u03cc\u03c4\u03b7\u03c4\u03b1 980 Hz. \u03a3\u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae \u03b1\u03c5\u03c4\u03ae \u03b4\u03b5\u03bd \u03bc\u03b1\u03c2 \u03b5\u03bd\u03b4\u03b9\u03b1\u03c6\u03ad\u03c1\u03b5\u03b9 \u03b7 \u03c3\u03c5\u03c7\u03bd\u03cc\u03c4\u03b7\u03c4\u03b1 \u03c4\u03bf\u03c5 \u03c0\u03b1\u03bb\u03bc\u03bf\u03cd, \u03bc\u03b1\u03c2 \u03b5\u03bd\u03b4\u03b9\u03b1\u03c6\u03ad\u03c1\u03b5\u03b9 \u03bc\u03cc\u03bd\u03bf \u03c4\u03bf Duty Cycle.<br>\u039c\u03b5 \u03c4\u03b7\u03bd \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae analogWrite(pin, value) , \u03c0\u03bf\u03c5 \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03b9 \u03ba\u03b1\u03bc\u03af\u03b1 \u03c3\u03c7\u03ad\u03c3\u03b7 \u03bc\u03b5 \u03b1\u03bd\u03b1\u03bb\u03bf\u03b3\u03b9\u03ba\u03ae \u03ad\u03be\u03bf\u03b4\u03bf, \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af\u03c4\u03b1\u03b9 PWM \u03c0\u03b1\u03bb\u03bc\u03cc\u03c2 \u03c3\u03c4\u03bf pin \u03c0\u03bf\u03c5 \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 \u03bf\u03c1\u03af\u03c3\u03b5\u03b9. \u0397 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae value \u03c0\u03b1\u03af\u03c1\u03bd\u03b5\u03b9 \u03c4\u03b9\u03bc\u03ad\u03c2 \u03b1\u03c0\u03cc 0 \u03ad\u03c9\u03c2 255. \u0393\u03b9\u03b1 \u03c4\u03b7\u03bd \u03c4\u03b9\u03bc\u03ae 0 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03c0\u03b1\u03bb\u03bc\u03cc \u03bc\u03b5 Duty Cycle 0% \u03ba\u03b1\u03b9 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03c4\u03b9\u03bc\u03ae 255 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03c0\u03b1\u03bb\u03bc\u03cc \u03bc\u03b5 Duty Cycle 100%. \u0388\u03c4\u03c3\u03b9 \u03b7 \u03c4\u03b9\u03bc\u03ae \u03c0\u03bf\u03c5 \u03b8\u03b1 \u03ad\u03c7\u03b5\u03b9 \u03b7 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae \u03ba\u03b1\u03b8\u03bf\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03c3\u03c7\u03ad\u03c3\u03b7 value = Duty Cycle * 255.<br>\u0393\u03b9\u03b1 \u03c0\u03b1\u03c1\u03ac\u03b4\u03b5\u03b9\u03b3\u03bc\u03b1 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c6\u03c4\u03b9\u03ac\u03be\u03bf\u03c5\u03bc\u03b5 \u03c0\u03b1\u03bb\u03bc\u03cc \u03bc\u03b5 Duty Cycle 20% \u03b7 \u03c4\u03b9\u03bc\u03ae \u03c4\u03b7\u03c2 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 value = 0,2 * 255 = 51.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"414\" height=\"452\" src=\"https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_6.jpg\" alt=\"\" class=\"wp-image-351\" style=\"width:255px;height:auto\" srcset=\"https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_6.jpg 414w, https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_6-275x300.jpg 275w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\" \/><figcaption class=\"wp-element-caption\">\u0394\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 PWM<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u039a\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u039f \u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1 \u03c0\u03bf\u03c5 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03bf\u03cd\u03bc\u03b5 \u03b5\u03b4\u03ce \u03b5\u03af\u03bd\u03b1\u03b9 \u03bf&nbsp; 7A\/160W. \u039c\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03bf\u03b4\u03b7\u03b3\u03ae\u03c3\u03b5\u03b9 \u03b4\u03cd\u03bf \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b5\u03c2 \u03bc\u03b5 \u03c4\u03ac\u03c3\u03b7 \u03b1\u03c0\u03cc 7 \u03ad\u03c9\u03c2 24V. \u03a3\u03c4\u03b7\u03bd \u03c0\u03b1\u03c1\u03b1\u03ba\u03ac\u03c4\u03c9 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1&nbsp; \u03c6\u03b1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03c4\u03b1 \u03c3\u03b7\u03bc\u03b5\u03af\u03b1 \u03b4\u03b9\u03b1\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03c4\u03bf\u03c5 \u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1&nbsp; \u03ba\u03b1\u03b9 \u03c3\u03c4\u03bf\u03bd \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 \u03c0\u03bf\u03c5 \u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03b5\u03af&nbsp; \u03c6\u03b1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03bf\u03b9 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b5\u03c2 \u03c0\u03bf\u03c5 \u03ad\u03c7\u03bf\u03c5\u03bd \u03b1\u03c5\u03c4\u03ac \u03c4\u03b1 \u03c3\u03b7\u03bc\u03b5\u03af\u03b1 \u03b4\u03b9\u03b1\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"652\" height=\"502\" src=\"https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_4.jpg\" alt=\"\" class=\"wp-image-354\" style=\"width:325px;height:auto\" srcset=\"https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_4.jpg 652w, https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_4-300x231.jpg 300w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><figcaption class=\"wp-element-caption\">\u039a\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1, \u03c3\u03b7\u03bc\u03b5\u03af\u03b1 \u03b4\u03b9\u03b1\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"418\" src=\"https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_5.jpg\" alt=\"\" class=\"wp-image-353\" style=\"width:448px;height:auto\" srcset=\"https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_5.jpg 844w, https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_5-300x149.jpg 300w, https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/DC_motor_5-768x380.jpg 768w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><figcaption class=\"wp-element-caption\">\u039b\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b5\u03c2 \u03c4\u03c9\u03bd \u03c3\u03b7\u03bc\u03b5\u03af\u03c9\u03bd \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0395\u03bc\u03b5\u03af\u03c2 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03bf\u03cd\u03bc\u03b5 \u03c4\u03b1 \u03c3\u03b7\u03bc\u03b5\u03af\u03b1 \u03bc\u03b5 Label 1,2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03bc\u03af\u03b1 \u03bc\u03c0\u03b1\u03c4\u03b1\u03c1\u03af\u03b1 12V.<br>\u03a4\u03b1 \u03c3\u03b7\u03bc\u03b5\u03af\u03b1 3 \u03ba\u03b1\u03b9 4 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7\u03bd \u03c4\u03c1\u03bf\u03c6\u03bf\u03b4\u03bf\u03c3\u03af\u03b1 \u03c4\u03bf\u03c5 \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1 (\u03ac\u03c3\u03c0\u03c1\u03bf \u03ba\u03b1\u03b9 \u03ba\u03cc\u03ba\u03ba\u03b9\u03bd\u03bf \u03ba\u03b1\u03bb\u03ce\u03b4\u03b9\u03bf)<br>\u03a4\u03bf \u03c3\u03b7\u03bc\u03b5\u03af\u03bf 7 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf\u03bd \u03c0\u03b1\u03bb\u03bc\u03cc PWM \u03b1\u03c0\u03cc \u03c4\u03bf pin \u03c4\u03bf\u03c5 Arduino UNO<br>\u03a4\u03b1 \u03c3\u03b7\u03bc\u03b5\u03af\u03b1 8 \u03ba\u03b1\u03b9 9 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7\u03bd \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03c4\u03b7\u03c2 \u03c6\u03bf\u03c1\u03ac\u03c2 \u03c4\u03b7\u03c2 \u03ba\u03af\u03bd\u03b7\u03c3\u03b7\u03c2 \u0399\u039d1 \u03ba\u03b1\u03b9 \u0399\u039d2 \u03cc\u03c0\u03c9\u03c2 \u03c6\u03b1\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03c3\u03c4\u03b7\u03bd \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1 \u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03b9 \u03bc\u03bf\u03c5.<br>\u039a\u03b1\u03b9 \u03c4\u03b1 \u03c3\u03b7\u03bc\u03b5\u03af\u03b1 +5V \u03ba\u03b1\u03b9 GND \u03c0\u03bf\u03c5 \u03b2\u03c1\u03af\u03c3\u03ba\u03bf\u03bd\u03c4\u03b1\u03b9 \u03c0\u03c1\u03b9\u03bd \u03c4\u03bf 7 \u03ba\u03b1\u03b9 \u03bc\u03b5\u03c4\u03ac \u03c4\u03bf 9 \u03cc\u03c0\u03c9\u03c2 \u03c6\u03b1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03c3\u03c4\u03b7\u03bd \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1 \u03c4\u03bf\u03c5 \u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7\u03bd \u03c4\u03c1\u03bf\u03c6\u03bf\u03b4\u03bf\u03c3\u03af\u03b1 \u03c3\u03c4\u03bf \u03c8\u03b7\u03c6\u03b9\u03b1\u03ba\u03cc \u03ba\u03cd\u03ba\u03bb\u03c9\u03bc\u03b1 \u03c4\u03bf\u03c5 \u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"482\" height=\"636\" src=\"https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/note_2.jpg\" alt=\"\" class=\"wp-image-328\" style=\"width:318px;height:auto\" srcset=\"https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/note_2.jpg 482w, https:\/\/avlos.gr\/wpress\/wp-content\/uploads\/2025\/09\/note_2-227x300.jpg 227w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><figcaption class=\"wp-element-caption\">\u03a3\u03c5\u03bd\u03b4\u03b5\u03c3\u03bc\u03bf\u03bb\u03bf\u03b3\u03af\u03b1 \u03c0\u03bb\u03b1\u03ba\u03ad\u03c4\u03b1\u03c2<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u039f \u03c0\u03af\u03bd\u03b1\u03ba\u03b1\u03c2 \u03c0\u03bf\u03c5 \u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03b5\u03af (Control Logic Table) \u03b3\u03b9\u03b1 \u03c4\u03bf\u03bd \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1 \u03c0\u03bf\u03c5 \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9, \u03bc\u03b1\u03c2 \u03b4\u03b5\u03af\u03c7\u03bd\u03b5\u03b9 \u03c4\u03b9\u03c2 \u03ba\u03b9\u03bd\u03ae\u03c3\u03b5\u03b9\u03c2 \u03c0\u03bf\u03c5 \u03b8\u03b1 \u03b5\u03ba\u03c4\u03b5\u03bb\u03b5\u03af \u03bf \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1\u03c2 \u03b1\u03bd\u03ac\u03bb\u03bf\u03b3\u03b1 \u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c4\u03b9\u03bc\u03ad\u03c2 \u03c0\u03bf\u03c5 \u03b8\u03b1 \u03ad\u03c7\u03bf\u03c5\u03bd \u03bf\u03b9 \u03b5\u03af\u03c3\u03bf\u03b4\u03bf\u03b9 \u0399\u039d1 \u03ba\u03b1\u03b9 \u0399\u039d2. \u03a4\u03b7 \u03c7\u03c1\u03ae\u03c3\u03b7 \u03c4\u03bf\u03c5\u03c2 \u03c4\u03b7 \u03b2\u03bb\u03ad\u03c0\u03b5\u03c4\u03b5 \u03c3\u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03c3\u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 goForword() \u03ba\u03b1\u03b9 goBackword().<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u03a0\u03c1\u03bf\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03b9\u03c3\u03bc\u03cc\u03c2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0395\u03c1\u03c7\u03cc\u03bc\u03b1\u03c3\u03c4\u03b5 \u03c4\u03ce\u03c1\u03b1 \u03c3\u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03c0\u03bf\u03c5 \u03b8\u03b1 \u03ba\u03b9\u03bd\u03ae\u03c3\u03b5\u03b9 \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae \u03bc\u03b1\u03c2.<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>\/\/ Author Manolis Aristovoulidis\n\/\/ \u03a4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03b1\u03c5\u03c4\u03cc \u03ba\u03b9\u03bd\u03b5\u03af \u03ad\u03bd\u03b1 \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1 12V DC \u03bc\u03b5 \u03c4\u03b7 \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b5\u03bd\u03cc\u03c2 \u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1\n\/\/ \u03c7\u03c1\u03b7\u03c3\u03b7\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af \u03ad\u03bd\u03b1 Infrared \u03c4\u03b7\u03bb\u03b5\u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03af\u03bd\u03b5\u03b9 \u03bf\u03b4\u03b7\u03b3\u03af\u03b5\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03ba\u03af\u03bd\u03b7\u03c3\u03b7\n\/\/ \u03bc\u03b5\u03c4\u03c1\u03ac \u03ba\u03b1\u03b9 \"\u03c4\u03c5\u03c0\u03ce\u03bd\u03b5\u03b9\" \u03c4\u03b7\u03bd \u03c4\u03b1\u03c7\u03cd\u03c4\u03b7\u03c4\u03b1 \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 \u03c4\u03b7\u03c2 \u03ba\u03af\u03bd\u03b7\u03c3\u03b7\u03c2.\n\n\n#include &lt;IRremote.h&gt;\n\nconst int RECV_PIN = 12;\nIRrecv irrecv(RECV_PIN);\ndecode_results results;\n\n\/\/ Motor A connections\nconst int enA = 6;\nconst int in1 = 5;\nconst int in2 = 4;\n\n\/\/motor A encoder\nconst byte encoder_pinA = 2;    \/\/A pin -&gt; the interrupt pin 2\nconst byte encoder_pinB = 10;    \/\/B pin -&gt; the digital pin 10\n\nint pulses;                   \/\/the number of the pulses\nboolean Direction;              \/\/the rotation direction\n\n\/\/ Set the speed (0 = off and 255 = max speed)\nint motorSpeed = 0;\n\n\nvoid setup() {\n     \/\/ Motor control pins are outputs\n\n      Serial.begin(57600);          \/\/Initialize the serial port\n      EncoderInit();                \/\/Initialize the module\n      \n      pinMode(enA, OUTPUT);\n      pinMode(in1, OUTPUT);\n      pinMode(in2, OUTPUT);\n      irrecv.enableIRIn();\n}\n\nvoid loop() {\n    if (irrecv.decode(&amp;results)){\n        \/\/Serial.println(results.value, HEX);\n        irrecv.resume();\n        \n        switch (results.value) {\n          case 0xFF18E7:  \/\/key UP\n              if(motorSpeed &lt;= 200){\n                motorSpeed +=50;                  \n              }\n              if(motorSpeed &gt;=0){\n                \/\/ move forword\n                goForword();\n              }else{\n                \/\/move backword\n                goBackword();\n              }\n          analogWrite(enA, abs(motorSpeed)); \n          break;\n          \n          case 0xFF4AB5:  \/\/key DOWN\n              if(motorSpeed &gt; -250){\n                motorSpeed -=50;                   \n              }\n              if(motorSpeed &gt;=0){\n                \/\/ move forword\n                goForword();\n              }else{\n                \/\/move backword\n                goBackword();\n              }\n          analogWrite(enA, abs(motorSpeed)); \n          break;\n          case 0xFF38C7:  \/\/key OK\n              \/\/stop moving\n              stopMove();\n              \n          break;\n          default:\n          \/\/ statements\n          break;\n       }\n  }\n\n    Serial.print(\"Direction:\");\n      if(Direction){\n        Serial.print(\"Forword   \");\n      }else{\n        Serial.print(\"Backword  \");\n      }\n    Serial.print(\"Pulses:\");\n    Serial.println(pulses);\n    pulses = 0;\n    delay(100);\n}\n\nvoid EncoderInit()\n{\n  Direction = true;         \/\/default -&gt; Forward\n  pinMode(encoder_pinB,INPUT);\n  attachInterrupt(digitalPinToInterrupt(encoder_pinA), wheelSpeed, RISING );\n}\n\nvoid wheelSpeed()\n{\n  int val = digitalRead(encoder_pinB);\n  if(val == LOW ){\n      Direction = false; \/\/Reverse\n      pulses--;\n    }else{\n      Direction = true;  \/\/Forward\n      pulses++;\n    }\n  }\n\nvoid goForword(){\n    digitalWrite(in1, HIGH);    \/\/1,0 -&gt;Forward \n    digitalWrite(in2, LOW);\n}\n\nvoid goBackword(){\n    digitalWrite(in1, LOW);    \/\/0,1 -&gt;Backword \n    digitalWrite(in2, HIGH);\n}\n\nvoid stopMove(){\n    digitalWrite(in1, LOW);    \/\/1,0 -&gt;Forward \n    digitalWrite(in2, LOW);\n    motorSpeed = 0;\n    analogWrite(enA, abs(motorSpeed)); \n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u03a3\u03c4\u03bf \u03b2\u03c1\u03cc\u03c7\u03bf Loop() \u03c4\u03bf\u03c5 \u03c0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03bf\u03c2 \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03ad\u03bd\u03b1 switch &#8211; case \u03c4\u03bf \u03bf\u03c0\u03bf\u03af\u03bf \u03bf\u03b4\u03b7\u03b3\u03b5\u03af \u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03c3\u03cd\u03bc\u03c6\u03c9\u03bd\u03b1 \u03bc\u03b5 \u03c4\u03b7\u03bd \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae \u03c0\u03bf\u03c5 \u03b4\u03ce\u03c3\u03b1\u03bc\u03b5 \u03b1\u03c0\u03cc \u03c4\u03bf \u03c4\u03b7\u03bb\u03b5\u03ba\u03bf\u03bd\u03c4\u03c1\u03bf\u03bb. \u0391\u03c0\u03cc \u03c4\u03bf \u03c4\u03b7\u03bb\u03b5\u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb \u03b4\u03af\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03c1\u03b5\u03b9\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2, \u03ac\u03bd\u03c9 \u03b2\u03ad\u03bb\u03bf\u03c2 \u03b3\u03b9\u03b1 \u03b1\u03cd\u03be\u03b7\u03c3\u03b7 \u03c4\u03b1\u03c7\u03cd\u03c4\u03b7\u03c4\u03b1\u03c2 \u03c0\u03c1\u03bf \u03c4\u03b1 \u03b5\u03bc\u03c0\u03c1\u03cc\u03c2, \u03ba\u03ac\u03c4\u03c9 \u03b2\u03ad\u03bb\u03bf\u03c2 \u03b3\u03b9\u03b1 \u03bc\u03b5\u03af\u03c9\u03c3\u03b7 \u03c4\u03b1\u03c7\u03cd\u03c4\u03b7\u03c4\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b5\u03bd \u03c4\u03ad\u03bb\u03b5\u03b9 \u03b1\u03bd\u03b1\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae \u03c4\u03b7\u03c2 \u03ba\u03af\u03bd\u03b7\u03c3\u03b7\u03c2 \u03ba\u03b1\u03b9 \u03c4\u03ad\u03bb\u03bf\u03c2 &#8220;\u039f\u039a&#8221; \u03b3\u03b9\u03b1 \u03bc\u03b7\u03b4\u03b5\u03bd\u03b9\u03c3\u03bc\u03cc \u03c4\u03b7\u03c2 \u03c4\u03b1\u03c7\u03cd\u03c4\u03b7\u03c4\u03b1\u03c2 \u03c4\u03bf\u03c5 \u03bc\u03bf\u03c4\u03ad\u03c1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0397 \u03ba\u03af\u03bd\u03b7\u03c3\u03b7 \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b1 \u03b5\u03bc\u03c0\u03c1\u03cc\u03c2 \u03b3\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03c4\u03b7 \u03c3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 goForword()<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0397 \u03ba\u03af\u03bd\u03b7\u03c3\u03b7 \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b1 \u03c0\u03af\u03c3\u03c9 \u03b3\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03c4\u03b7 \u03c3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 goBackword()<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u03a4\u03bf \u03c3\u03c4\u03b1\u03bc\u03ac\u03c4\u03b7\u03bc\u03b1 \u03c4\u03bf\u03c5 \u03bc\u03bf\u03c4\u03ad\u03c1 \u03b3\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03c4\u03b7 \u03c3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 stoMove()<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u03a4\u03ad\u03bb\u03bf\u03c2 \u03b7 \u03c4\u03b1\u03c7\u03cd\u03c4\u03b7\u03c4\u03b1 \u03bf\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae&nbsp;analogWrite(enA, abs(motorSpeed)) \u03c0\u03bf\u03c5 \u03c0\u03b1\u03c1\u03ac\u03b3\u03b5\u03b9 \u03c4\u03bf\u03bd PWM \u03c0\u03b1\u03bb\u03bc\u03cc \u03c3\u03c4\u03bf pin enA \u03bc\u03b5 Duty Cycle \u03c3\u03cd\u03bc\u03c6\u03c9\u03bd\u03b1 \u03bc\u03b5 \u03c4\u03b7\u03bd \u03c4\u03b9\u03bc\u03ae \u03c4\u03b7\u03c2 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2 motorSpeed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u03a4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03bf \u03ba\u03b1\u03c4\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5 \u03b1\u03c0\u03cc\u00a0<a href=\"https:\/\/avlos.gr\/wpress\/download\/\u03ad\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2-\u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1-dc\" target=\"_blank\" rel=\"noreferrer noopener\">\u03b5\u03b4\u03ce<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u03a3\u03c4\u03bf \u03b2\u03af\u03bd\u03c4\u03b5\u03bf \u03c0\u03bf\u03c5 \u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03b5\u03af \u03b2\u03bb\u03ad\u03c0\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae \u03c3\u03b5 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1.&nbsp;<a href=\"https:\/\/youtu.be\/4HFExAJxDxY\">https:\/\/youtu.be\/4HFExAJxDxY<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1 DC \u03a3\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae \u03b8\u03b1 \u03b4\u03ce\u03c3\u03bf\u03c5\u03bc\u03b5 \u03ba\u03af\u03bd\u03b7\u03c3\u03b7 \u03c3\u03c4\u03bf\u03bd \u03ba\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1 \u03bc\u03b5 \u03c4\u03b7 \u03c7\u03c1\u03ae\u03c3\u03b7 \u03b5\u03bd\u03cc\u03c2 \u03ba\u03bf\u03bd\u03c4\u03c1\u03cc\u03bb\u03b5\u03c1 \u03ba\u03b1\u03b9 \u03b8\u03b1 \u03bc\u03b5\u03c4\u03c1\u03ac\u03bc\u03b5 \u03c4\u03b7\u03bd \u03c4\u03b1\u03c7\u03cd\u03c4\u03b7\u03c4\u03ac \u03c4\u03bf\u03c5, \u03cc\u03c0\u03c9\u03c2 \u03ba\u03ac\u03bd\u03b1\u03bc\u03b5 \u03c3\u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae \u201c\u039a\u03b9\u03bd\u03b7\u03c4\u03ae\u03c1\u03b1\u03c2 DC \u2013 Encoder\u201d. \u0393\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf \u03ba\u03ac\u03bd\u03bf\u03c5\u03bc\u03b5 \u03b1\u03c5\u03c4\u03cc \u03b8\u03b1 \u03c0\u03c1\u03bf\u03c3\u03b8\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5 \u03ad\u03bd\u03b1 \u03b1\u03ba\u03cc\u03bc\u03b7&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,12],"tags":[18],"class_list":["post-350","post","type-post","status-publish","format-standard","hentry","category-10","category-12","tag-18"],"_links":{"self":[{"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/posts\/350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/comments?post=350"}],"version-history":[{"count":4,"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/posts\/350\/revisions"}],"predecessor-version":[{"id":360,"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/posts\/350\/revisions\/360"}],"wp:attachment":[{"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/media?parent=350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/categories?post=350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avlos.gr\/wpress\/wp-json\/wp\/v2\/tags?post=350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}