Microphone

Microphone

Microphone module for audio input, sound detection, and recording

High-quality microphone module designed for audio capture applications. Features low noise and high sensitivity for clear audio recording via digital I2S interface.

For ages 14 and up. Not a toy. Contains small parts: choking hazard. Keep away from children under 3. Adult supervision recommended.

Made by Atech ApS, Lille Strandstræde 6A, st. th., 1254 København K, Denmark.

Technical specifications

Part
I2S MEMS Microphone (ICS-43434)
Interface
Digital
Ports
2 neighbouring ports
Current
~5 mA
Size
39.5 x 19.5 x 10.8 mm
Chip
ICS-43434 (TDK InvenSense)

Pins

3.3V (first port)
supply
GND (first port)
ground
Data A (first port)
LR, left/right channel select
Data B (first port)
WS, word select
3.3V (second port)
supply
GND (second port)
ground
Data A (second port)
SCK, serial clock
Data B (second port)
SD, serial data

Key features

  • High signal-to-noise ratio
  • Digital I2S output
  • Compact double-width design

Common applications

Voice recording
Voice commands
Audio monitoring
Sound detection
+ Use in Project

Technical

Audio

Microphone

I2S MEMS Microphone (ICS-43434)
Interfacedigital
PortsTakes 2 adjacent ports; needs a port carrying digital
Current5 mA
Size39.5 × 10.84 × 19.5 mm (CAD bounding box)
DriverMicrophone

I2S MEMS microphone for audio capture and sound level detection. Double module spanning two adjacent ports: LR select on Line A1, WS on Line B1, SCK on Line A2, SD on Line B2. 24-bit output, 16kHz sample rate.

What it can do
  • get_sound_level Get current RMS sound level (0-32767)
  • is_sound_detected Check if sound exceeds a threshold
  • get_peak_amplitude Get peak amplitude since last read (resets after read)
  • get_samples Copy raw audio samples into a buffer
  • start_recording Start recording audio into heap buffer (up to 10 seconds)
  • stop_recording Stop recording audio
  • is_recording Check if currently recording
  • get_recording Get pointer to recorded audio buffer for playback
  • get_recording_length Get number of recorded samples
  • set_channel Select left or right channel (LR pin)
How it works
MICROPHONE MODULE (I2S ICS-43434):
- getSoundLevel() returns RMS level 0-32767. Call it periodically, not in a tight loop.
- isSoundDetected(threshold) is a convenience check; the default threshold is 500.
- For recording: startRecording() → wait → stopRecording() → getRecording() returns const int16_t*.
- getRecordingLength() returns sample count. Max ~10 seconds at 16kHz.
- getRecording() returns a CONST pointer. Pass it to speaker.writeSamples() for playback.
- Do NOT call getRecording() without const: use "const int16_t* buf = mic.getRecording();"
- getPeakAmplitude() resets after each read; use it for beat/clap detection.
Suggested control

A live VU-meter bar driven by sensor-level events, plus a Record/Stop toggle that dispatches the matching action. Show a 30-second timeline of recent levels below the meter so users can see speech vs silence at a glance.

Pinout V1.0 · V2.0
Port 1
PinLineDirFunction
1HV–not connected
25V–not connected
33.3Vinputsupply
4GND–ground
5Data AinputLR, left/right channel select
6Data BinputWS, word select
Port 2
PinLineDirFunction
7HV–not connected
85V–not connected
93.3Vinputsupply
10GND–ground
11Data AinputSCK, serial clock
12Data BinputSD, serial data

from p2p/ground_truth/hardware/prototyping_line/modules/microphone.md

Chip
ICS-43434TDK InvenSensedatasheet ↗