• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Arduino Text to Speech Voice Generator Circuit

Arduino Text to Speech Voice Generator Circuit

Last updated on 18 September 2025 by Admin-Lavi Leave a Comment

This project make Arduino speak text.

It convert text into speech.

In this article we used Arduino UNO board, LM386 audio amplifier, speaker and some components.

Arduino send digital voice data and IC LM386 make sound loud.

Arduino Text to Speech Voice Generator Circuit is small and low cost project.

Circuit Coding:

#include <TTS.h>      // include Text To Speech library

TTS tts(3);            // create TTS object on digital pin 3

void setup() {
  tts.begin();         // start TTS engine
}

void loop() {
  tts.say("Alert! Alert! A big thunder storm is on the way."); 
  delay(10000);         // wait 10 seconds before speaking again
}

Coding Explanation:

  • The TTS library converts the text into a series of audio tones speech-like sound.
  • tts(3) sets digital pin 3 as the output pin for the audio signal PWM.
  • This pin is connected to our amplifier input LM386 through a capacitor and potentiometer.
  • The LM386 amplifies the weak audio from Arduino and drives the speaker.
  • The delay gives a pause so it will not keep repeating very fast.

Circuit Working:

Arduino Text to Speech Voice Generator Circuit Diagram

Parts List:

Part NameQuantity
Resistors
Resistor 10 ohms 1/4 watt1
10k Potentiometer1
Capacitors
Electrolytic 10uF3
Electrolytic 1000uF1
Ceramic 0.047uF1
Semiconductors
Arduino UNO Board1
LM386 IC1
Speaker 8 ohm1
12 Power supply1

Arduino digital pin 3 produce PWM audio signal when library speaks.

PWM signal go out from pin 3 to potentiometer input.

Potentiometer wiper send level-adjusted signal through a coupling capacitor 10uF to amplifier input.

Coupling capacitor block DC and pass only audio variations.

LM386 amplify the small audio signal.

Amplified output drive the 8 ohm speaker.

Arduino GND and LM386 GND must be common connected.

LM386 Vcc is from 12V battery or 12V power supply.

Arduino is powered by USB or 5V regulator.

Note: If require any help go through the same circuit for Simple LM386 Audio Amplifier Circuit

Formula with Calculations:

Gain of LM386 = 20 by default

If 10uF capacitor connect between pin1 and pin8 gain become 200

Power output P = V^2 / R

If LM386 give 1V RMS and speaker is 8 ohm

P = 1*1/8 = 0.125W

This is enough for small speaker.

How to Build:

To build a Arduino Text to Speech Voice Generator Circuit follow the below steps for connections:

  • Gather all the circuit parts as per the diagram above.
  • Connect Arduino pin 3 to potentiometer input
  • Potentiometer wiper to 10uF capacitor
  • Capacitor C1 is between pin 1 and pin 8 of IC1
  • Capacitor C5 negative connects from pin 3 and capacitor positive connects to middle pin of VR1 pot
  • LM386 pin 2 to GND
  • LM386 pin 4 to GND
  • LM386 pin 6 to +12V
  • LM386 pin 7 goes to one end of speaker through capacitor C2
  • C3 1000uF capacitor between LM386 pin 5 and speaker negative
  • Bypass capacitor C4 0.05uF and resistor R1 is between pin 5 and GND

How to Upload Code to Arduino:

  • Open Arduino IDE
  • Connect Arduino UNO using USB
  • Select correct board and COM port
  • Copy code in IDE
  • Click verify and then upload

Conclusion:

This project for Arduino Text to Speech Voice Generator Circuit can speak words using Arduino.

It is simple and good for beginner.

We can change text in code to speak different words.

We can use for toys, talking notice board, voice alerts, etc.

References:

Arduino uno text to speech

Filed Under: Arduino Projects, Audio Circuits

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Smart Table to Kitchen Order Circuit with Arduino
Next Post: LDR Light Sensor Circuit with Arduino »

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar




Categories

  • Alarm Circuits (34)
  • Amplifier Circuits (67)
  • Arduino Projects (50)
  • Audio Circuits (97)
  • Automobile Circuits (19)
  • Battery Charger Circuits (48)
  • Free Energy (13)
  • Heater and Temperature Controllers (10)
  • High Voltage (1)
  • Indicator Circuits (39)
  • Inverter Circuits (13)
  • LDR Circuits (16)
  • LED and Lamps (116)
  • Meters and Testers (28)
  • Motor Controllers (18)
  • Oscillator Circuits (34)
  • Power Supply Circuits (92)
  • Remote Control Circuits (7)
  • Security and Protection (26)
  • Sensors and Detectors (91)
  • Solar Circuits (17)
  • Timer Circuits (30)
  • Transistor Circuits (57)
  • Transmitter Circuit (13)
  • Tutorials (5)
  • Water Level Controller (4)

Recent Posts

  • LDR Light Sensor Circuit with Arduino
  • Arduino Text to Speech Voice Generator Circuit
  • Smart Table to Kitchen Order Circuit with Arduino
  • Interfacing TFT LCD with Arduino
  • Arduino Based Coin Value Identifier Circuit

Recent Comments

  1. Admin-Lavi on Constant Voltage, Constant Current Battery Charger Circuit
  2. Bill on Constant Voltage, Constant Current Battery Charger Circuit
  3. Admin-Lavi on Long Range FM Transmitter Circuit (2km)
  4. Sina on Long Range FM Transmitter Circuit (2km)
  5. Admin-Lavi on Long Range FM Transmitter Circuit (2km)

Copyright © 2025 | New Circuit Ideas