NyBoard

Hardware setup

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

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

Software setup

Petoi Desktop App

You can use the Firmware Uploader within the Petoi Desktop App to upload the firmware.

Arduino IDE

You can also use Arduino IDE to modify and upload the sketch.

The module code is integrated into the 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.

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:

Last updated