Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use emic-2 TTS module: Examples, Pinouts, and Specs

Image of emic-2 TTS module
Cirkit Designer LogoDesign with emic-2 TTS module in Cirkit Designer

Introduction

The Emic-2 Text-to-Speech (TTS) module is a compact and versatile device designed to convert text input into natural-sounding speech. It supports multiple languages, including English and Spanish, and offers adjustable speech parameters such as pitch, speed, and volume. This module is ideal for applications in robotics, assistive technology, interactive kiosks, and other projects requiring audio feedback or voice interaction.

Common applications and use cases:

  • Robotics: Adding voice interaction to robots for enhanced user experience.
  • Assistive technology: Providing audio feedback for visually impaired users.
  • Interactive projects: Creating talking devices or systems for education and entertainment.
  • Home automation: Enabling voice notifications in smart home systems.

Explore Projects Built with emic-2 TTS module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based Voice Assistant with Battery-Powered Microphone and Speaker
Image of Minor: A project utilizing emic-2 TTS module in a practical application
This circuit is a voice-controlled system that uses an ESP32 microcontroller to process audio input from a microphone, send the data to a Gemini API for speech-to-text conversion, and output responses through a speaker. It includes an IR sensor for additional input, an LED for status indication, and a battery with a charging module for power management.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based GPS Tracker with Audio Input
Image of railmic: A project utilizing emic-2 TTS module in a practical application
This circuit features an ESP32 microcontroller connected to an INMP441 microphone and a GPS NEO 6M module. The ESP32 is configured to communicate with the INMP441 via I2S (Inter-IC Sound) using its D32, D33, and D25 pins for the clock, data, and word select lines, respectively. Additionally, the ESP32's TX2 and RX2 pins are used for UART communication with the GPS module, allowing the microcontroller to receive GPS data.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Portable Smart Speaker with Audio Input Processing
Image of talkAI: A project utilizing emic-2 TTS module in a practical application
This circuit features two ESP32 microcontrollers configured for serial communication, with one ESP32's TX0 connected to the other's RX2, and vice versa. An INMP441 microphone is interfaced with one ESP32 for audio input, using I2S protocol with connections for serial clock (SCK), word select (WS), and serial data (SD). A Max98357 audio amplifier is connected to the other ESP32 to drive a loudspeaker, receiving I2S data (DIN), bit clock (BLCK), and left-right clock (LRC), and is powered by a lipo battery charger module.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Audio Player with GPS and SD Card Storage
Image of Kidventure: A project utilizing emic-2 TTS module in a practical application
This circuit features an ESP32 microcontroller connected to a GPS NEO 6M module, an INMP441 microphone, a Max98357 audio amplifier, a MicroSD card breakout board, and a loudspeaker. The ESP32 is configured to communicate with the GPS module via serial connection, record audio through the microphone using I2S, play audio via the amplifier, and read/write data to the MicroSD card. The embedded code on the ESP32 is set up to use Google TTS (Text-To-Speech) to generate speech that is output through the loudspeaker.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with emic-2 TTS module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Minor: A project utilizing emic-2 TTS module in a practical application
ESP32-Based Voice Assistant with Battery-Powered Microphone and Speaker
This circuit is a voice-controlled system that uses an ESP32 microcontroller to process audio input from a microphone, send the data to a Gemini API for speech-to-text conversion, and output responses through a speaker. It includes an IR sensor for additional input, an LED for status indication, and a battery with a charging module for power management.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of railmic: A project utilizing emic-2 TTS module in a practical application
ESP32-Based GPS Tracker with Audio Input
This circuit features an ESP32 microcontroller connected to an INMP441 microphone and a GPS NEO 6M module. The ESP32 is configured to communicate with the INMP441 via I2S (Inter-IC Sound) using its D32, D33, and D25 pins for the clock, data, and word select lines, respectively. Additionally, the ESP32's TX2 and RX2 pins are used for UART communication with the GPS module, allowing the microcontroller to receive GPS data.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of talkAI: A project utilizing emic-2 TTS module in a practical application
ESP32-Based Portable Smart Speaker with Audio Input Processing
This circuit features two ESP32 microcontrollers configured for serial communication, with one ESP32's TX0 connected to the other's RX2, and vice versa. An INMP441 microphone is interfaced with one ESP32 for audio input, using I2S protocol with connections for serial clock (SCK), word select (WS), and serial data (SD). A Max98357 audio amplifier is connected to the other ESP32 to drive a loudspeaker, receiving I2S data (DIN), bit clock (BLCK), and left-right clock (LRC), and is powered by a lipo battery charger module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Kidventure: A project utilizing emic-2 TTS module in a practical application
ESP32-Based Audio Player with GPS and SD Card Storage
This circuit features an ESP32 microcontroller connected to a GPS NEO 6M module, an INMP441 microphone, a Max98357 audio amplifier, a MicroSD card breakout board, and a loudspeaker. The ESP32 is configured to communicate with the GPS module via serial connection, record audio through the microphone using I2S, play audio via the amplifier, and read/write data to the MicroSD card. The embedded code on the ESP32 is set up to use Google TTS (Text-To-Speech) to generate speech that is output through the loudspeaker.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

The Emic-2 TTS module is designed for ease of use and integration into various projects. Below are its key technical details and pin configuration.

Key Technical Details

Parameter Specification
Input Voltage 3.3V to 5.0V DC
Operating Current 30mA (typical), 50mA (maximum)
Communication Interface UART (9600 baud default)
Supported Languages English, Spanish
Audio Output Mono audio, 8-bit resolution
Adjustable Parameters Volume, pitch, speed
Dimensions 1.25" x 0.85" (31.75mm x 21.59mm)

Pin Configuration and Descriptions

Pin Name Pin Number Description
VCC 1 Power input (3.3V to 5.0V DC).
GND 2 Ground connection.
SOUT 3 Serial data output (for debugging or monitoring).
SIN 4 Serial data input (used to send commands and text to the module).
SP+ 5 Positive terminal for speaker connection (optional, for direct audio out).
SP- 6 Negative terminal for speaker connection (optional, for direct audio out).

Usage Instructions

The Emic-2 TTS module is straightforward to use and can be easily integrated into microcontroller-based projects, such as those using an Arduino UNO. Below are the steps to use the module effectively:

Connecting the Module

  1. Power the Module: Connect the VCC pin to a 3.3V or 5.0V power source and the GND pin to ground.
  2. Serial Communication: Connect the SIN pin to the TX pin of your microcontroller (e.g., Arduino UNO) and the SOUT pin to the RX pin (optional, for debugging).
  3. Audio Output:
    • For direct speaker output, connect a small 8-ohm speaker to the SP+ and SP- pins.
    • Alternatively, use the onboard 3.5mm audio jack for line-level output to an amplifier or headphones.

Sending Commands

The module uses simple ASCII commands to control its operation. For example:

  • S followed by text: Speak the provided text.
  • Vn: Set volume (n = 0 to 15).
  • Pn: Set pitch (n = 0 to 15).
  • Rn: Set speech rate (n = 0 to 15).

Example: Using with Arduino UNO

Below is an example Arduino sketch to send text to the Emic-2 module and make it speak:

#include <SoftwareSerial.h>

// Define the pins for software serial communication
SoftwareSerial emicSerial(2, 3); // RX = Pin 2, TX = Pin 3

void setup() {
  // Initialize serial communication with the Emic-2 module
  emicSerial.begin(9600); // Default baud rate for Emic-2
  delay(500); // Allow the module to initialize

  // Send a reset command to the module
  emicSerial.print("R\r"); // Reset the module
  delay(1000); // Wait for the module to reset

  // Send a test message
  emicSerial.print("SHello, I am the Emic-2 Text-to-Speech module.\r");
}

void loop() {
  // No actions in the loop for this example
}

Important Considerations

  • Power Supply: Ensure a stable power supply to avoid unexpected behavior.
  • Speaker Selection: Use an 8-ohm speaker for direct output or an amplifier for higher-quality audio.
  • Command Formatting: Always terminate commands with a carriage return (\r).
  • Initialization Delay: Allow the module a brief delay (500ms to 1s) after power-up or reset.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Audio Output:

    • Verify the power connections and ensure the module is receiving the correct voltage.
    • Check the speaker connections or use the 3.5mm audio jack for testing.
  2. Module Not Responding to Commands:

    • Ensure the correct baud rate (9600) is set in your microcontroller code.
    • Verify the SIN and SOUT connections between the module and the microcontroller.
  3. Distorted or Low-Quality Audio:

    • Use a properly rated 8-ohm speaker or an external amplifier for better sound quality.
    • Adjust the volume (Vn) command to an appropriate level.
  4. Text Not Being Spoken:

    • Ensure the text is properly formatted and terminated with a carriage return (\r).
    • Check for any syntax errors in the commands sent to the module.

FAQs

Q: Can the Emic-2 module play pre-recorded audio files?
A: No, the Emic-2 is designed specifically for text-to-speech conversion and does not support pre-recorded audio playback.

Q: How many languages does the module support?
A: The module supports two languages: English and Spanish.

Q: Can I use the module with a 3.3V microcontroller?
A: Yes, the module is compatible with both 3.3V and 5.0V systems.

Q: Is it possible to change the voice type?
A: Yes, the module offers multiple voice options that can be selected using specific commands.

By following this documentation, you can effectively integrate the Emic-2 TTS module into your projects and bring your ideas to life with natural-sounding speech!