المشاريع
عرض على GitHub
ArmDeveloperEcosystem/microphone-library-for-pico
حول
Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. 🎤
التصميم والوسائطالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +١
- خلال 15 يومًا
- +١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلMicrophone Library for Pico
Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. 🎤
Hardware
- RP2040 board
- Microphones
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
- Set up the Pico C/C++ SDK
- Set
PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk
- Create
builddir, runcmakeandmake:
mkdir build
cd build
cmake .. -DPICO_BOARD=pico
make
- Copy example
.uf2to Pico when in BOOT mode.
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.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…