> 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/abbutton.md).

# AB Bumpers Module

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

This is a button module, it detects whether the buttons are pressed.

When the buttons are pressed, the corresponding LED on the back would light up. The buttons are compatible with LEGO Technic axis.

![](https://kittenbothk.readthedocs.io/en/latest/_images/IMG_2569.GIF)

### Details

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

### Specifications

* Voltage; 3V-5V
* Dimensions: 56mm X 24mm X 25mm
* Connector: 4Pin PH2.0
* Type: Digital Module

### Connecting the module

Connect the module to the Armourbit using a 4Pin Cable.

![](https://kittenbothk.readthedocs.io/en/latest/_images/bumper_wire.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>

#### AB Button Module Blocks

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

#### Buttons Detection

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

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

#### Makecode Video

{% embed url="<https://youtu.be/BT1TUlmbMm8?t=370>" %}

#### Demo Video

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

### 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

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

#### Load Powerbrick Extension

Select Powerbrick from the hardware column.

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

#### AB Button Module Blocks

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

#### Buttons Detection

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

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

### 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.
