Small Module Allows New Products to Speak: Page 3 of 3

With home automation assistance devices like Apple Siri and the Amazon Echo, non-intrusive voice synthesis devices are becoming common.

!= ':');   // wait for ':' character

After uploading the modified Talking Logic Probe sketch with the DecTalk set voice command, Huge Harry (Francisco) will be heard through the 8ohm speaker.

Wx: Set the EMIC 2 TTS module’s speaking rate (words/minute)

Depending on the application, the speaking rate may need adjusting for clarity and understanding of the message. The range of values that are accepted by the EMIC 2 is 75(slowest) to 600(fastest). The default speaking rate value is set to 200. The example Arduino code to set the EMIC 2 TTS module’s rate is shown below.

        // Set speaking rate
       while ( != ':');   // wait for ':' character

Lx: Set the EMIC 2 TTS module’s language

The final DecTalk Speech Command is selecting a language for the EMIC2 TTS Module. The default language is English (0) but two other languages can be selected for the EMIC 2 as shown below.

          1. Castilian Spanish
          2. Latin Spanish
        // Set language
       while ( != ':');   // wait for ':' character

Additional information on pricing, application notes, design documentation and example programming code can be found at Parallax Inc’s website. Details on how to build a Talking Logic probe for testing digital and microcontroller circuits may be found in the Arduino Electronics Blueprints book published by Packt Publishing.


ESC, Embedded Systems Conference, BostonAdvanced Technologies for 21st Century Embedded Systems. Join the discussion on the current trend toward cognitive (thinking/reasoning) embedded systems, artificial neural networks, deep learning, machine vision, virtual and augmented realities, and how all these technologies are coming together at ESC Boston , May 3-4. Will we see you in the halls of the Boston Convention & Exhibition Center? Register today for this can't miss event!


Don Wilcher is a passionate teacher of electronics technology and an electrical engineer with 26 years of industrial experience. He’s worked on industrial robotics systems, automotive electronic modules/systems, and embedded wireless controls for small consumer appliances. He’s also a book author, writing DIY project books on electronics and robotics technologies.


These modules have been around for almost 30 years and are cheaper in quantity:

Another alternative for speech synthesis is to use the Raspberry Pi. It would also be cheaper, especially using the Raspebbry Pi Zero and more flexible. For example: Off-line speech recognition is also becoming available for the RPi. See:

Add new comment

By submitting this form, you accept the Mollom privacy policy.