{"id":437,"date":"2021-05-24T08:40:23","date_gmt":"2021-05-24T08:40:23","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=437"},"modified":"2022-06-01T11:23:10","modified_gmt":"2022-06-01T11:23:10","slug":"demo-on-industrial-robots-aries-v2-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/demo-on-industrial-robots-aries-v2-board\/","title":{"rendered":"Demo on Industrial Robots: ARIES v2 Board"},"content":{"rendered":"\n<p>In this tutorial, we are going to understand, how to make a Demo Industrial Robot using EEPROM and ARIES v2 Board. In addition to that, we use a potentiometer for generating the values and a servo motor for the corresponding displacement. An\u00a0industrial robot\u00a0is a\u00a0robot\u00a0system used for\u00a0manufacturing. Industrial robots are automated, programmable, and capable of movement on three or more axes. As we already said, this tutorial will only give you the basics to train and program a robot using EEPROM and ARIES v2 Board as the main components.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How To Build ??? Main Components.<\/h2>\n\n\n\n<p>Our main components are 24C256 EEPROM, a servo motor, a potentiometer and ARIES v2 board.<\/p>\n\n\n\n<p>EEPROM is used to store the pot values so that they can be read multiple times as required, for moving the servo motor accordingly, because our only aim is to repeat the same chain of actions done by the servo motor.<\/p>\n\n\n\n<p>The potentiometer is used, to set the limit for the movement of the servo motor, So that we could easily manage to move our robot according to our will.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram<\/h2>\n\n\n\n<p>The potentiometer and servo motor are interfaced to GPIO pins of ARIES board and EEPROM communicates with I2C protocol. Connect <strong>VCC <\/strong>and <strong>GND <\/strong>of EEPROM board to <strong>+3.3V<\/strong> and<strong> GND<\/strong> respectively of ARIES v2 board. Then connect <strong>SCL<\/strong> and <strong>SDA<\/strong> of EEPROM board to <strong>SDL-1<\/strong> <strong> <\/strong>to <strong>SDA-1<\/strong> of ARIES v2 board, <strong>Pulse<\/strong> pin of servo motor to <strong>PWM[0]<\/strong> of ARIES board , middle pin of potentiometer to <strong>A0<\/strong> of ARIES v2 board and terminal pins of potentiometer to +3.3V and GND of ARIES v2 board.<\/p>\n\n\n\n<p>Now, for powering up the ARIES v2 board via USB port of a Laptop\/Desktop\/PC and burning the code into the ARIES v2 board, we have to use a micro USB type B to USB type A cable. The cable should be connected to <strong>UART0<\/strong> port of the ARIES v2 board, and the Laptop\/Desktop\/PC should be preinstalled with VEGA SDK and Toolchain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/05\/pinmap_Ar_indus_rbt.jpg\" alt=\"\" class=\"wp-image-1192\" width=\"841\" height=\"530\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/05\/pinmap_Ar_indus_rbt.jpg 874w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/05\/pinmap_Ar_indus_rbt-300x189.jpg 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/05\/pinmap_Ar_indus_rbt-768x484.jpg 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>Industrial Robots<\/strong><\/td><td><strong>ARIES v2 Board<\/strong><\/td><\/tr><tr><td>VCC  <\/td><td>+3V3<\/td><\/tr><tr><td>GND <\/td><td>GND<\/td><\/tr><tr><td>SCL (<strong>EEPROM<\/strong>)<\/td><td>SDL-1<\/td><\/tr><tr><td>SDA (<strong>EEPROM<\/strong>)<\/td><td>SDA-1<\/td><\/tr><tr><td>Pulse (<strong>Servo<\/strong>)<\/td><td>PWM[0]<\/td><\/tr><tr><td>Middle pin of <strong>POT<\/strong><\/td><td>A0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Procedure<\/strong><\/h2>\n\n\n\n<p>After setting up the toolchain and SDK path environments are ready, build the example program for Industrial Robots by:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd vega-sdk\/examples\/i2c\/industrial_robot_demo<\/code><\/pre>\n\n\n\n<p>clean command to clean the executable :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>make clean<\/code><\/pre>\n\n\n\n<p>then use make command to build it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>make<\/code><\/pre>\n\n\n\n<p>Now, we can transfer the built program to the board, before transfer please ensure that you have connected the board UART connector to the PC.<\/p>\n\n\n\n<p>Open a new terminal and execute the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo minicom aries<\/code><\/pre>\n\n\n\n<p>Now you can see the minicom terminal opened and the board UART terminal is ready.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"689\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-15.png\" alt=\"\" class=\"wp-image-651\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-15.png 820w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-15-300x252.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-15-768x645.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p>Use CTRL+A S to enter file sending menu and select xmodem by pressing Enter.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"143\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-from-2021-04-30-16-14-03.png\" alt=\"\" class=\"wp-image-311\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-from-2021-04-30-16-14-03.png 615w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-from-2021-04-30-16-14-03-300x70.png 300w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/figure>\n\n\n\n<p>In the next window, with the <strong>space bar<\/strong> select the <strong>industrial_robot_demo.bin<\/strong> file to be transferred. By pressing <strong>Enter<\/strong>, the transfer process starts.<\/p>\n\n\n\n<p>Wait until the process is completed. The screen should display how much data has been transferred.<\/p>\n\n\n\n<p>After completing transfer the Program will start to execute.<\/p>\n\n\n\n<p>The output is displayed in minicom UART terminal:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"686\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-4.png\" alt=\"\" class=\"wp-image-455\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-4.png 951w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-4-300x216.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-4-768x554.png 768w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><figcaption>This will show the pre recorded values in EEPROM<\/figcaption><\/figure>\n\n\n\n<p>Now, we can record the new values by turning the POT each time and press the SPACE bar. The Servo motor will rotate according to the new values entered.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"890\" height=\"689\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-2-2.png\" alt=\"\" class=\"wp-image-456\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-2-2.png 890w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-2-2-300x232.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-2-2-768x595.png 768w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><figcaption>After we complete recording 30 new sample values, it will display new added values as an array of data.<\/figcaption><\/figure>\n\n\n\n<p>Next, press the SPACE bar to move the servo motor according to the saved data in EEPROM. We can see the actions are repeated by the motor while we press the key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"689\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-3-1.png\" alt=\"\" class=\"wp-image-457\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-3-1.png 853w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-3-1-300x242.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/industrial-robot-3-1-768x620.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/figure>\n\n\n\n<p>For additional informations:<\/p>\n\n\n\n<p><a href=\"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/doc0670.pdf\">https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/doc0670.pdf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to understand, how to make a Demo Industrial Robot using EEPROM and ARIES v2 Board. In addition to that, we use a potentiometer for generating the values and a servo motor for the corresponding displacement. An\u00a0industrial robot\u00a0is a\u00a0robot\u00a0system used for\u00a0manufacturing. Industrial robots are automated, programmable, and capable of movement [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,14,1],"tags":[69,75,7,58,66,59,70,49,26,31,24],"class_list":["post-437","post","type-post","status-publish","format-standard","hentry","category-getting-started","category-tutorials","category-uncategorized","tag-analog-out","tag-aries-v2-board","tag-cdac","tag-eeprom","tag-iic","tag-industrial-robots","tag-pwm","tag-servo-motor","tag-thejas-64","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/437","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=437"}],"version-history":[{"count":18,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/437\/revisions"}],"predecessor-version":[{"id":1252,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/437\/revisions\/1252"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}