> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/functional_module/powerbrick/rgb.md).

# RGB LED Matrix

This is a 8x8 RGB LED Matrix, each LED can be controlled individually. Supports daisy chaining to create larger screens, making the display even more appealing.

### Details

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/11_031.png)

### Specifications

* Voltage: 3V-5V
* Dimensions: 56mm X 56mm X 16mm
* Connector: 4Pin PH2.0
* Resolution: 8x8 RGB

### Precautions

* There are 2 ports on the module, one for input and one for output. Connect the input port to the Armourbit.
* When connecting more than 1 modules, connect the output port of the first module to the input of the second module.
* The battery box supports up to 4 modules in daisy chain. Connect an external power supply or lower the brightness if more is needed.
* Beware of cooling when using the module for long periods of time.

### Connecting the module

Connect the RGB Module to Armourbit with a 4Pin cable

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/rgb_wire.png)

![](https://kittenbothk.readthedocs.io/en/latest/_images/11_25.png)

### MakeCode Coding Tutorial

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/mcbanner.png)

#### Load Powerbrick Extension:

#### Search "Powerbrick" in the search bar.

![](https://kittenbothk.readthedocs.io/en/latest/_images/powerbrick_search.png)

#### Or search the following link.

<https://github.com/KittenBot/pxt-powerbrick>

#### RGB Matrix Blocks

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/rgbblocks11.png)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/rgbblocks21.png)

#### Lighting up with a single color

{% embed url="<https://makecode.microbit.org/_dgdfa73fb6jr>" %}

[Sample Program](https://makecode.microbit.org/_dgdfa73fb6jr)

#### Lighting up with a rainbow color

{% embed url="<https://makecode.microbit.org/_VDtaD6AVjfdd>" %}

[Sample Program](https://makecode.microbit.org/_VDtaD6AVjfdd)

#### Lighting up individual pixels

{% embed url="<https://makecode.microbit.org/_iv6MHWEkDMjr>" %}

[Sample Program](https://makecode.microbit.org/_iv6MHWEkDMjr)

#### Showing a pattern

{% embed url="<https://makecode.microbit.org/_2cF73496m8p1>" %}

[Sample Program](https://makecode.microbit.org/_2cF73496m8p1)

#### Makecode Video

{% embed url="<https://www.youtube.com/watch?v=Pmg6Gvg29jo>" %}

### Extension Version and Updates

There may be updates to extensions periodically, please refer to the following link to update/downgrade your extension.

[MakeCode Extension Update](/programming-platforms/makecode-tutorial/makecode-extension-updates.md)

### KittenBlock Coding Tutorial

![../../\_images/kbbanner.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbbanner.png)

#### Load Powerbrick Extension

Select Powerbrick from the hardware column.

![../../\_images/addextension1.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/addextension1.png)

#### RGB Matrix Blocks

![../../\_images/rgbblocks3.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/rgbblocks3.png)

#### Lighting up individual pixels

![../../\_images/kbrgb1.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbrgb1.png)

[Sample Code Download](https://bit.ly/PowerbrickM9_01sb3)

The module uses RGB color, you can convert HSV to RGB using this block.

![../../\_images/HSVTORGB1.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/HSVTORGB1.png)

### FAQ

1：Why is there no reaction when I click the blocks?

Make sure you have connected the Micro:bit correctly and flash the firmware again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub-eng.kittenbot.hk/functional_module/powerbrick/rgb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
