Overview
Text to speech has been a favorite since the introduction of the TI Speak & Spell. There are many environments where feedback via speech would be a great feature. Up until recently, using microcontrollers for speech was too slow. A Raspberry Pi or other single board computer (SBC) would be the choice, but that comes with configuring an entire Linux operating system. With newer microcontrollers, speech is finally possible in a practical way.
The capability of a speech model depends on the features of the microcontroller and the memory available. Faster microcontrollers with more memory can run more complex speech synthesis models. Adafruit has chosen two open source software speech synthesis models for use with CircuitPython: Moonshine Klatt for average capability chips and PicoTTS for more powerful microcontrollers with PSRAM.
Moonshine Klatt
The Moonshine Klatt model generates Formant speech and fits on microcontroller boards with less memory. There are no necessary voice files. The model runs on RP2350, RP2040, and ESP32-S3 microcontroller boards without added PSRAM although boards with PSRAM work as well (the model will not use it).
PicoTTS
The SVOX Pico engine has a more natural voice than simpler models. It needs about 2.5 MB of RAM, so boards with PSRAM are required.
The boards above will need an I2S amplifier, such as:
The Prop-Maker Feather has the I2S amp built in:
- or -
If you intend to build your project on a breadboard, you'll want the following:
Finally, get a known good USB data+power USB cable. Here is a common USB A to USB C:
Page last edited October 22, 2026