Price:
US$1.99

Free Shipping

M5Stack RGB LED Module Board for M5GO Kit STEM DIY Traffic Light Compatible M5 Core

Compatibility

To confirm that this part fits your vehicle, please enter your vehicle's details below.

  • Year:

    Select

    • Make:

      Select

      • Model:

        Select

        • Submodel:

          Select

          • Trim:

            Select

            • Engine:

              Select

              • Clear All
              This part is compatible with 0 vehicle(s).
              Show all compatible vehicles
              This part is compatible with 1 vehicle(s) matching
              This part is not compatible with
              Recent searches

                • Year
                • Make
                • Model
                • Submodel
                • Trim
                • Engine

                  Description:

                  RGB is LED Unit include 3 individual LEDs. It is also one of the Unit from M5GO Kit. Each one can display anycolor based on RGB value. One feature of this Unit is extension, which means you can have mutiple of them wired together.

                  This is a very useful piece on STEM class, students can program it to realize some of cool applications, for example a traffic light.

                  Product Features:

                  • Program Platform: for Arduino, UIFlow(Blockly, Python)
                  • Two Le go-compatible holes

                  Package Include:

                  • 1x RGB Unit
                  • 1x Grove Cable

                  EasyLoader:

                  <blockquote style="box-sizing: border-box; font-size: 16px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; margin: 2em 0px; overflow: visible; padding: 1.5em; border-width: var(–blockquote-border-width, 0); border-style: var(–blockquote-border-style); border-color: var(–blockquote-border-color); border-radius: var(–blockquote-border-radius); background: var(–blockquote-background); color: rgb(33, 37, 41); font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; quotes: &quot;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 Arduino IDE

                  The code below is incomplete. To get complete code, please click here.

                  /*
                      Install the AdaFruit NeoPixel library first
                   */
                  #include <Adafruit_NeoPixel.h>
                  
                  #define RGB_PIN 26
                  #define NUMPIXELS   3
                  
                  // new a object
                  Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB+NEO_KHZ800);
                  
                  int delayval = 150;// delay for half a second
                  
                  // initialization
                  pixels.begin(); // This initializes the NeoPixel library.
                  
                  // display rgb
                  pixels.setPixelColor(0, pixels.Color(100,0,0));//parameter = (rgb index, color)
                  pixels.setPixelColor(1, pixels.Color(0,100,0));
                  pixels.setPixelColor(2, pixels.Color(0,0,100));
                  pixels.show(); // This sends the updated pixel color to the hardware.


                  2. UIFlow

                  To get complete code, please click here.

                  PinMap:

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

                  Leave a Comment