Demo

December 19, 2021 ยท View on GitHub

Watch the micro speech video

Setup

Using a single INMP441 Microphone:

WireRP2 PinINMP441 Pin
RED3v3VDD
WHITEGNDGND
YELLOWGPIO 12WS
GREENGPIO 11SCK
PURPLEGPIO 13SD
BLUEGNDL/R

The blue wire pulls L/R low and activates the left channel.

Feather 2040 Pinout

Feather 2040 Wiring

INMP441 Pinout

I2S Configuration Block


# Green Wire
bck_pin = Pin(11)

# Yellow Wire
ws_pin = Pin(12)

# Purple Wire
sdin_pin = Pin(13)

audio_in = I2S(
	0,
	sck=bck_pin,
	ws=ws_pin,
	sd=sdin_pin,
	mode=I2S.RX,
	bits=16,
	format=I2S.MONO,
	rate=16000,
	ibuf=9600
)