Skip to content

denisgav/microphone-array-library-for-pico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microphone-array-library-for-pico

Raspberry pi pico library for 6+1 microphone array connection.

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

Hardware

Default Pinout

Raspberry Pi Pico / RP2040 Microphone Configuration Define
MIC_CK 0 PIN_SCK
MIC_WS 1 PIN_WS = PIN_SCK + 1
MIC_D0 2 PIN_SD0
MIC_D1 3 PIN_SD1 = PIN_SD0 + 1
MIC_D2 4 PIN_SD2 = PIN_SD1 + 1
MIC_D3 5 PIN_SD3 = PIN_SD2 + 1
LED_CK 15 LED_PIN_CLK
LED_DA 14 LED_PIN_DIN

VIN of the microphobe should be connected to the 5V of the power supply. GND of the microphobe should be connected to the GND of the power supply and Raspberry Pi Pico. Since the library is based on pio functionality, different ports on raspberry pi microcontroller can be used.

GPIO pins are configurable in examples or API.

Examples

See examples folder.

Cloning

git clone https://github.com/denisgav/microphone-array-library-for-pico.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 .. 
make
  1. Copy example .uf2 to Pico when in BOOT mode.

Acknowledgements

To create this project, following references were used:


About

Raspberry pi pico library for 6+1 microphone array connection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published