Skip to content

LynxPDA/ANC-Mic-Pico2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNNoise Examples for Pico 2

Example project to demonstrate the RNNoise audio noise suppression algorithm running on a Raspberry Pi Pico 2 board, using the RP2350's Cortex-M33 processor.

Hardware

Default Pinout

PDM Microphone

Raspberry Pi Pico 2 / RP2350 PDM Microphone
3.3V VCC
GND GND
GND SEL
GPIO 21 DAT
GPIO 20 CLK

Note: The GPIO pins for the microphone are configurable in the source code.

Noise Suppression Switch

To control the noise suppression feature, use GPIO18:

  • RNNoise Enabled (Default): Leave GPIO18 floating or pull it high.
  • RNNoise Disabled (Bypass): Connect GPIO18 to GND. This is useful for quick A/B testing or if you want to use the microphone without filtering.

Examples

See examples folder.

Cloning

git clone https://github.com/ArmDeveloperEcosystem/rnnoise-examples-for-pico-2.git

Building

  1. Set up the Pico C/C++ SDK
  2. Set PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk
  1. Set Correct TinyUSB Version

This is a critical step. This project is tested and confirmed to work with TinyUSB version 0.17.0. Later versions (like 0.18.0) have API changes that break the build.

  1. Create build dir, run cmake and make:
mkdir build
cd build
cmake .. -DPICO_BOARD=pico2
make
  1. Copy example .uf2 to Pico when in BOOT mode.

Acknowledgements

This project would not be possible without the incredible work from the open-source community.

License

BSD-3-Clause license


Disclaimer: This is not an official Arm product.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published