DIY ESP32 Text-to-Speech – Step-by-Step Guide

Check out our latest products

Added to wishlistRemoved from wishlist 0
Add to compare
(2-Way Audio & PIR Detection) Dual Antennas Outdoor Wireless Security Camera System 5.5MP Wi-Fi Video Surveillance
Added to wishlistRemoved from wishlist 0
Add to compare
$399.99
Added to wishlistRemoved from wishlist 0
Add to compare
2 | FPV Goggles for All Camera Drones | Unibody Lens | HD FPV Goggles | Compatible Versatile Skyview FPV Drone Goggles | Clear Immersive View | All GPS Camera Drone
Added to wishlistRemoved from wishlist 0
Add to compare
$179.00

– Advertisement –

EFY Tested

Speech capability in technology primarily has two dimensions: text to speech (TTS) and speech to text (STT). This ESP32 Text-to-Speech device focuses on TTS. Here, the MAX98357A amplifier is used with the MCU ESP32 development board, and Google API is used to convert the text into speech.

The cost-effective MAX98357A I2S amplifier (mono) is connected to the ESP32. Although stereo models like the UDA1334A are available, the mono version is chosen for simplicity. The I2S amplifier uses three GPIO pins, which can be any pins except for 34 and 35 (input-only pins).

A 4-ohm speaker is connected to the output, and it is essential to verify the board specifications. The speaker’s ‘+’ and ‘-’ terminals must be connected correctly to avoid distortion. The author’s prototype is shown in Fig. 1, and the necessary components are listed in the Bill of Materials table.

– Advertisement –

ESP32 Text-to-Speech with MAX98357A
Fig. 1: ESP32 Text to Speech with MAX98357A
Bill of Materials
Components Quantity
ESP32 node MCU (MOD1) 1
3-watt speaker 1
MAX98357A I2S 3-watt Class D amplifier 1
5V USB power supply cable 1

ESP32 Text to Speech – Circuit Diagram

Please register to view this article or log in below. Tip: Please subscribe to EFY Prime to read the Prime articles.


Added to wishlistRemoved from wishlist 0
Add to compare
’47 MLB Mens Men’s Brand Clean Up Cap One-Size
Added to wishlistRemoved from wishlist 0
Add to compare
$29.95
Added to wishlistRemoved from wishlist 0
Add to compare
(2-Way Audio & PIR Detection) Dual Antennas Outdoor Wireless Security Camera System 5.5MP Wi-Fi Video Surveillance
Added to wishlistRemoved from wishlist 0
Add to compare
$399.99
Added to wishlistRemoved from wishlist 0
Add to compare
[3 Pack] Sport Bands Compatible with Fitbit Charge 5 Bands Women Men, Adjustable Soft Silicone Charge 5 Wristband Strap for Fitbit Charge 5, Large
Added to wishlistRemoved from wishlist 0
Add to compare
$9.99
Added to wishlistRemoved from wishlist 0
Add to compare
[3 Pack] Sport Bands Compatible with Fitbit Charge 5 Bands Women Men, Adjustable Soft Silicone Charge 5 Wristband Strap for Fitbit Charge 5, Small
Added to wishlistRemoved from wishlist 0
Add to compare
$9.99

We will be happy to hear your thoughts

Leave a reply

Best Deals for all new
Logo
Compare items
  • Total (0)
Compare
0
Shopping cart