In this tutorial we will see how to connect Chainable RGB LED with ARIES v3.0 Board. Here we are using Grove – Chainable RGB LED which is based on P9813 chip which is a full-color LED driver.

Grove – Chainable RGB LED

Grove – Chainable RGB LED 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 Grove – Chainable RGB LED modules. The built-in clock regeneration enhances the transmission distance. This Grove module is suitable for any colorful LED based projects.

Grove Chainable RGB LED v2.0

Prerequisites

Components Required

  • Grove Chainable RGB LED v2.0
  • ARIES v3.0 Board
  • Jumper Wires
  • USB type C to USB type A cable

Note: All of the following boards can be used for this project

Libraries Required

Download the VEGA_ChainableLED Library from Tools -> Manage Libraries…

Now let’s connect the Grove – Chainable RGB LED module to the ARIES v3.0 board.

Circuit Diagram:

Connections:

Chianable RGB LED ARIES v3.0 Board
VCC3.3V
GNDGND
CINGPIO-7
DINGPIO-8
Connection pins of Grove – Chainable RGB LED Module & ARIES v3.0 Board

Once we are done with the connections, let’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.

Procedure

Open and set up the Arduino IDE as described in Getting Started with ARIES v3.0.

  • Make sure you have selected ARIES v3 Board from Tools -> Board -> VEGA Processor: ARIES Boards -> ARIES v3
  • Select Programmer as VEGA XMODEM from Tools -> Programmer -> VEGA XMODEM
  • Also select appropriate port from Tools -> Port -> COM* (ARIES Board)

  • Now, Open Files -> Examples -> Under Examples for ARIES v3 -> GPIO -> ChainableRGB_LED -> cycleThroughColors

  • Finally, let’s Upload the code in ARIES v3 Board.

Output

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.

Leave a Reply

Your email address will not be published. Required fields are marked *