arduinoProjects

DIY ESP32 Textual content-to-Speech – Step-by-Step Information

EFY Tested

Speech functionality in know-how primarily has two dimensions: textual content to speech (TTS) and speech to textual content (STT). This ESP32 Textual content-to-Speech system focuses on TTS. Right here, the MAX98357A amplifier is used with the MCU ESP32 improvement board, and Google API is used to transform the textual content into speech.

The associated fee-effective MAX98357A I2S amplifier (mono) is linked to the ESP32. Though stereo fashions just like the UDA1334A can be found, the mono model is chosen for simplicity. The I2S amplifier makes use of three GPIO pins, which will be any pins apart from 34 and 35 (input-only pins).

A 4-ohm speaker is linked to the output, and it’s important to confirm the board specs. The speaker’s ‘+’ and ‘-’ terminals have to be linked accurately to keep away from distortion. The creator’s prototype is proven in Fig. 1, and the required parts are listed within the Invoice of Supplies desk.

– Commercial –

DIY ESP32 Textual content-to-Speech - Step-by-Step Information
ESP32 Text-to-Speech with MAX98357A
Fig. 1: ESP32 Textual content to Speech with MAX98357A
Invoice of Supplies
Parts Amount
ESP32 node MCU (MOD1) 1
3-watt speaker 1
MAX98357A I2S 3-watt Class D amplifier 1
5V USB energy provide cable 1

ESP32 Textual content to Speech – Circuit Diagram

Please register to view this text or log in under. Tip: Please subscribe to EFY Prime to learn the Prime articles.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button