> For the complete documentation index, see [llms.txt](https://guide.petoi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.petoi.com/extensible-modules/voice-command-module/nyboard.md).

# NyBoard

## Hardware setup

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

<figure><img src="https://content.gitbook.com/content/XLpFdG7mubqEHWylLK3w/blobs/IzS8yeiObdoO7Hd3VBVk/voice.png" 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="https://content.gitbook.com/content/XLpFdG7mubqEHWylLK3w/blobs/9CC1aUGwtjEnn1qTHVhQ/Voice_Control_Sensor.png" 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="https://content.gitbook.com/content/XLpFdG7mubqEHWylLK3w/blobs/4SXkIgZNRWkyHCvk0nhF/image.png" 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="https://content.gitbook.com/content/XLpFdG7mubqEHWylLK3w/blobs/vqCM4qKrURT1834t4Nue/image.png" 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="https://content.gitbook.com/content/XLpFdG7mubqEHWylLK3w/blobs/5bSHcwbZ0T8PAWs9JR3K/image.png" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guide.petoi.com/extensible-modules/voice-command-module/nyboard.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
