Skip to product information
1 of 3

Axiometa

RGB LED

RGB LED

SKU:AX22-0006

Regular price $2.49
Regular price Sale price $2.49
Sale Sold out
Taxes included. Shipping calculated at checkout.
This AX22-sized module carries a bright, common-cathode RGB LED plus on-board current-limit resistors, all on a tidy 22 × 22 mm PCB. Each color channel is driven by its own active-high GPIO pin—just set the pin HIGH and the LED lights, no transistor stages or low-side drivers required—so fading or blinking is as simple as PWM from your microcontroller. It snaps straight into any AX22 backplane, making it a drop-in way to add status lighting, mood effects, or user feedback to your project. Great for dashboards, interactive art pieces, or any build that needs vivid, three-color indication with minimal wiring.
View full details
  • Technical Details

    - 22 mm × 22 mm square
    - 4× ⌀2.7 mm Mounting Holes
    - RGB, GPIO Control
    - 3.3 V, 5.0 V
    - Arduino IDE Compatible
    - MicroPython Compatible
    - MicroBlocks Compatible

    Material Datasheet 
  • Pinout

  • Interface

  • Top

  • Bottom

Arduino Example Code

example.ino
// Pin numbers for the RGB LED
const int redPin = 8;
const int greenPin = 15;
const int bluePin = 45;

void setup() {
  // Initialize the RGB LED pins as outputs
  pinMode(redPin, OUTPUT);
  pinMode(greenPin, OUTPUT);
  pinMode(bluePin, OUTPUT);
}

void loop() {
  // Fade in and out red
  for (int i = 0; i <= 255; i++) {
    analogWrite(redPin, i);
    delay(10);
  }
  for (int i = 255; i >= 0; i--) {
    analogWrite(redPin, i);
    delay(10);
  }

  // Fade in and out green
  for (int i = 0; i <= 255; i++) {
    analogWrite(greenPin, i);
    delay(10);
  }
  for (int i = 255; i >= 0; i--) {
    analogWrite(greenPin, i);
    delay(10);
  }

  // Fade in and out blue
  for (int i = 0; i <= 255; i++) {
    analogWrite(bluePin, i);
    delay(10);
  }
  for (int i = 255; i >= 0; i--) {
    analogWrite(bluePin, i);
    delay(10);
  }

  // Fade through a range of colors
  for (int i = 0; i <= 255; i++) {
    analogWrite(redPin, i);
    analogWrite(greenPin, 255 - i);
    analogWrite(bluePin, i / 2);
    delay(10);
  }
  for (int i = 255; i >= 0; i--) {
    analogWrite(redPin, i);
    analogWrite(greenPin, 255 - i);
    analogWrite(bluePin, i / 2);
    delay(10);
  }
}

        
  • First time setup

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.

  • Automatic Street Lights

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.

  • How Does an LDR work ?

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.