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

How to Use SPEAKJET: Examples, Pinouts, and Specs

Image of SPEAKJET
Cirkit Designer LogoDesign with SPEAKJET in Cirkit Designer

Introduction

The SpeakJet by Magnevation is a compact and versatile sound synthesis IC designed to generate audio output for a wide range of applications. It is capable of producing speech, sound effects, and musical tones without the need for external processing. The SpeakJet is based on a 5-channel synthesizer and can generate over 72 speech elements, 43 sound effects, and 12 DTMF (Dual-Tone Multi-Frequency) tones. Its standalone operation and ease of integration make it ideal for use in toys, robotics, alarms, and other electronic projects requiring audio feedback or voice playback.

Explore Projects Built with SPEAKJET

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 SPEAKJET 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-Powered Voice-Controlled LED Lighting System
Image of ALEXA PROTOTYPE: A project utilizing SPEAKJET in a practical application
This is a voice-activated lighting system powered by a 12V battery, featuring two ESP32 microcontrollers for voice processing and light control. It includes an INMP441 microphone for audio input, a toggle switch for user interaction, and various LEDs for visual feedback. The system is designed to recognize specific voice commands to control the state of the LEDs.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Audio Player with GPS and SD Card Storage
Image of Kidventure: A project utilizing SPEAKJET 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
Arduino Mega ADK Airline Seat Booking System with LED Indicators
Image of Lab 4 - Booking System: A project utilizing SPEAKJET in a practical application
This circuit is an airline seat booking system using an Arduino Mega ADK microcontroller, 16 red LEDs, 6 resistors, and 4 pushbuttons. The LEDs represent seat availability, and the pushbuttons allow users to select and book seats, with the microcontroller managing the seat selection and booking process.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with SPEAKJET

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 SPEAKJET 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 ALEXA PROTOTYPE: A project utilizing SPEAKJET in a practical application
ESP32-Powered Voice-Controlled LED Lighting System
This is a voice-activated lighting system powered by a 12V battery, featuring two ESP32 microcontrollers for voice processing and light control. It includes an INMP441 microphone for audio input, a toggle switch for user interaction, and various LEDs for visual feedback. The system is designed to recognize specific voice commands to control the state of the LEDs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Kidventure: A project utilizing SPEAKJET 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
Image of Lab 4 - Booking System: A project utilizing SPEAKJET in a practical application
Arduino Mega ADK Airline Seat Booking System with LED Indicators
This circuit is an airline seat booking system using an Arduino Mega ADK microcontroller, 16 red LEDs, 6 resistors, and 4 pushbuttons. The LEDs represent seat availability, and the pushbuttons allow users to select and book seats, with the microcontroller managing the seat selection and booking process.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Robotics: Voice feedback and sound effects
  • Toys: Interactive sound generation
  • Alarms and security systems: Audible alerts
  • Educational projects: Speech synthesis for learning tools
  • DIY electronics: Custom sound effects and audio playback

Technical Specifications

The SpeakJet is a highly capable sound module with the following key specifications:

Parameter Value
Manufacturer Magnevation
Part Number SpeakJet
Operating Voltage 4.8V to 5.5V
Operating Current 15mA (typical)
Communication Interface Serial (TTL, 9600 baud default)
Audio Output PWM (Pulse Width Modulation)
Frequency Range 0 Hz to 4 kHz
Speech Elements 72 phonemes
Sound Effects 43 pre-programmed effects
DTMF Tones 12 tones
Package Type 18-pin DIP

Pin Configuration and Descriptions

The SpeakJet comes in an 18-pin DIP package. Below is the pinout and description:

Pin Number Pin Name Description
1 VCC Positive power supply (4.8V to 5.5V).
2 GND Ground connection.
3 OSC1 External oscillator input (connect to 3.58 MHz crystal).
4 OSC2 External oscillator output (connect to 3.58 MHz crystal).
5 RESET Active-low reset pin. Pull low to reset the SpeakJet.
6 BAUD Baud rate selection pin (connect to GND for 9600 baud).
7 RX Serial data input (TTL level).
8 TX Serial data output (TTL level).
9 A0 Address line 0 for parallel mode (leave unconnected for serial mode).
10 A1 Address line 1 for parallel mode (leave unconnected for serial mode).
11 A2 Address line 2 for parallel mode (leave unconnected for serial mode).
12 A3 Address line 3 for parallel mode (leave unconnected for serial mode).
13 A4 Address line 4 for parallel mode (leave unconnected for serial mode).
14 A5 Address line 5 for parallel mode (leave unconnected for serial mode).
15 A6 Address line 6 for parallel mode (leave unconnected for serial mode).
16 A7 Address line 7 for parallel mode (leave unconnected for serial mode).
17 SPK+ Positive PWM audio output. Connect to a speaker or amplifier.
18 SPK- Negative PWM audio output. Connect to a speaker or amplifier.

Usage Instructions

How to Use the SpeakJet in a Circuit

  1. Power Supply: Connect the VCC pin to a 5V power source and the GND pin to ground.
  2. Oscillator: Attach a 3.58 MHz crystal between the OSC1 and OSC2 pins. Add two 22pF capacitors from each pin to ground for stability.
  3. Serial Communication: Connect the RX pin to the TX pin of a microcontroller (e.g., Arduino UNO) for serial communication. Ensure the baud rate is set to 9600.
  4. Audio Output: Connect the SPK+ and SPK- pins to a speaker or an audio amplifier for sound output.
  5. Reset: Optionally, connect the RESET pin to a push button or microcontroller pin for manual or software reset functionality.

Important Considerations and Best Practices

  • Speaker Impedance: Use a speaker with an impedance of 8 ohms for optimal performance.
  • Decoupling Capacitor: Place a 0.1µF ceramic capacitor close to the VCC and GND pins to reduce noise.
  • Serial Commands: The SpeakJet accepts ASCII commands to generate speech and sound effects. Refer to the SpeakJet command set for details.
  • Avoid Overdriving: Do not exceed the recommended voltage and current ratings to prevent damage to the IC.

Example: Using SpeakJet with Arduino UNO

Below is an example of how to interface the SpeakJet with an Arduino UNO to generate speech:

// Include necessary libraries (if any)

// Define the SpeakJet RX pin
#define SPEAKJET_RX_PIN 3  // Connect SpeakJet RX to Arduino pin 3

void setup() {
  // Initialize serial communication at 9600 baud
  Serial.begin(9600);
  
  // Send a test command to SpeakJet
  Serial.println("Hello, SpeakJet!");  // Replace with SpeakJet-compatible commands
}

void loop() {
  // Example: Send a phoneme sequence to SpeakJet
  Serial.write(0xF0);  // Start of command
  Serial.write(0xC9);  // Phoneme for "Hello"
  Serial.write(0xF7);  // End of command
  
  delay(2000);  // Wait 2 seconds before repeating
}

Troubleshooting and FAQs

Common Issues

  1. No Sound Output

    • Cause: Incorrect wiring of the SPK+ and SPK- pins.
    • Solution: Verify the speaker or amplifier connections. Ensure the speaker impedance is 8 ohms.
  2. SpeakJet Not Responding

    • Cause: Incorrect baud rate or serial connection.
    • Solution: Ensure the baud rate is set to 9600 and the RX pin is correctly connected to the microcontroller's TX pin.
  3. Distorted Audio

    • Cause: Insufficient power supply or noisy environment.
    • Solution: Use a stable 5V power source and add decoupling capacitors near the IC.
  4. Reset Pin Not Working

    • Cause: Floating RESET pin.
    • Solution: Pull the RESET pin high using a 10kΩ resistor.

FAQs

  1. Can the SpeakJet operate without a microcontroller?

    • Yes, the SpeakJet can operate in standalone mode using parallel inputs or pre-programmed sequences.
  2. What is the maximum speaker power supported?

    • The SpeakJet outputs PWM signals, so an external amplifier is recommended for higher power speakers.
  3. Can I change the baud rate?

    • Yes, the baud rate can be adjusted by configuring the BAUD pin or using specific commands.
  4. Is the SpeakJet compatible with other microcontrollers?

    • Yes, the SpeakJet can interface with any microcontroller that supports TTL serial communication.

By following this documentation, you can effectively integrate the SpeakJet into your projects and troubleshoot common issues with ease.