Skip to content

denisgav/pico-usb-headset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Making USB headset using Raspberry pi pico

Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. 🎤

Hardware

Default Pinout

PDM Microphone

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

INMP441 Microphone

Raspberry Pi Pico / RP2040 I2S Microphone
3.3V VCC
GND GND
GPIO 14 SD
GPIO 15 SCK
GPIO 16 WS

SPH0645 Microphone

Raspberry Pi Pico / RP2040 I2S Microphone
3.3V VCC
GND GND
GPIO 10 SD
GPIO 11 SCK
GPIO 12 WS

Analog Microphone

Raspberry Pi Pico / RP2040 MAX9814 Microphone
3.3V VCC
GND GND
GPIO 26 OUT

PCM5102a DAC

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.

Examples

See examples folder.

Cloning

git clone https://github.com/denisgav/pico-usb-headset.git

Building

  1. Set up the Pico C/C++ SDK
  2. Set PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk
  1. Create build dir, run cmake and make:
mkdir build
cd build
cmake .. -DPICO_BOARD=pico
make
  1. Copy example .uf2 to Pico when in BOOT mode.

Acknowledgements

To create this project, following references were used:


About

Making USB headset using Raspberry pi pico

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published