WS6812 37Pcs HEX RGB LED Hexagon LED Board with  3 GROVE Port Compatible with M5Stack UI-Flow

WS6812 37Pcs HEX RGB LED Hexagon LED Board with 3 GROVE Port Compatible with M5Stack UI-Flow

  • R 424.92
    Unit price per 
  • Save R 424.92
Tax included.

SKU:

Description:

HEX is a hexagona RGB LED panel. Total 37 RGB LEDs. With a input port and a output port, you can have mutiple of them in series connection.

This is how LEDs layout in the panel. Pay attention to the sequence in your code.

 

Product Features:

  • Total LED: 37
  • Software development platform: ,UIFlow(Blockly & python)
  • Two Le go-compatible holes

Package Include:

  • 1x HEX Unit
  • 1x Grove Cable

EasyLoader

1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.

2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.

3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial

 

Example:

1. for IDE

FastLED library on for presents excellent and colorful lighting effects. Before compile, it is require to install the FastLED library and connect HEX to GROVE A.

RGB LED Library on for

To get the complete code, please click here

  /*      Install FastLED library first.(HEX is connected to GROVE A)   */  #include <M5Stack.h>  #include "FastLED.h"    #define RGB LED_PIN    21  #define NUM_LEDS    37    CRGB leds[NUM_LEDS];  uint8_t gHue = 0;    void setup() {    Serial.begin(115200);    M5.begin();    M5.Lcd.clear(BLACK);    M5.Lcd.setTextColor(YELLOW); M5.Lcd.setTextSize(2); M5.Lcd.setCursor(40, 0);    M5.Lcd.println("HEX Example");    M5.Lcd.setTextColor(WHITE);    M5.Lcd.setCursor(0, 25);    M5.Lcd.println("Display rainbow effect");      // Neopixel initialization    FastLED.addLeds<WS2811,RGB LED_PIN,GRB>/                          (leds, NUM_LEDS).setCorrection(TypicalLEDStrip);    FastLED.setBrightness(10);  }    void loop(){      fill_rainbow( leds, NUM_LEDS, gHue, 7);      FastLED.show();// must be executed for RGB LED becoming effective      EVERY_N_MILLISECONDS( 20 ) { gHue++; }  }


UIFlow

To get the complete code, please click here.

 

PinMap:

If HEX connected to GROVE A

M5Core(GROVE A) GPIO22 GPIO21 5V GND
HEX Unit   HEX Pin 5V GND

If HEX connected to GROVE B

M5Core(GROVE B) GPIO36 GPIO26 5V GND
HEX Unit   HEX Pin 5V GND

If HEX connected to GROVE C