# NyBoard

## Hardware setup

The module can be installed on **NyBoard** via the Grove interface.

<figure><img src="/files/z8A1AfdI9maChRjhfntR" alt=""><figcaption></figcaption></figure>

Connecting to the NyBoard with wire as shown in the following picture, connect to the NyBoard Grove interface, which includes D8, D9:

<figure><img src="/files/q5qRZnoSiOofoGxs1UI1" alt=""><figcaption></figcaption></figure>

## Software setup

### Petoi Desktop App

You can use the [Firmware Uploader ](https://guide.petoi.com/desktop-app/firmware-uploader#select-the-correct-options-to-upload-the-latest-firmware)within the Petoi Desktop App to upload the firmware.

<figure><img src="/files/kk6DOSQOrzfn5oxwVP2b" alt=""><figcaption></figcaption></figure>

### Arduino IDE

You can also use [Arduino IDE](https://www.arduino.cc/en/software)  to modify and upload the sketch.&#x20;

The module code is integrated into the [**OpenCat**](https://github.com/PetoiCamp/OpenCat) project. Uncomment the line **`#define VOICE`**  in the **OpenCat.ino**, as shown in the figure below. Then, use Arduino IDE to upload the sketch to the robot's main board. The robot will work in **Voice mode.** This sketch will allow the robot to behave under voice commands.&#x20;

<figure><img src="/files/CGFDKTcxIpTtZVgZCWvT" alt=""><figcaption></figcaption></figure>

## The test sketch

The test sketch is in the OpenCat repository on GitHub (specific path: OpenCat/ModuleTests/testVoiceCommander). You can visit our GitHub repository <https://github.com/PetoiCamp/OpenCat> to download the complete code, as shown in the following picture:

<figure><img src="/files/mljUQM6UTY0idkx1j46P" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://guide.petoi.com/extensible-modules/voice-command-module/nyboard.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.
