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:
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
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
Stalker94 made it!