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"…
C★ 52⑂ 5 forksApache-2.0updated 4 years ago
git clone https://github.com/ArmDeveloperEcosystem/audio-spectrogram-example-for-pico.gitArmDeveloperEcosystem/audio-spectrogram-example-for-picoREADME.mdfork it — it’s yours
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".
This project also leverages Arm's CMSIS-DSP library for optimized on-board digital signaling processing.
Hardware
- Raspberry Pi Pico
- Adafruit's PDM MEMS Microphone Breakout
- Adafruit's 2.0" 320x240 Color IPS TFT Display with microSD Card Breakout
Default Pinout
+---------+-------------------+ +---------+-------------------+
| PDM Mic | Raspberry Pi Pico | | ST7789 | Raspberry Pi Pico |
|---------+-------------------| |---------+-------------------|
| 3V | 3V3 | | VIN | 3V3 |
|---------+-------------------| |---------+-------------------|
| GND | GND | | GND | GND |
|---------+-------------------| |---------+-------------------|
| SEL | GND | | SCK | GPIO18 |
|---------+-------------------| |---------+-------------------|
| DAT | GPIO2 | | MOSI | GPIO19 |
|---------+-------------------| |---------+-------------------|
| CLK | GPIO3 | | CS | GPIO17 |
+---------+-------------------+ |---------+-------------------|
| RST | GPIO21 |
|---------+-------------------|
| D/C | GPIO20 |
+---------+-------------------+
Cloning
git clone --recurse-submodules https://github.com/ArmDeveloperEcosystem/audio-spectrogram-example-for-pico.git
Building
- Set up the Pico C/C++ SDK
- Set
PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk
- Change directories
cd audio-spectrogram-example-for-pico
- Create
builddir, runcmakeandmake:
mkdir build
cd build
cmake .. -DPICO_BOARD=pico
make -j
- Copy
audio_spectrogram.uf2to Pico when in BOOT mode.
License
Disclaimer: This is not an official Arm product.
more like this
RaspPi-Pico-Examples-Fedora
Compiling Raspberry Pi Pico RP2040 / Pico2 RP2350 C/C++ programs on Fedora
code★ 51
VibeSDR
Vibe-coded, but not slop. A mobile-first SDR receiver for iOS, Android & Apple Watch — the live waterfall on your wrist…
C++★ 53
