{"id":2309,"date":"2023-07-26T07:01:29","date_gmt":"2023-07-26T07:01:29","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=2309"},"modified":"2023-09-18T09:48:20","modified_gmt":"2023-09-18T09:48:20","slug":"interfacing-ryg-led-with-aries-v2-0","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/interfacing-ryg-led-with-aries-v2-0\/","title":{"rendered":"Interfacing RYG LED with VEGA ARIES boards"},"content":{"rendered":"\n<p>The term &#8220;RYG LED&#8221; typically refers to a tri-color LED that can emit three different colors: Red (R), Yellow (Y), and Green (G). These types of LEDs are commonly used in traffic signals, status indicators, visual feedback displays and various electronic devices where multiple colors need to be displayed. Some RYG LEDs can be used with PWM to control the brightness of each color independently, allowing for color mixing effects. By learning how to control an RYG LED with an ARIES board, you can add colorful visual cues to your electronics projects and create captivating light effects.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">COMPONENTS NEEDED:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ARIES v2 Microcontroller<\/li>\n\n\n\n<li>RYG LED<\/li>\n\n\n\n<li>Jumper wires<\/li>\n<\/ul>\n\n\n\n<p><strong>Not<\/strong><strong>e:<\/strong>&nbsp;All of the following boards can be used for this project<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv2.php\">ARIES v2.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\">ARIES v3.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesmicro.php\">ARIES Micro<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesdot.php\">ARIES DOT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesiot.php\">ARIES IoT<\/a><\/li>\n<\/ul>\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>RYG LED<\/strong><\/td><td><strong>ARIES V2 board<\/strong><\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>R<\/td><td>GPIO-0<\/td><\/tr><tr><td>Y<\/td><td>GPIO-1<\/td><\/tr><tr><td>G<\/td><td>GPIO-2<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><em><strong>Connection pins of RYG LED Sensor Module &amp; ARIES v2.0 Board<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<p>Now, for powering up the ARIES v2 board via the 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 UART-0 port of the ARIES v2 board, and the Laptop\/Desktop\/PC should be preinstalled with Arduino IDE and VEGA ARIES boards of latest version.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram:<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1217\" height=\"585\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/rygfig.png\" alt=\"Connection Diagram for RYG LED\" class=\"wp-image-2310\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/rygfig.png 1217w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/rygfig-300x144.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/rygfig-1024x492.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/rygfig-768x369.png 768w\" sizes=\"auto, (max-width: 1217px) 100vw, 1217px\" \/><figcaption class=\"wp-element-caption\"><em><strong>Connection Diagram for RYG LED<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure:<\/h2>\n\n\n\n<p>Open Arduino IDE<\/p>\n\n\n\n<p>Go to Tools -&gt; Board -&gt; VEGA Processor ARIES Boards -&gt; Select ARIES v2<\/p>\n\n\n\n<p>Go to Tools -&gt; Programmer -&gt; Select VEGA XMODEM<\/p>\n\n\n\n<p>Connect the ARIES v2 board to PC<\/p>\n\n\n\n<p>Go to Tools -&gt; Port -&gt; Select the appropriate port<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu.png\" alt=\"ARIES board selection from Tool Menu\" class=\"wp-image-2289\" style=\"width:507px;height:328px\" width=\"507\" height=\"328\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu.png 976w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu-300x195.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu-768x498.png 768w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><figcaption class=\"wp-element-caption\"><em><strong>ARIES board selection from Tool Menu<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<p>Open File -&gt; Examples -&gt; Examples for ARIES v2 -&gt; GPIO -&gt; Open <strong>RYG_LED_GPIO<\/strong> example<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/ryggpioex.png\" alt=\"RYG LED example\" class=\"wp-image-2323\" style=\"width:382px;height:305px\" width=\"382\" height=\"305\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/ryggpioex.png 710w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/ryggpioex-300x239.png 300w\" sizes=\"auto, (max-width: 382px) 100vw, 382px\" \/><\/figure>\n\n\n\n<p>Compile and Upload the code&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p>Once you&#8217;ve completed the code, upload it to your ARIES v2.0 board using the Arduino IDE. Watch as the RYG LED comes to life and showing different color patterns you&#8217;ve programmed. The Red, Yellow and Green  LEDs will be blinking at 1 second interval respectively, which you can observe.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/ryggpioOp.png\" alt=\"RYG LED using GPIO output\" class=\"wp-image-2324\" style=\"width:461px;height:379px\" width=\"461\" height=\"379\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/ryggpioOp.png 602w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/ryggpioOp-300x247.png 300w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><figcaption class=\"wp-element-caption\"><strong><em>RYG LED using GPIO output<\/em><\/strong><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"368\" style=\"aspect-ratio: 640 \/ 368;\" width=\"640\" controls src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/ryggpio.mp4\"><\/video><figcaption class=\"wp-element-caption\"><strong><em>RYG LED using GPIO demo<\/em><\/strong><\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The term &#8220;RYG LED&#8221; typically refers to a tri-color LED that can emit three different colors: Red (R), Yellow (Y), and Green (G). These types of LEDs are commonly used in traffic signals, status indicators, visual feedback displays and various electronic devices where multiple colors need to be displayed. Some RYG LEDs can be used [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":2324,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[75,68,77,24],"class_list":["post-2309","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-aries-v2-board","tag-gpio","tag-thejas-32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2309","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=2309"}],"version-history":[{"count":4,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2309\/revisions"}],"predecessor-version":[{"id":3302,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2309\/revisions\/3302"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/2324"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=2309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=2309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=2309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}