30006 Parallax Inc, 30006 Datasheet - Page 6

MODULE EMIC TTS SIP FEMALE

30006

Manufacturer Part Number
30006
Description
MODULE EMIC TTS SIP FEMALE
Manufacturer
Parallax Inc
Datasheet

Specifications of 30006

Module/board Type
Text-to-Speech SIP Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Parallax microcontroller
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
The Emic Platform has a 128-byte circular receive buffer, meaning that any combination of command and data must
be less than 128 bytes in order to be properly handled. If this limit is exceeded, the pointer in the buffer will reset to
the beginning and overwrite previously received characters. A single word may have a maximum length of 53
characters. Any words longer than 53 characters will be truncated.
The Emic Platform will process the buffer when it receives the termination character. In ASCII mode, the termination
character is a ";" (semicolon) or 0x0D byte (carriage return). In hexadecimal mode, it is a 0xAA byte. In order to clear
the receive buffer, such as in the case of a typo or error, a single termination character should be sent, depending on
the ASCII or hexadecimal mode of the Emic Platform.
In ASCII mode, if a valid command is entered and the operation is successful, the Emic Platform will respond with
"OK". If an incorrect command or data format is entered or if the operation has failed, the Emic Platform will respond
with "ERROR".
In hexadecimal mode, if a valid command is entered and the operation is successful, the Emic Platform returns a
single 0x55 byte. If an incorrect command or data format is entered or if the operation has failed, the Emic Platform
returns a single 0xFF byte.
Convert text to speech:
This command begins the text-to-speech conversion process using the passed text string. The audio will be output on
both the single-ended AOUT pin and the differential SP+/SP- speaker driver output. Refer to the sections on
Allowable ASCII Characters and Phonetic Alphabet for more details.
During this operation, the visible LED will remain RED and the BUSY line will be set HIGH until all passed text has
been converted to speech. Once the text-to-speech conversion begins, it will continue until the process is complete.
There is no way to interrupt the process, other than pulling the /RESET pin LOW to reinitialize the Emic Platform.
When the text-to-speech conversion is complete, the LED will return to GREEN and the BUSY line will be set LOW.
Set volume:
This command sets the audio output volume of the Emic Platform. A single byte, n, is passed along with the
command to specify the desired volume. A digitally controlled attenuator on the Emic Platform provides volume
control in 8 steps of 4 dB, referenced to the output. Total volume range is from -28 dB (softest, n = 0) to 0 dB
(loudest, n = 7). Default volume is set to -12 dB (n = 4).
In addition to the range of decimal numbers, "+" or "-" can also be passed to increment or decrement the current
volume by 1 step. This will have no effect if an increment command is sent when the volume is already at the loudest
setting or if a decrement command is sent when the volume is already at the softest setting. When the Emic Platform
is reset or when power is removed, the volume setting will revert to its default value.
6
Command example: Convert the text "hello" to audible speech
Command example: Set volume to n = 3 (-16dB)
To Emic Platform
From Emic Platform
To Emic Platform
From Emic Platform
ASCII
say=hello;
OK
ASCII
volume=3;
OK
Parallax, Inc. • Emic Text-To-Speech Module (#30006) • 02/2005
Hexadecimal
0x00, 0x68, 0x65, 0x6C, 0x6C, 0x6F,
0xAA
0x55
Hexadecimal
0x01, 0x33, 0xAA
0x55

Related parts for 30006