Stufin
Home Quick Cart Profile

ISD1820 3-5V Voice Module Recording And Playback Module with Microphone and 0.5W Speaker

Buy Now on Stufin

Component Name

ISD1820 3-5V Voice Module Recording And Playback Module with Microphone and 0.5W Speaker

Overview

The ISD1820 Voice Module is a compact, low-power recording and playback module designed for various IoT applications, including voice assistants, smart home devices, and interactive toys. This module integrates a microphone, speaker, and audio processing circuitry, making it a comprehensive solution for voice-based interactions.

Functionality

  • Recording: Capturing high-quality audio signals using the built-in microphone, which is optimized for voice recording.
  • Playback: Playing back recorded audio through the integrated 0.5W speaker.
  • Audio Processing: Performing basic audio processing tasks, such as amplification, filtering, and compression.
The ISD1820 Voice Module is capable of

Key Features

  • Operating Voltage: 3-5V, making it suitable for battery-powered devices or systems with low-voltage power supplies.
  • Low Power Consumption: The module is designed to consume low power, minimizing energy waste and prolonging battery life.
  • High-Quality Audio: Supports high-quality audio recording and playback, ensuring clear and crisp sound reproduction.
  • Built-in Microphone: A high-sensitivity microphone is integrated into the module, eliminating the need for an external microphone.
  • 0.5W Speaker: A compact, high-efficiency speaker is included, capable of producing clear and loud audio output.
  • Simple Interface: The module features a simple, 5-pin interface (VCC, GND, REC, PLAY, and SPK) for easy integration with microcontrollers or other devices.
  • Small Form Factor: The module measures only 25mm x 20mm, making it ideal for compact IoT devices or projects with limited space.
  • Supports Multiple Audio Formats: The ISD1820 Voice Module can record and play back audio in various formats, including PCM, WAV, and ADPCM.
  • On-Board Flash Memory: The module features on-board flash memory for storing recorded audio data.

Applications

  • Voice assistants and smart speakers
  • Interactive toys and games
  • Smart home devices and automation systems
  • Wearable devices and fitness trackers
  • Robotics and autonomous systems
  • Industrial control systems and monitoring devices
The ISD1820 Voice Module is suitable for a wide range of IoT applications, including

Technical Specifications

| Parameter | Value |

| --- | --- |

| Operating Voltage | 3-5V |

| Current Consumption | 50mA (recording), 100mA (playback) |

| Audio Format | PCM, WAV, ADPCM |

| Sample Rate | 8kHz, 16kHz, 32kHz |

| Bit Depth | 8-bit, 16-bit |

| Speaker Power | 0.5W |

| Microphone Sensitivity | -42dB 3dB |

| Flash Memory | 128KB (maximum) |

| Dimensions | 25mm x 20mm x 10mm |

Conclusion

The ISD1820 Voice Module is a compact, low-power, and feature-rich solution for IoT applications requiring voice recording and playback capabilities. Its ease of use, high-quality audio, and small form factor make it an ideal choice for a wide range of projects and designs.

Pin Configuration

  • ISD1820 3-5V Voice Module Recording And Playback Module with Microphone and 0.5W Speaker
  • Pin Description:
  • The ISD1820 Voice Module has 7 pins, which are described below:
  • 1. VCC (Power Supply):
  • Pin Function: Positive power supply pin
  • Voltage Range: 3-5V
  • Connection: Connect to a power source (e.g., a battery or a voltage regulator output) that provides a stable 3-5V supply.
  • 2. GND (Ground):
  • Pin Function: Ground pin
  • Connection: Connect to the ground of the power source and the circuit.
  • 3. MIC (Microphone Input):
  • Pin Function: Analog audio input from the built-in microphone
  • Connection: No direct connection required. The microphone is integrated into the module.
  • 4. REC (Record):
  • Pin Function: Record control pin (active low)
  • Connection: Connect to a digital output of a microcontroller (e.g., Arduino) to control the recording function. Pull the pin low to start recording, and pull it high to stop recording.
  • 5. PLAYE (Playback Enable):
  • Pin Function: Playback control pin (active high)
  • Connection: Connect to a digital output of a microcontroller (e.g., Arduino) to control the playback function. Pull the pin high to start playback, and pull it low to stop playback.
  • 6. SPK (Speaker Output):
  • Pin Function: Analog audio output to the built-in speaker
  • Connection: Connect to a speaker or an audio circuit for playback.
  • 7. Busy:
  • Pin Function: Busy status indicator (active high)
  • Connection: Connect to a digital input of a microcontroller (e.g., Arduino) to monitor the busy status of the module. The pin goes high when the module is busy recording or playing back audio, and low when it's idle.
  • Connection Structure:
  • To use the ISD1820 Voice Module, follow this connection structure:
  • 1. Connect VCC to a 3-5V power source.
  • 2. Connect GND to the ground of the power source and the circuit.
  • 3. Connect MIC to the internal microphone (no external connection required).
  • 4. Connect REC to a digital output of a microcontroller (e.g., Arduino) to control the recording function.
  • 5. Connect PLAYE to a digital output of a microcontroller (e.g., Arduino) to control the playback function.
  • 6. Connect SPK to a speaker or an audio circuit for playback.
  • 7. Connect Busy to a digital input of a microcontroller (e.g., Arduino) to monitor the busy status of the module.
  • Note: Make sure to use appropriate voltage levels and current ratings for the power supply, speaker, and other components to avoid damage to the module or other components in the circuit.

Code Examples

ISD1820 3-5V Voice Module Recording And Playback Module with Microphone and 0.5W Speaker
The ISD1820 is a compact, low-power voice module that integrates a microphone, speaker, and recording/playback functionality. It operates on a 3-5V power supply and is suitable for various IoT applications, such as voice-controlled systems, audio assistants, and autonomous devices.
Pinout and Connections
VCC: 3-5V power supply
 GND: Ground
 MIC: Microphone input
 SPK: Speaker output
 REC: Record button input
 PLAY: Play button input
 busy: Busy indicator output (high when recording or playing)
Operation
The ISD1820 can operate in two modes: recording and playback.
### Recording Mode
To enter recording mode, pull the REC pin low. The module will start recording audio through the built-in microphone and store it in internal memory. The recording time is approximately 10 seconds. When the recording is complete, the busy pin will go low.
### Playback Mode
To enter playback mode, pull the PLAY pin low. The module will play back the recorded audio through the built-in speaker. The busy pin will go high during playback and return to low when playback is complete.
Code Examples
### Example 1: Basic Recording and Playback (Arduino)
This example demonstrates basic recording and playback functionality using an Arduino board.
```c
const int REC_PIN = 2;  // Record button pin
const int PLAY_PIN = 3;  // Play button pin
void setup() {
  pinMode(REC_PIN, OUTPUT);
  pinMode(PLAY_PIN, OUTPUT);
}
void loop() {
  // Record audio
  digitalWrite(REC_PIN, LOW);
  delay(100);  // Wait for recording to start
  delay(10000);  // Record for 10 seconds
  digitalWrite(REC_PIN, HIGH);
// Play back recorded audio
  digitalWrite(PLAY_PIN, LOW);
  delay(100);  // Wait for playback to start
  while (digitalRead(PLAY_PIN) == HIGH) {
    // Wait for playback to complete
  }
  digitalWrite(PLAY_PIN, HIGH);
  delay(1000);  // Wait for 1 second before repeating
}
```
### Example 2: Voice-Controlled LED (Raspberry Pi with Python)
This example demonstrates a voice-controlled LED system using a Raspberry Pi and Python.
```python
import RPi.GPIO as GPIO
import time
# Set up GPIO pins
GPIO.setmode(GPIO.BCM)
REC_PIN = 17  # Record button pin
PLAY_PIN = 23  # Play button pin
LED_PIN = 24  # LED pin
GPIO.setup(REC_PIN, GPIO.OUT)
GPIO.setup(PLAY_PIN, GPIO.OUT)
GPIO.setup(LED_PIN, GPIO.OUT)
try:
    while True:
        # Record audio
        GPIO.output(REC_PIN, GPIO.LOW)
        time.sleep(0.1)
        time.sleep(10)  # Record for 10 seconds
        GPIO.output(REC_PIN, GPIO.HIGH)
# Play back recorded audio
        GPIO.output(PLAY_PIN, GPIO.LOW)
        time.sleep(0.1)
        while GPIO.input(PLAY_PIN) == GPIO.HIGH:
            # Wait for playback to complete
            pass
        GPIO.output(PLAY_PIN, GPIO.HIGH)
# Check if audio contains specific command
        # (e.g., "turn on light")
        if audio_contains_command("turn on light"):
            GPIO.output(LED_PIN, GPIO.HIGH)
        elif audio_contains_command("turn off light"):
            GPIO.output(LED_PIN, GPIO.LOW)
except KeyboardInterrupt:
    GPIO.cleanup()
```
Note: The `audio_contains_command()` function is a placeholder for a speech recognition library or implementation specific to your project.
Additional Resources
ISD1820 datasheet
 Application notes and schematics
 IoT project examples and tutorials
By following these examples and understanding the operation of the ISD1820 voice module, you can integrate this component into various IoT projects and applications.