DFR0273

DFR0273 Datasheet


Speech Synthesis Shield SKU:DFR0273

Part Datasheet
DFR0273 DFR0273 DFR0273 (pdf)
PDF Datasheet Preview
Speech Synthesis Shield SKU:DFR0273

Introduction

Do you want your robot speak up? Or did your plants ever mentioned they are thirsty? The Speech Synthesis Shield for Arduino makes it easy come true. It is time to give a voice to your robots and projects. The Speech Synthesis Shield is designed to be easily stacked upon any standard Arduinos. It uses a XFS5051CE speech synthesis chip from IFLYTEK which combines world leading technology and high degree of integration. Languages such as Chinese and English are both supported, dialects such as Cantonese and mixed speech are also functional with this module. It is very funny to make a weather forecast with broadcast voice. It is using UART communication to make it widely compatible with most controller boards.

Specification
• Baud
• A busy indicator LED
• A power indicator LED
• Voltage:+5V
• Size:56*53mm
• Weight 26 gram
• 11 levels of speaking speed
• Be able to speak Chinese
• Be able to speak English
• Both male and female voice supported
• Use the Serial ports of your Arduinos only

Get Started

Speech Synthesis Shield Please press RST button on the controller board after uploaded the sketch, or it will affect the normal use. Remember the "RST" button on the speech shield is only the speech synthesis chip. The busy led will be light once, when you press "RST".

Sample Code
#include <SpeechSynthesis.h> void setup

Serial.begin 9600 ;
byte ssr[500];//define a character string void loop SpeechSynthesis.buf_init ssr ;//Clear the buffer in grade 5 means synthesis in English "coo ki"is the content SpeechSynthesis.English ssr,4,"5" SpeechSynthesis.English ssr,6,"cooki Clock, reset and supply management" SpeechSynthesis.English ssr,2,"10" SpeechSynthesis.English ssr,6,"cooki Clock, reset and supply management" of speaking grade 5 SpeechSynthesis.English ssr,5," " ;//speed,volume,intomation are all set into default SpeechSynthesis.English ssr,6,"cooki Clock, reset and supply management" commands above, "0" is synt hesis command "19" select speaker "4" speech function
while Serial.read !=0x41 //waiting synthesis complete
while Serial.read !=0x4F //waiting play complete

SpeechSynthesis.buf_init ssr SpeechSynthesis.English ssr,6,"hello cooki 123" SpeechSynthesis.Espeaking 0,19,4,ssr ;
while Serial.read !=0x41 while Serial.read !=0x4F

SpeechSynthesis.buf_init ssr SpeechSynthesis.English ssr,6,"hello cooki 123" SpeechSynthesis.Espeaking 0,19,7,ssr ;
while 1 ;

Commands List with Library V2

Here is the NEW Speech Synthesis library V2, it fixed some bugs about the number synthesis. A complete command is composed by three sections Initialization Function, Speech Synthesis Function and Execute Function.

Initialization Function

SpeechSynthesis.buf_init ssr ;

It will clear all buffer on your board, and initialize chip setting.

Speech Synthesis Function

SpeechSynthesis.English char sr[ ],byte cmd,char a[ ] sr[ ]-->the content which will be read by the module cmd -->the command which will be sent to the module a[ ] -->the content

Speech Synthesis Shield

SpeechSynthesis.English ssr,4,"5" ;

SpeechSynthesis.English ssr,6,"cooki" "cooki"is the content
//volume in grade 5 //"6" means synthesis in English;

Execute Function

SpeechSynthesisClass::Espeaking byte cmda ,byte cmdb,byte cmdc,char c[] cmda-->Working mode cmdb-->Select speaker cmdc-->Speaking Command format c[ ] -->the content

For SpeechSynthesis.Espeaking 0,19,4,ssr //"0" means command speech synthesis command ;"19" means the choice who to speak;"4" means the format of reading;"ssr" store the content.
char cmda
/*parameter value*/ meaning /*0*/ Speech Synthesis Command /*1*/ Stop Speech Synthesis Command /*2*/ Pause Speech Synthesis Command /*3*/ Resume Speech Synthesis Command /*4*/ Check Status /*5*/ Enter power-save mode
byte cmdb
/*parameter value*/ meaning /*0*/Men am XuJiu” /*1*/Men am XuDuo” /*2*/Women am XiaoPin” /*3*/Donald Duck am a Duck” /*4*/Girls am a girl” /*5*/Yong Woman am XuDuo” /*6*/Men am John”(English /*7*/Women am Terry”(English /*8*/Women am Catherine”(English /*9*/~/*16*/ Chinese Dialect If you are interested in this, you could try it one by one, it is very funny! /*17*/Boys am John” /*18*/Girls am Lina” /*19*/Women am Robot”
char cmdc
/*parameter value*/ meaning /*4*/123km Synthesised hundred and twenty three kilometres” /*6*/Words“you” Synthesised /*7*/Words“you” Synthesised
5-30-17
More datasheets: EMS090200-P5RP-SZ | EMS120150-P5P-SZ | EMS050320-P5P-SZ | EMS060300-P5P-SZ | EMS090200-P5P-SZ | EMS150120-P5P-SZ | EMS180100-P5P-SZ | EMS240075-P5P-SZ | MV7442 | BSS110


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DFR0273 Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0273 508701