Coder Social home page Coder Social logo

denisgav / microphone-array-library-for-pico Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 736 KB

Raspberry pi pico library for 6+1 microphone array connection

CMake 11.78% C 84.13% C++ 4.09%
microphone microphone-array pio raspberry-pi-pico usb-microphone

microphone-array-library-for-pico's Introduction

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:


microphone-array-library-for-pico's People

Contributors

denisgav avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.