{"id":2553,"date":"2023-09-07T11:51:57","date_gmt":"2023-09-07T11:51:57","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=2553"},"modified":"2023-11-07T05:49:13","modified_gmt":"2023-11-07T05:49:13","slug":"interfacing-chainable-rgb-led-with-aries-v3-0-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/interfacing-chainable-rgb-led-with-aries-v3-0-board\/","title":{"rendered":"Interfacing\u00a0Chainable RGB LED with VEGA ARIES Board"},"content":{"rendered":"\n<p>In this tutorial we will see how to connect Chainable RGB LED with <strong>ARIES v3.0<\/strong> Board. Here we are using <strong>Grove &#8211; Chainable RGB LED<\/strong>&nbsp;which is based on P9813 chip which is a full-color LED driver. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Grove &#8211; Chainable RGB LED<\/h2>\n\n\n\n<p>Grove &#8211; Chainable RGB LED&nbsp;module provides 3 constant-current drivers as well as modulated output of 256 shades of gray. It communicates with a MCU using 2-wire transmission (Data and Clock). This 2-wire transmission can be used to cascade additional&nbsp;Grove &#8211; Chainable RGB LED&nbsp;modules. The built-in clock regeneration enhances the transmission distance. This Grove module is suitable for any colorful LED based projects.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"253\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Grove-Chainable_RGB_LED_V2.0-1.jpg\" alt=\"\" class=\"wp-image-2568\" style=\"width:320px;height:116px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Grove-Chainable_RGB_LED_V2.0-1.jpg 700w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Grove-Chainable_RGB_LED_V2.0-1-300x108.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong><em>Grove Chainable RGB LED v2.0<\/em><\/strong><\/figcaption><\/figure>\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.html\" 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>Grove Chainable RGB LED v2.0<\/li>\n\n\n\n<li>ARIES v3.0 Board<\/li>\n\n\n\n<li>Jumper Wires<\/li>\n\n\n\n<li>USB type C to USB type A cable<\/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\">Libraries Required<\/h2>\n\n\n\n<p>Download the <strong><a href=\"https:\/\/gitlab.com\/riscv-vega\/vega-sensor-libraries\/display\/vega_chainableled\">VEGA_ChainableLED<\/a><\/strong> Library from <strong>Tools -&gt; Manage Libraries&#8230;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"432\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-1-1024x432.png\" alt=\"\" class=\"wp-image-2725\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-1-1024x432.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-1-300x127.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-1-768x324.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-1-1536x648.png 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-1-2048x864.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now let\u2019s connect the Grove &#8211; Chainable RGB LED module to the ARIES v3.0 board.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram:<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"414\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/ChainableLEDwithARIESv3-2.png\" alt=\"\" class=\"wp-image-2572\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/ChainableLEDwithARIESv3-2.png 847w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/ChainableLEDwithARIESv3-2-300x147.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/ChainableLEDwithARIESv3-2-768x375.png 768w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><\/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>Chianable RGB LED                      <\/strong><\/td><td><strong>ARIES v3.0 Board<\/strong><\/td><\/tr><tr><td>VCC<\/td><td>3.3V<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>CIN<\/td><td>GPIO-7<\/td><\/tr><tr><td>DIN<\/td><td>GPIO-8<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><em><strong>Connection pins of Grove &#8211; Chainable RGB LED Module &amp; ARIES v3.0 Board<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<p>Once we are done with the connections, let&#8217;s power 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.<\/p>\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 <a rel=\"noreferrer noopener\" href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv2.html\" target=\"_blank\">Getting Started with ARIES v3.0<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure you have selected <strong>ARIES v3<\/strong> Board from <strong>Tools<\/strong> -&gt; <strong>Board<\/strong> -&gt; <strong>VEGA Processor: ARIES Boards<\/strong> -&gt; <strong>ARIES v3<\/strong> <\/li>\n\n\n\n<li>Select Programmer as VEGA XMODEM from <strong>Tools<\/strong> -> <strong>Programmer<\/strong> -> <strong>VEGA XMODEM<\/strong><\/li>\n\n\n\n<li>Also select appropriate port from <strong>Tools<\/strong> -> <strong>Port<\/strong> -> <strong>COM* (ARIES Board)<\/strong><\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"441\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/chainableLEDTools.png\" alt=\"\" class=\"wp-image-4496\" style=\"width:779px;height:370px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/chainableLEDTools.png 803w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/chainableLEDTools-300x165.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/chainableLEDTools-768x422.png 768w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now, Open <strong>Files<\/strong> -&gt; <strong>Examples<\/strong> -&gt; Under <strong>Examples for ARIES v3<\/strong> -&gt; <strong>GPIO<\/strong> -&gt; <strong>ChainableRGB_LED<\/strong> -&gt; <strong>cycleThroughColors<\/strong><\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"810\" height=\"949\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/chainableLED_Demo.png\" alt=\"\" class=\"wp-image-4497\" style=\"aspect-ratio:0.9205128205128205;width:539px;height:auto\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/chainableLED_Demo.png 810w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/chainableLED_Demo-256x300.png 256w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/chainableLED_Demo-768x900.png 768w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Finally, let&#8217;s <strong>Upload<\/strong> the code in ARIES v3 Board.<\/li>\n<\/ul>\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 chainable RGB LED cycles through all the colors in an uniform way. This is accomplished using a HSL color space.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1664 \/ 1080;\" width=\"1664\" controls src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/ChainableLED_Output.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial we will see how to connect Chainable RGB LED with ARIES v3.0 Board. Here we are using Grove &#8211; Chainable RGB LED&nbsp;which is based on P9813 chip which is a full-color LED driver. Grove &#8211; Chainable RGB LED Grove &#8211; Chainable RGB LED&nbsp;module provides 3 constant-current drivers as well as modulated output [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":3255,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94],"tags":[76,68,31,24],"class_list":["post-2553","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aries-with-arduinoide","tag-c-dac","tag-gpio","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2553","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\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=2553"}],"version-history":[{"count":16,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2553\/revisions"}],"predecessor-version":[{"id":4498,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2553\/revisions\/4498"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/3255"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=2553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=2553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=2553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}