{"id":2300,"date":"2023-07-26T06:29:41","date_gmt":"2023-07-26T06:29:41","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=2300"},"modified":"2023-11-03T10:57:58","modified_gmt":"2023-11-03T10:57:58","slug":"how-to-use-a-ryg-led-with-aries-v2-0-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/how-to-use-a-ryg-led-with-aries-v2-0-board\/","title":{"rendered":"How to use a 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 v3 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 V3 board<\/strong><\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>R<\/td><td>PWM-0<\/td><\/tr><tr><td>Y<\/td><td>PWM-1<\/td><\/tr><tr><td>G<\/td><td>PWM-2<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><em><strong>Connection pins of RYG LED Sensor Module &amp; ARIES v3.0 Board<\/strong><\/em><br><br>Now, for powering up the ARIES v3 board via the USB port of a Laptop\/Desktop\/PC and burning the code into the ARIES v3 board, we have to use a USB type C to USB type A cable. The cable should be connected to UART-0 port of the ARIES v3 board, and the Laptop\/Desktop\/PC should be preinstalled with Arduino IDE and VEGA ARIES boards of latest version.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram:<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"545\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/pwmryg-1024x545.png\" alt=\"\" class=\"wp-image-4361\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/pwmryg-1024x545.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/pwmryg-300x160.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/pwmryg-768x408.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/pwmryg.png 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Procedures:<\/h2>\n\n\n\n<p>Open Arduino IDE<\/p>\n\n\n\n<p>Go to<strong> Tools -&gt; Board -&gt; VEGA Processor ARIES Boards<\/strong> -&gt; Select ARIES v3<\/p>\n\n\n\n<p>Select <strong>Flash Mode -&gt; Enabled<\/strong><\/p>\n\n\n\n<p>Go to <strong>Tools -&gt; Programmer -&gt; Select VEGA FLASHER<\/strong><\/p>\n\n\n\n<p>Connect the ARIES v3 board to PC<\/p>\n\n\n\n<p>Go to <strong>Tools -&gt; Port<\/strong> -&gt; Select the appropriate port<\/p>\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.png\" alt=\"\" class=\"wp-image-4365\" style=\"width:467px;height:302px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3.png 962w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-300x196.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-768x503.png 768w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/figure>\n\n\n\n<p>Open <strong>File -&gt; Examples -&gt; Examples for ARIES v3 -&gt; PWM <\/strong>-&gt; Open <strong>RYG_LED_PWM<\/strong> example<\/p>\n\n\n\n<p><strong>Verify<\/strong>and <strong>Upload <\/strong>the code&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"747\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-4-1024x747.png\" alt=\"\" class=\"wp-image-4366\" style=\"width:579px;height:449px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-4-1024x747.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-4-300x219.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-4-768x560.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-4.png 1130w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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 v3.0 board using the Arduino IDE. Watch as the RYG LED comes to life and showing different color patterns you&#8217;ve programmed. The intensity of the light will be varying for each of the 3 LEDs available which you can observe.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-9-1024x576.png\" alt=\"\" class=\"wp-image-4369\" style=\"aspect-ratio:1.7777777777777777;width:434px;height:auto\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-9-1024x576.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-9-300x169.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-9-768x432.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-9-1536x864.png 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-9.png 1920w\" 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\/07\/ryg.mp4\"><\/video><\/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":4369,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,98],"tags":[75,95,76,7,77,31,24],"class_list":["post-2300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aries-with-arduinoide","category-training-2","tag-aries-v2-board","tag-aries-v3-board","tag-c-dac","tag-cdac","tag-thejas-32","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2300","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=2300"}],"version-history":[{"count":14,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2300\/revisions"}],"predecessor-version":[{"id":4458,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2300\/revisions\/4458"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/4369"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=2300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=2300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=2300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}