{"id":3780,"date":"2023-10-18T18:09:57","date_gmt":"2023-10-18T18:09:57","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=3780"},"modified":"2023-11-03T08:22:03","modified_gmt":"2023-11-03T08:22:03","slug":"interfacing-servo-motors-with-vega-aries-boards","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/interfacing-servo-motors-with-vega-aries-boards\/","title":{"rendered":"Interfacing Servo Motors with VEGA ARIES Boards"},"content":{"rendered":"\n<p>This tutorial will give you an idea as to how you can connect and control servo motors with ARIES v3.0 board.&nbsp;<strong>Micro&nbsp;<em>Servo Motor SG90<\/em><\/strong>&nbsp;is used here. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Servo motors<\/h2>\n\n\n\n<p>A servo motor is a device that contains an encoder which converts the mechanical motion (turns of the shaft) into&nbsp;<strong>digital pulses<\/strong>&nbsp;interpreted by a&nbsp;<strong>motion controller<\/strong>. It also contains a driver; and in conjunction, they make up a circuit that governs the position, torque and speed.<\/p>\n\n\n\n<p>Their main specifications are torque and speed.<\/p>\n\n\n\n<p>Servo motors are considered to be fundamental in the design and&nbsp;<strong>manufacturing of robots<\/strong>. These are systems that require precise and controlled mechanical positioning. We can see them in fields such as&nbsp;<strong>industrial automation<\/strong>&nbsp;or the growing&nbsp;<strong>robotic surgery<\/strong>&nbsp;field.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"847\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/servo-1024x847-1.png\" alt=\"\" class=\"wp-image-3781\" style=\"width:255px;height:211px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/servo-1024x847-1.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/servo-1024x847-1-300x248.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/servo-1024x847-1-768x635.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">ARIES v3.0<\/h2>\n\n\n\n<p>The ARIES v3.0 is a fully indigenous and a \u201cMade in India\u201d product to get started with basic microprocessor programming and embedded systems. This board is built upon a RISC-V ISA compliant VEGA Processor with easy-to-use hardware and software. For more details about ARIES v3.0 boards please refer to the&nbsp;<a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\">ARIES development boards and Ecosystem<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"210\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/image-1.png\" alt=\"\" class=\"wp-image-3935\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/vegaprocessors.in\/blog\/author\/thomas\/\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows 10 or above\/Linux (64 bit)<\/li>\n\n\n\n<li>Arduino IDE<\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\" target=\"_blank\" rel=\"noreferrer noopener\">VEGA ARIES Board support package<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Components Required<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ARIES v3.0 Board<\/li>\n\n\n\n<li>USB type C to USB type A cable<\/li>\n\n\n\n<li>Servo Motor<\/li>\n\n\n\n<li>Jumper Wires<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"554\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-1024x554.png\" alt=\"\" class=\"wp-image-3939\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-1024x554.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-300x162.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-768x416.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4.png 1205w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Connections:<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>Servo Motor<\/strong><\/td><td><strong>ARIES V3 board<\/strong><\/td><\/tr><tr><td>Brown (GND)<\/td><td>GND<\/td><\/tr><tr><td>Red (VCC)<\/td><td>3V3<\/td><\/tr><tr><td>Orange\/Yellow (Out)<\/td><td>PWM-0<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong><em>Connection pins of Servo Motor &amp; ARIES v3.0 Board<\/em><\/strong><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<p>Open and set up the Arduino IDE as described in&nbsp;<a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\" target=\"_blank\" rel=\"noreferrer noopener\">Getting Started with ARIES v3.0<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure you have selected&nbsp;<strong>ARIES v3<\/strong>&nbsp;Board from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Board<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA Processor: ARIES Boards<\/strong>&nbsp;-&gt;&nbsp;<strong>ARIES v3<\/strong><\/li>\n\n\n\n<li>Select&nbsp;<strong>Tools -&gt; Flash Mode -&gt; Enabled<\/strong><\/li>\n\n\n\n<li>Select Programmer as VEGA FLASHER from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Programmer<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA FLASHER<\/strong><\/li>\n\n\n\n<li>Also select appropriate port from\u00a0<strong>Tools<\/strong>\u00a0->\u00a0<strong>Port\u00a0-> COM* (ARIES Board)<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"630\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-12.png\" alt=\"\" class=\"wp-image-4418\" style=\"aspect-ratio:1.5269841269841269;width:588px;height:auto\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-12.png 962w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-12-300x196.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-12-768x503.png 768w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/figure>\n\n\n\n<p>Now, Open&nbsp;<strong>Files<\/strong>&nbsp;-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;<strong>-&gt;&nbsp;PWM-&gt;&nbsp;Servo_motor<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-173848-1024x473.png\" alt=\"\" class=\"wp-image-3783\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-173848-1024x473.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-173848-300x139.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-173848-768x355.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-173848.png 1460w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Finally Upload the code to ARIES v3.0 board<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p>Once the code is uploaded, you can see the servo motor rotating(0-180 angle)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-1-1024x576.jpg\" alt=\"\" class=\"wp-image-3940\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-1-1024x576.jpg 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-1-300x169.jpg 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-1-768x432.jpg 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-1-1536x864.jpg 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-1-2048x1152.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Demonstration<\/h2>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-1.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will give you an idea as to how you can connect and control servo motors with ARIES v3.0 board.&nbsp;Micro&nbsp;Servo Motor SG90&nbsp;is used here. Servo motors A servo motor is a device that contains an encoder which converts the mechanical motion (turns of the shaft) into&nbsp;digital pulses&nbsp;interpreted by a&nbsp;motion controller. It also contains a [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":3940,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,98],"tags":[95,76,7,70,77,31,24],"class_list":["post-3780","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aries-with-arduinoide","category-training-2","tag-aries-v3-board","tag-c-dac","tag-cdac","tag-pwm","tag-thejas-32","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=3780"}],"version-history":[{"count":14,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3780\/revisions"}],"predecessor-version":[{"id":4419,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3780\/revisions\/4419"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/3940"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=3780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=3780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=3780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}