> 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/main-controllers/nanobit/nanobit-shield-expansion-board.md).

# Nanobit Shield Expansion Board

## Nanobit Shield Expansion Board

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

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

Nanobit is already compatible with numerous Arduino Nano expansion shields, KittenBot has also developed a shield for Nanobit to provide features such as power, DC motor driver, buzzer and RGB LEDs.

### Special Features

* Compact yet fully featured, includes DC motor driver, buzzer and RGB LED
* Built-in battery holder provides sufficient power to the Nanobit.
* Built-in USB Charging port with protection circuit, ensuring safety with lithium battery.
* Built-in connection holes compatible with Lego technic pins.

### Specifications

* Dimensions: 78 x 57 x 23 mm
* Weight: 37.5g
* Input Voltage: 3.7V(14650 Lithium Battery)/5V(USB)
* Working Voltage: 3.7V
* Vin External Power: Maximum 5V 3A
* Onboard Resources: GPIO Pins \*15, Buzzer, RGB LED \*2, Motor Ports \*4, I2C Port, 5V Output Pins \*3, Power Switch, Battery Activating Switch, USB Charging Port, External Power Input

### Onboard Resources Details

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

### Connecting Nanobit to Nanobit Shield

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

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

Insert the Nanobit onto Nanobit Shield as shown in the picture. Align the VIN pin on both the Nanobit and the Nanobit Shield and then fully insert the Nanobit into the connector.

### MakeCode Programming Quickstart

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

#### Nanobit Shield Extension: <https://github.com/Kittenbot/pxt-nanobit>

[Importing Extensions](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/powerBrickMC.html)

#### Nanobit Shield Blocks:

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

#### Sample Program: Driving Motors

```
Note: The USB port on the Nanobit is for charging only, please use the the Nanobit downloader to flash programs.
```

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

#### Sample Program: RGB LEDs

```
Note: The USB port on the Nanobit is for charging only, please use the the Nanobit downloader to flash programs.
```

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

### Project Showcase

#### 2-Wheeled Kart

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

#### Mecanum Wheel Robotic Car

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


---

# 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, and the optional `goal` query parameter:

```
GET https://sharinghub-eng.kittenbot.hk/main-controllers/nanobit/nanobit-shield-expansion-board.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
