I have purchased a speech module from this site: http://www.robotshop.com
It is a speech muddle:
RB-Dfr-552
The code it had as a download, does not work.
Just my opinion, avoid ordering this product.
I have purchased a speech module from this site: http://www.robotshop.com
It is a speech muddle:
RB-Dfr-552
The code it had as a download, does not work.
Just my opinion, avoid ordering this product.
Dfr tells it is a DFRobot product and so does the logo on the board.
There's a lot of google results (600.000) for this product.
And most of those (had a peek at a few results from the 1st. page) have information, and downloads available.
I'm comfortable at saying there's plenty of support for this module.
Did you install the library correctly ?
Are you sure it isn't some mistake you might have made yourself ?
The code doesn't work - why not ?
There's a big chip on the shield.
The pictures and a bit of guessing taught me it is this chip: xfs5051ce, yielding 1320 Google hits.
There's got to be some useful information in there too.
Your opinion is noted -as such.
Alright, my opinion of the company has changed. They are allowing me to return the product.
I find that they have been helpful with troubleshooting, as well, they contacted the manufacturer.
With my debug additions, and there inquiries, we came to the conclusion that it can work, but has to be reset on the module every time it is to be used. This means, if you loose battery power, you will have to reset the boards after powering back up. This being said, if you never loose power to your project, it keeps working. You will have to seriously investigate the speed of each spoken word, as each one sounds better at a different speed. There is only one voice I could get to work, and it has some trouble with speech.
The code that I got to work is as follows (do not use the WikiLeaks version, just use mine):
#include <SpeechSynthesis.h>
void setup()
{
Serial.begin(9600);
}
//SPEECH VALUES
byte ssr[500];//define a character string
byte d[]={0xB3,0xC9,0xB6,0xBC,0xBC,0xAB,0xC8,0xA4};
//create something that calls Voice() here; perhaps in setup
void Voice()
{
SpeechSynthesis.buf_init(d);//Clear the buffer
delay(500);
SpeechSynthesis.buf_init(ssr);//Clear the buffer
SpeechSynthesis.English(ssr,4,"10");//volume in grade 5; 10 is top volume
SpeechSynthesis.English(ssr,2,"1");//was 10 = 1 slows down the next thing said, 10 is fast
SpeechSynthesis.English(ssr,6,"robot");//"6" means synthesis in English; "robot" is the content
SpeechSynthesis.English(ssr,4,"10");//volume in grade 5
SpeechSynthesis.English(ssr,2,"3");//was 10 = 1 slows down the next thing said, 10 is fast 1 = very slow, 2 = good
SpeechSynthesis.English(ssr,6,"awake");//"6" means synthesis in English; "awake" is the content
SpeechSynthesis.Espeaking(0,19,4,ssr);//Executive commands above,
}