• Stars
    star
    238
  • Rank 169,306 (Top 4 %)
  • Language
    C
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. ðŸŽĪ

Microphone Library for Pico

Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. ðŸŽĪ

Hardware

Default Pinout

Analog Microphone

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

PDM Microphone

Raspberry Pi Pico / RP2040 PDM Microphone
3.3V VCC
GND GND
GND SEL
GPIO 2 DAT
GPIO 3 CLK

GPIO pins are configurable in examples or API.

Examples

See examples folder.

Cloning

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

License

Apache-2.0 License

Acknowledgements

This project was created on behalf of the Arm Software Developers team, follow them on Twitter: @ArmSoftwareDev and YouTube: Arm Software Developers for more resources!

The OpenPDM2PCM library is used to filter raw PDM data into PCM. The TinyUSB library is used in the usb_microphone example.


Disclaimer: This is not an official Arm product.

More Repositories

1

lorawan-library-for-pico

Enable LoRaWAN communications on your Raspberry Pi Pico or any RP2040 based board. ðŸ“Ą
C
134
star
2

arm-learning-paths

Arm Learning Paths: a repository of how-to content for software developers
JavaScript
67
star
3

st7789-library-for-pico

Use an ST7789 based TFT LCD display with your Raspberry Pi Pico or any RP2040 based board 📚
C
64
star
4

ml-audio-classifier-example-for-pico

ML Audio Classifier Example for Pico 🔊ðŸ”Ĩ🔔
Jupyter Notebook
51
star
5

audio-spectrogram-example-for-pico

Example project showcasing how to use a Raspberry Pi Pico, Adafruit's PDM MEMS Microphone Breakout, and Adafruit's 2.0" 320x240 Color IPS TFT Display with microSD Card Breakout to "See sound in real-time". 🔊 👀
C
40
star
6

picotool.js

JavaScript port of picotool
JavaScript
14
star
7

fixed-point-dsp-for-data-scientists

Jupyter Notebook to accompany "Fixed-point DSP for Data Scientists" blog post 🧑‍ðŸ’ŧ🧑‍🔎
Jupyter Notebook
13
star
8

smart-plant-example-for-pico-w

Use MicroPython with a Raspberry Pi Pico W, Pimoroni Grow Kit, and Twilio to create a plant that texts you. ðŸŠī
Python
11
star
9

systemready-guides

A series of guides on how to setup devices that are Arm SystemReady certified and their firmware.
8
star
10

ml-image-classification-example-for-openmv

Build a TensorFlow Lite based computer vision emoji input device with OpenMV 📷 → ✋ 👎 👍 👊
Jupyter Notebook
7
star
11

example-of-a-slackbot-for-pico-w

Connect your Raspberry Pi Pico W board to Slack using the Slack API ðŸŪ⚡ïļðŸ’Ž
C
7
star
12

board-of-boards

6
star
13

sysreport

System reporting tool for Linux on Arm that shows how a server is configured, especially in relation to "perf" features.
Python
6
star
14

hm01b0-library-for-pico

📷 Capture monochrome images on your Raspberry Pi Pico with a Himax HM01B0 based camera module.
C
6
star
15

Corstone-for-Arduino

Enables Arm Virtual Hardware Corstone platforms to be used with the Arduino IDE and arduino-cli.
C
5
star
16

DA16200-WiFi-Library-for-Arduino

Wi-Fi enable your Arduino sketches using Dialog's DA16200 Module.
C++
4
star
17

ecosystem-dashboard-for-arm

Source repository for arm ecosystem dashboard that lists packages that work on Arm
HTML
2
star
18

ml-object-detection-examples-for-imx93

ML Object Detection Examples for i.MX 93
Python
1
star