Rhino Speech-to-Intent
Arduino Quick Start
Platforms
Requirements
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey.
Make sure to keep your AccessKey secret.
Quick Start
Setup
- Install and select desired board from
Tools -> Board.- Install
Arduino Mbed OS Nano BoardsforArduino Nano 33 BLE Sense.
- Install
- Select the desired device
Serial Portto upload package viaTools -> Port. - Open the Library Manager in the Arduino IDE.
- Search for the
Rhino_ENpackage, and click on theInstallbutton.
Usage
Initialize audio and construct the porcupine object in the setup function:
Get the audio frames and pass them in to pv_rhino_process in the loop function:
Release resources explicitly when done with Rhino:
Custom Contexts
- Obtain the UUID of the chipset:
- Open
File -> Examples -> Rhino_EN -> GetUUID. - Click
Uploadand check theSerial Monitorfor the UUID of the board:
- Open
- Go to Picovoice Console to create models for Rhino Speech-to-Intent engine..
- Select
Arm Cortex-Mas the platform when training the model. - Select appropriate board type and paste in your board UUID.
- Train your models.
- Download your custom context model.
- Decompress the zip file. The
.rhnfile inside is the binary model for the Rhino context. The zip archive also contains a.hheader file containing theCarray version of the binary model. - Copy the contents of the array inside the
.hheader file and update thecontext_array:
Non-English Languages
Open the Library Manager in the Arduino IDE and search for Rhino. Click Install on the language desired and add the header file to the project:
Demo
For the Rhino Speech-to-Intent Arduino SDK, we offer demo projects for several evaluation boards to demonstrate how to use the Rhino engine on Arduino.
Setup
- Open the Library Manager in the Arduino IDE.
- Search for the
Rhino_ENpackage, and click on theInstallbutton.
Usage
- Open
File -> Examples -> Rhino_EN -> RhinoExample. - Replace
ACCESS_KEYwith the AccessKey obtained from picovoice console. - Press
Uploadand checkSerial Monitorfor outputs.
Resources
API
GitHub
- Rhino Speech-to-Intent SDK for Arduino boards - English language
- Rhino Speech-to-Intent SDK for Arduino boards - German language
- Rhino Speech-to-Intent SDK for Arduino boards - Spanish language
- Rhino Speech-to-Intent SDK for Arduino boards - French language
- Rhino Speech-to-Intent SDK for Arduino boards - Italian language
- Rhino Speech-to-Intent SDK for Arduino boards - Japanese language
- Rhino Speech-to-Intent SDK for Arduino boards - Korean language
- Rhino Speech-to-Intent SDK for Arduino boards - Portuguese language
- Rhino Speech-to-Intent SDK for Arduino boards - Mandarin language