> ## Documentation Index
> Fetch the complete documentation index at: https://learn.pcbcupid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Single-Channel I2S Microphone

> Interface a single-channel ICS43434 I2S MEMS microphone with a Glyph ESP32 development board to capture digital audio for voice and sound projects.

[Shop now](https://shop.pcbcupid.com/product/gs001/)

3D VIEW

<dialog>×</dialog>

A **single-channel microphone** is a device designed to capture audio and output it as a single-channel signal (mono). This is the most common type of microphone used in applications like speech, music recording, or public addressing systems.

The **ICS-43434** digital I2S output bottom port microphone. The complete ICS-43434 solution consists of a MEMS sensor, signal conditioning, an analog-to-digital converter, decimation and antialiasing filters, power management, and an industry standard 24-bit I²S interface. The I²S interface allows the ICS-43434 to connect directly to digital processors, such as DSPs and microcontrollers, without the need for an audio codec in the system.

The ICS-43434 has multiple modes of operation: High Performance, Low Power (AlwaysOn) and Sleep. The ICS-43434 has high SNR and 120 db SPL AOP in all operational modes.

> [!WARNING]
>
> **End of Life (EOL) Notice**: The **ICS43434** sensor has reached its End of Life. For more details and suggested replacements, please refer to the official [TDK InvenSense Product Page](https://invensense.tdk.com/en-us/products/ics-43434).

## Pin Configuration

* VDD: Power supply for the microphone (1.62V to 3.63V).
* GND: Ground connection.
* WS: Word Select (Frame Sync) input for I²S interface.
* SCK: Serial Clock input for I²S interface.
* SD: Serial Data output.
* L/R: Left/Right channel select. Determines whether the device outputs data on the left or right channel.

## Key Features

* Operating Voltage: 1.62V to 3.63V
* Current Consumption (Typical): 490 µA
* Sleep Current : 12uA
* Acoustic Overload Point: 120 dB SPL
* Signal-to-Noise Ratio (SNR): 65 dB(A)
* Frequency Response: 60 Hz to 20 kHz
* Sensitivity: -26 dBFS ±1 dB
* Interface: I²S (Integrated Interchip Sound)
* Output Format: 24-bit, two’s complement
* Channel Selection: Left/Right selectable via L/R pin
* Application Suitability: Optimized for voice capture and far-field audio

## Application

* Speech Recording: Captures clear voice signals for podcasts, interviews, or telecommunication.
* Music Recording: Records instruments or vocals in studios.
* Public Address Systems: Amplifies a speaker’s voice for large audiences.
* Broadcasting: Used in radio and TV stations for high-quality voice capture.

## Step 1: Hardware Required

1. Glyph Boards
2. Gsense 1CH Microphone

## Step 2: Circuit Diagram

![pcbcupid\_microsdcard](https://files.pcbcupid.com/Documentation/Boards/g-sense/1ChMic/pcbcupid_microphonech1.avif)

## Step 3: Code Setup

1. **Open Arduino IDE.**
2. **Make sure to install the "[Audio Tool](https://github.com/pschatzmann/arduino-audio-tools)" library**
3. **Copy and paste the following code into the Arduino IDE:**

```cpp theme={null}
#include "AudioTools.h"

AudioInfo info(44100, 1, 32);
I2SStream i2sStream; // Access I2S as stream
CsvOutput<int32_t> csvOutput(Serial);
StreamCopy copier(csvOutput, i2sStream); // copy i2sStream to csvOutput

// Arduino Setup
void setup(void) 
{
    Serial.begin(115200);
    AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Info);
    
    auto cfg = i2sStream.defaultConfig(RX_MODE);
    cfg.copyFrom(info);
    cfg.i2s_format = I2S_STD_FORMAT; // or try with I2S_LSB_FORMAT
    cfg.pin_ws = 22;
    cfg.pin_bck = 20;
    cfg.pin_data_rx = 21; //SD Pin
    cfg.is_master = true; 
    cfg.use_apll = false;
    i2sStream.begin(cfg);

    // make sure that we have the correct channels set up
    csvOutput.begin(info);
}

// Arduino loop - copy data
void loop() 
{
    copier.copy();
}
```

## Step 4: Upload the Code

1. **Connect the Board**

* Connect your GLYPH board to your computer

2. **Select the Board and Port**

Do the following settings in your Arduino IDE,

* `Tools > Board > esp32 > Pcbcupid GLYPH C6`

> [!WARNING]
>
> For the `Pcbcupid Glyph C3 ` to appear under `Tools > Board > esp32`, the esp32 board version installed in the Arduino IDE should be greater or equal to 3.1.0.

* `Tools > Port` and select the port connected to your GLYPH.
* `Tools > USB CDC on Boot >` ***Enabled***

> [!WARNING]
>
> If `USB CDC on BOOT` not enabled, you won't be seeing any serial data on Arduino IDE.

3. **Upload the Code**

   * Click the upload button (➡️ icon) or use the shortcut `CRTL + U` in Arduino IDE to upload the code to the board.

## Step 4: Observe the output

The output can be visualized in the plotter of Arduino IDE, Please check the below image for reference

Output on Arduino IDE 1.x

![PCBCUPID\_arduino\_IDE\_1.x](https://files.pcbcupid.com/Documentation/Boards/g-sense/1ChMic/pcbcupid-ics43434-1ch-microphone-oldIDE.avif)

Output on Arduino IDE 2.x

![pcbcupid-arduino-ide-2.x](https://files.pcbcupid.com/Documentation/Boards/g-sense/1ChMic/pcbcupid-ics43434-1ch-microphone.avif)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.