Making USB headset using Raspberry pi pico
Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. 🎤
RP2040 board
Microphones
DAC
Raspberry Pi Pico / RP2040
PDM Microphone
3.3V
VCC
GND
GND
GND
SEL
GPIO 18
PDM1 DAT
GPIO 19
PDM1 CLK
GPIO 20
PDM2 DAT
GPIO 21
PDM2 CLK
Raspberry Pi Pico / RP2040
I2S Microphone
3.3V
VCC
GND
GND
GPIO 14
SD
GPIO 15
SCK
GPIO 16
WS
Raspberry Pi Pico / RP2040
I2S Microphone
3.3V
VCC
GND
GND
GPIO 10
SD
GPIO 11
SCK
GPIO 12
WS
Raspberry Pi Pico / RP2040
MAX9814 Microphone
3.3V
VCC
GND
GND
GPIO 26
OUT
Raspberry Pi Pico / RP2040
I2S DAC
3.3V
VCC
GND
GND
GPIO 2
SD
GPIO 3
SCK
GPIO 4
WS
GPIO pins are configurable in examples or API.
See examples folder.
git clone https://github.com/denisgav/pico-usb-headset.git
Set up the Pico C/C++ SDK
Set PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk
Create build
dir, run cmake
and make
:
mkdir build
cd build
cmake .. -DPICO_BOARD=pico
make
Copy example .uf2
to Pico when in BOOT mode.
To create this project, following references were used: