Stufin
Home Quick Cart Profile

ISD1820 Sound Voice Board Recording Module

Buy Now on Stufin

Recording Mode

The module records audio signals from the microphone or input source and stores the data in its internal Flash memory.

Playback Mode

The module plays back the recorded audio data through an external speaker or output device.

Standby Mode

The module is in a low-power standby state, waiting for a trigger or command to enter recording or playback mode.

Key Features

  • High-Quality Audio Recording: The module can record audio signals with a high signal-to-noise ratio (SNR) and a sampling frequency of up to 44.1 kHz, ensuring clear and crisp audio quality.
  • Large Internal Flash Memory: The module has a built-in 8MB Flash memory, allowing for the storage of up to 1 minute of audio data (depending on the sampling frequency and bit rate).
  • Low Power Consumption: The module operates at a low voltage (2.4V to 3.6V) and has a low current consumption (typically 10mA), making it suitable for battery-powered devices.
  • Simple Command Set: The module uses a simple and intuitive command set, allowing developers to easily control the recording and playback functions using a microcontroller or other external device.
  • On-Board Microphone: The module features an on-board microphone, eliminating the need for an external microphone and simplifying the overall design.
  • External Speaker or Output: The module has an external speaker or output terminal, allowing developers to connect a speaker or other audio device for playback.
  • Compact Size: The module has a compact size (approximately 25mm x 20mm), making it ideal for space-constrained IoT applications.

Technical Specifications

Supply Voltage

2.4V to 3.6V

Current Consumption

Typically 10mA (recording), 5mA (playback), and 1mA (standby)

Recording Time

Up to 1 minute (depending on the sampling frequency and bit rate)

Sampling Frequency

Up to 44.1 kHz

Bit Rate

Up to 128 kbps

Internal Flash Memory

8MB

Operating Temperature

-20C to 70C

Storage Temperature

-40C to 85C

Humidity

5% to 95% (non-condensing)

Applications

The ISD1820 Sound Voice Board Recording Module is suitable for various IoT applications, including

Voice assistants and smart home devices

Wearable devices and fitness trackers

Toy and game development

Industrial automation and control systems

Medical and healthcare devices

Conclusion

The ISD1820 Sound Voice Board Recording Module is a versatile and cost-effective solution for capturing and storing high-quality audio recordings in various IoT applications. Its compact size, low power consumption, and simple command set make it an ideal choice for developers and designers looking to add audio recording and playback functionality to their designs.

Pin Configuration

  • ISD1820 Sound Voice Board Recording Module Pinout and Connection Guide
  • The ISD1820 Sound Voice Board Recording Module is a popular IoT component used for recording and playing back audio messages. It features a compact design and ease of use, making it an ideal choice for various applications, including voice-activated systems, toys, and interactive projects. This documentation provides a detailed explanation of the module's pins and their connections.
  • Pinout:
  • The ISD1820 module has a total of 8 pins, which are arranged in two rows of 4 pins each. The pins are labeled as follows:
  • Top Row:
  • 1. VCC (Power Supply - Positive)
  • 2. GND (Ground - Negative)
  • 3. SPK+ (Speaker Positive)
  • 4. SPK- (Speaker Negative)
  • Bottom Row:
  • 1. REC (Record Pin)
  • 2. PBTN (Playback Button Pin)
  • 3. LED (LED Indicator Pin)
  • 4. MIC (Microphone Pin)
  • Pin Connection Guide:
  • Here's a point-by-point guide on how to connect the pins:
  • 1. VCC (Power Supply - Positive)
  • Connect to a power source (e.g., a battery or a voltage regulator) that provides a stable 3-5V DC voltage.
  • Ensure the power supply can provide sufficient current (typically 10-50mA) to power the module.
  • 2. GND (Ground - Negative)
  • Connect to the negative terminal of the power source (e.g., battery or voltage regulator).
  • This pin serves as the ground reference for the module.
  • 3. SPK+ (Speaker Positive)
  • Connect to the positive terminal of a speaker or buzzer.
  • This pin provides the audio signal to the speaker.
  • 4. SPK- (Speaker Negative)
  • Connect to the negative terminal of a speaker or buzzer.
  • This pin completes the audio signal circuit to the speaker.
  • 5. REC (Record Pin)
  • Connect to a digital output pin of a microcontroller (e.g., Arduino or Raspberry Pi) or a logic level shifter.
  • This pin is used to trigger the recording function of the module.
  • 6. PBTN (Playback Button Pin)
  • Connect to a digital output pin of a microcontroller (e.g., Arduino or Raspberry Pi) or a logic level shifter.
  • This pin is used to trigger the playback function of the module.
  • 7. LED (LED Indicator Pin)
  • Connect to an LED indicator through a suitable current-limiting resistor (e.g., 1k).
  • This pin provides a visual indication of the module's status (e.g., recording, playback, or idle).
  • 8. MIC (Microphone Pin)
  • Connect to a microphone or an external audio source.
  • This pin captures the audio signal for recording or playback.
  • Additional Notes:
  • Ensure all connections are made securely and avoid short circuits, which can damage the module.
  • Use a suitable power supply and decoupling capacitors to minimize noise and ensure stable operation.
  • The ISD1820 module is designed for 3-5V operation; using higher voltages may damage the module.
  • Consult the module's datasheet and your microcontroller's documentation for specific connection and usage guidelines.
  • By following this pinout and connection guide, you can easily integrate the ISD1820 Sound Voice Board Recording Module into your IoT projects and applications.

Code Examples

ISD1820 Sound Voice Board Recording Module Documentation
Overview
The ISD1820 Sound Voice Board Recording Module is a compact, low-power audio recording module designed for various IoT applications. It features a high-quality audio codec, a microphone, and a low-noise amplifier, making it an ideal component for voice-activated devices, audio recorders, and other sound-based projects.
Key Features
High-quality audio recording (up to 16-bit, 32 kHz)
 Low power consumption (< 10 mA)
 Onboard microphone and low-noise amplifier
 Supports external microphone input
 Compatible with 3.3V and 5V microcontrollers
Pins and Interfaces
VCC: Power supply (3.3V or 5V)
 GND: Ground
 MIC: External microphone input
 PLAY: Playback mode selection pin
 REC: Record mode selection pin
 busy: Busy indicator pin
 OUT: Audio output pin
 SDO: SPI data output pin
 SCK: SPI clock pin
 CS: SPI chip select pin
Code Examples
### Example 1: Basic Audio Recording using Arduino
This example demonstrates how to use the ISD1820 module to record a 10-second audio clip using an Arduino board.
```c
#include <SPI.h>
#define ISD1820_CS  10  // Chip select pin
#define ISD1820_REC  9  // Record mode selection pin
#define ISD1820_PLAY 8  // Playback mode selection pin
void setup() {
  pinMode(ISD1820_CS, OUTPUT);
  pinMode(ISD1820_REC, OUTPUT);
  pinMode(ISD1820_PLAY, OUTPUT);
  SPI.begin();
}
void loop() {
  // Start recording
  digitalWrite(ISD1820_REC, HIGH);
  delay(10  1000); // Record for 10 seconds
  digitalWrite(ISD1820_REC, LOW);
// Play back the recorded audio
  digitalWrite(ISD1820_PLAY, HIGH);
  delay(10  1000); // Play back the recorded audio
  digitalWrite(ISD1820_PLAY, LOW);
}
```
### Example 2: Audio Recording with External Microphone using Raspberry Pi (Python)
This example shows how to use the ISD1820 module with an external microphone and a Raspberry Pi to record a 5-second audio clip.
```python
import RPi.GPIO as GPIO
import time
import spidev
# Set up GPIO pins
GPIO.setmode(GPIO.BCM)
ISD1820_CS = 17
ISD1820_REC = 23
GPIO.setup(ISD1820_CS, GPIO.OUT)
GPIO.setup(ISD1820_REC, GPIO.OUT)
# Set up SPI interface
spi = spidev.SpiDev()
spi.open(0, 0)
spi.max_speed_hz = 1000000
def record_audio():
  # Start recording
  GPIO.output(ISD1820_REC, GPIO.HIGH)
  time.sleep(5)  # Record for 5 seconds
  GPIO.output(ISD1820_REC, GPIO.LOW)
# Read the recorded audio data
  audio_data = bytearray(32000)  # 16-bit audio, 32 kHz, 5 seconds
  spi.xfer2([0x03] + list(audio_data))  # Read audio data via SPI
return audio_data
# Record audio
audio_data = record_audio()
# Save the recorded audio to a file (e.g., "audio.wav")
with open("audio.wav", "wb") as f:
  f.write(audio_data)
```
### Example 3: Audio Playback using ESP8266 (MicroPython)
This example demonstrates how to use the ISD1820 module with an ESP8266 board to play back a pre-recorded audio file.
```python
import machine
import os
# Set up GPIO pins
isd1820_cs = machine.Pin(5, machine.Pin.OUT)
isd1820_play = machine.Pin(4, machine.Pin.OUT)
# Set up SPI interface
spi = machine.SPI(0, baudrate=1000000, polarity=0, phase=0)
# Load the pre-recorded audio file
with open("audio.bin", "rb") as f:
  audio_data = f.read()
# Play back the audio
isd1820_cs.value(0)  # Select the ISD1820 module
isd1820_play.value(1)  # Enter playback mode
spi.write(audio_data)  # Send the audio data via SPI
isd1820_play.value(0)  # Exit playback mode
isd1820_cs.value(1)  # Deselect the ISD1820 module
```
These code examples demonstrate the basic functionality of the ISD1820 Sound Voice Board Recording Module. You can modify and expand upon these examples to suit your specific IoT project requirements.