Arduino TTS ( Text to Speech )

32,414

48

27

Introduction: Arduino TTS ( Text to Speech )

Hi Guys today in this tutorial I will teach you how to make your Arduino talk without any external module. Here we can use this in numerous projects like speaking thermometer, Robots and many more. So without much wasting time let's start this project.

Step 1: Gather the Parts

In this project you gonna need a very cheap and easily available things. These are the parts required:

1. Perfboard

2. 220 uF Capacitor - 2 pieces

3. 10 uF Capacitor - 1 piece

4. 10 K ohm resistor - 1 piece

5. 1 K ohm resistor - 1 pieces

6. 10 ohm resistor - 1 piece

7. LM386 IC

8. 8 ohm 0.5 watt Speaker - 1 piece

9. Jumper Wires

10. 9v Battery and battery cap

11. Arduino

12. Soldering Kit

Step 2: Making the Amplifier Circuit and Connecting It to Arduino

Now we gonna make a amplifier circuit with the parts. The positive and negative of the Amplifier would be connected to both Arduino and 9v battery. If connect the Amplifier to low power battery or low voltage the volume of the speaker will be less. The positive terminal of the pin 3 of the IC will be connected to any Arduino PWM pin ( Most better is pin 3) and the positive terminal of the pin 5 of the IC will be connected to the positive terminal of the speaker. Solder all the parts on a perfboard according to the circuit.

Step 3: Programming and Testing

This is the last step of the process. In this process we gonna use only one library i.e. TTS library by JS CRANE. There's a link to his GitHub profile. Upload any example from the library and you will be able to see a the result.

Link : https://www.github.com/jscrane/TTS
Arduino Contest 2017

Participated in the
Arduino Contest 2017

2 People Made This Project!

Recommendations

  • Battery Powered Contest

    Battery Powered Contest
  • Plywood Challenge

    Plywood Challenge
  • Plastic Contest

    Plastic Contest

27 Discussions

0
Akashr65
Akashr65

2 years ago

AWESOME BRO I made it and I tried it to connect with your last update and believe me it is working now the input in your last update could be listened Oh yeah!!!

0
GauravG91
GauravG91

Reply 2 years ago

First of all Thanks and I appreciate your efforts and I am very happy seeing your interest in my projects. Thank you a lot.
GauravG91

0
th44160
th44160

Question 4 weeks ago

In your list and accompanying photographs I see a 10K resistor. In your schematic, however, the resistor has been replaced by a potmeter. So how should an ordinary resister be connected?

0
Doodeji
Doodeji

7 months ago

I made the same project with the same circuit and same code but in proteus simulation software. There is no output from the speaker. can you please guide me through this

0
itstwobob
itstwobob

7 months ago

It should be noted that OOT this will break servo libraries through it's special use of PWM.
That said it was a lot of fun to use. But don't try to add it it to a robot with servos and expect no grief :)

0
GauravG91
GauravG91

Answer 1 year ago

Currently we don't have any video of that

0
santhoshuppuluri111

I have following issue plss help me. code shows error

Screenshot_1.jpg
0
GauravG91
GauravG91

Reply 1 year ago

Do you have your board connected to PC.
I don't think so... Check if you have connected it or not..

0
ridzi179
ridzi179

1 year ago

can you plz give the arduino code for this circuit plzzzzz

0
AnnaMai
AnnaMai

2 years ago

nice project. I made it :)

0
Alok KumarP
Alok KumarP

Question 2 years ago

Sir i am facing problem in TTS library it only shows a error so please help me

0
GauravG91
GauravG91

Answer 2 years ago

Whats your problem brother.
Please post the screenshot. So that I may help you.

0
sasanegauri30
sasanegauri30

Question 2 years ago

"Error compiling for board Arduino/Genuino Uno."this error is occurring while compiling the code, for given code which board should be select

0
GauravG91
GauravG91

Answer 2 years ago

Any board will work. Please post the screenshot of the error in the Arduino IDE.

0
GauravG91
GauravG91

Reply 2 years ago

Check the *Board* option in the tools tab.
Verify if you have selected the right board and also check the Port and Programmer option.

1
Alok KumarP
Alok KumarP

Question 2 years ago

Sir i need the TTS program as well as the TTS LIBRARY so please send both the pic or link in my message reply

0
GauravG91
GauravG91

Answer 2 years ago

Link : https://www.github.com/jscrane/TTS

Visit this link and you will get both the library and use the examples and test your hardware first.
The examples have clear instructions and information about the Functions and code structure.
Then write a custom code according to your project using the knowledge from the examples.

0
Alok KumarP
Alok KumarP

Question 2 years ago

One more thing sir im using aurdino uno1. 00v

0
GauravG91
GauravG91

Answer 2 years ago

It not a problem.
It will work with every version of Arduino and even with Uno.