Microcontroller Quick Start
- Arm Cortex-M4
- Arm Cortex-M7
- C99-compatible compiler
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your
Make sure to keep your
- Clone the repository:
- Include the public header files.
- Link the project to an appropriate library file.
- Construct the Picovoice object:
Pass in frames of audio to the
Release resources explicitly when done with Picovoice:
Create Custom Keyword and Context Models
- Obtain the UUID of the chipset.
- Go to Picovoice Console to create models for Porcupine wake word engine and Rhino Speech-to-Intent engine.
Arm Cortex-Mas the platform when training the model.
- Select appropriate board type.
- Train your models.
- Download your custom voice model(s).
- Decompress the zip file. The model file is either
.ppnfor Porcupine wake word or
.rhnfor Rhino Speech-to-Intent. Both zip archives also contain a
.hheader file containing the
Carray version of the binary model.
- Copy the contents of the arrays inside the
.hheader files and update the
Use the corresponding library file (
.a) to process non-English wake words and contexts.
The library files for all supported languages are available on the Picovoice GitHub repository.
For the Picovoice mcu SDK, we offer demo projects for several evaluation boards to demonstrate how to use the Picovoice Platform on microcontrollers. The full list of supported boards is available on the Picovoice GitHub repository.
Clone the repository:
- Arduino Portenta H7 (Arm Cortex-M7)
- Arduino Nano 33 BLE Sense (Arm Cortex-M4)
- IMXRT1050-EVKB (Arm Cortex-M7)
- STM32F407G-DISC1 (Arm Cortex-M4)
- STM32F411E-DISCO (Arm Cortex-M4)
- STM32F769I-DISCO (Arm Cortex-M7)