Picture of Twitter Enabled Text to Speech
Let the world know what you're eating for breakfast with an 80's style vocal synthesizer!  This project uses an Arduino to send your Twitter stream to a voice generator chip called the SpeakJet.  The setup that I use here can also be extended to other applications where you'd want to translate text into speech, some ideas:

-a robot which announces things or responds to its environment by speaking
-some kind of assitive technology for the deaf or handicapped
-at the very least, it's a fun alternative to using the serial monitor to print data from the Arduino

In this setup the Arduino requests and receives information from Twitter via an Ethernet shield, which is directly plugged into a router (the USB connection shown in the picture is being used solely for power, not data transmission).  An intermediary chip called the TTS256 translates serial text data from the Arduino into a series of allophones to send to the SpeakJet.  The output from the SpeakJet is sent to an amplifier and then to a small speaker.

A demo of the SpeakJet's voice can be found here.

Parts List:

(x1) SpeakJet IC Sparkfun COM-09578
(x1) Text to Speech chip for SpeakJet - TTS256 Sparkfun COM-09811
(x1) Arduino Uno Sparkfun DEV-11021
(x1) Arduino Ethernet Shield Sparkfun DEV-09026
(x1) 8ohm Speaker Sparkfun COM-09151

(x1) LM386 Amplifier Digikey LM386N-1/NOPB-ND
(x1) 0.047uF ceramic capacitor Digikey P4307-ND
(x1) 220uF electrolytic capacitor Digikey P15322CT-ND
(x1) 10ohm resistor Digikey CF14JT10R0CT-ND
(x1) 10kOhm potentiometer, linear taper Digikey 987-1308-ND
(x1) LED Digikey 365-1175-ND
(x1) 220ohm resistor Digikey CF14JT220RCT-ND
(x2) 10kOhm resistor Digikey CF14JT10K0CT-ND

Other Materials:

Jumper wire
USB cable
Ethernet cable
dasmalle7 months ago

Hey you might wanna check our Twittergame: https://www.facebook.com/TweetLovers

mpost3 made it!10 months ago

I have made this project using 8051 for a project ... keyboard to text using 8051.... for an aid for Dumb people... I still have a box piece of TTS256 + speakjet ... get in touch with me ... myrtletechnologies@gmail.com

mpost3 made it!1 year ago


I made this with 8051 ,, connected to tts 256 and speakjet .... it ran successfully...

you can contact me @ www.myrtletech.net


Text to voice.jpg
marzbar3292 years ago
I plan on doing this project this weekend i am going to change it up a Little i will be using an WiFi-Shield the Iduino/arduino (wizfi210) Module looking forward to the project looks so cool and its going to be fun i will post pics of mine and the changes i make to share with the instructables community take care :)
amandaghassaei (author)  marzbar3292 years ago
great! please post a video too! I should have done that with my project...
Badoodler2 years ago
Amazing, just anazing
thekanester2 years ago
I've been using this Arduino-based speech synthesizer code, and it's decent, but not as good as the speakjet:


But, it can save $25.00 off your BOM!
am trying to do the same....
hope it works:-)
i would like to do the same project with pic instead of arduino.
is it possible..?
yes, it's definitely possible, but I don't have any experience with pic sorry!
shahrum1232 years ago

Thanks for posting such an excellent project. I have a quick question. I am trying to use the system for a robot. The point is that if someone asks the robot a question, I can input the answer in the Serial port monitor of the arduino and then the robot reponds with the answer. I was wondering if the following addtion to our code would work.

void loop()
while (Serial.avaiable () >0) {
speakjet.println (Serial.read());

I am using your project as part of a bigger project to help the blind. If it works I will definetely share with you. Thanks.
amandaghassaei (author)  shahrum1232 years ago
the speakjet can only be used to translate text to speech, it cannot translate speech to text, is that what you are trying to do?
I am still doing text to speech but instead of putting the text in the program, I want to input the text in the serial port monitor of the arduino.
amandaghassaei (author)  shahrum1232 years ago
oh, now I understand, yes this will work.
Ma'am. The code does not work. Whenever I input something in the Serial Port monitor it does not output the text to speech conversion. Can you please help?
amandaghassaei (author)  shahrum1232 years ago
can you post your code?
I am waiting for the parts. I will let you know if it works. Thanks ma'am.
shahrum1232 years ago
Please let me know if you need further clarification

(crowd chants in background) video! video! video!
Trecool7712 years ago
Amanda is rad!
amandaghassaei (author)  Trecool7712 years ago
techbitar2 years ago
Love it!
TobaTobias2 years ago
Great project and very resoursefull! Hopefully I'll be able to do this without the ethernet shield.
amandaghassaei (author)  TobaTobias2 years ago
cool, what are planning to use it for?
I'd like to make a little Robot, I've been searching for weeks ways to send a tweet through arduino and processing, I checked the make it tweet guide but I couldn't find an answer because OAuth had been outdated or something changed in twitters app development. So I recently found a code from Robotgrrl with a new code for processing and it worked, so I just have to write a code for my arduino to connect with processing. Im using a PIR sensor to trigger the sketch. Hopefully I can find a cooler idea, like a robot than just a small simple PIR sensor. But for now the sensor good for tweaking. ;)
amandaghassaei (author)  TobaTobias2 years ago
cool, do you have a link to the processing code?
Sure, here it is;
Way to go Amanda !! Love this !!! I still have a pile of the old radio shack IC's and always dreamed of making them talk . This looks a lot more like something I can handle.
Keep up the awesome work ! Love your style !
binoyxj2 years ago
Always wanted to make something like this. Thank you, Amanda.
I love your instructables, Amanda. Keep 'em coming! We always learn something from them.
amandaghassaei (author)  stringstretcher2 years ago
thanks! good to hear!
themoose642 years ago
This is way to complicated for me to make ( or at least right now -I havent taken a tech class yet) But this is way COOL! Nice work!
amandaghassaei (author)  themoose642 years ago
it's actually not too hard. If you just follow the schematics closely and copy the code that I've written, you don't really need any electronics experience to get this up and running.
randofo2 years ago
This is some good thorough info that you have shared here Amanda.
amandaghassaei (author)  randofo2 years ago
thanks randy!