Skip to content

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". ๐Ÿ”Š ๐Ÿ‘€

License

Notifications You must be signed in to change notification settings

ArmDeveloperEcosystem/audio-spectrogram-example-for-pico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

Default Pinout

Frizting Diagram

+---------+-------------------+     +---------+-------------------+
| 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

  1. Set up the Pico C/C++ SDK
  2. Set PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk
  1. Change directories
cd audio-spectrogram-example-for-pico
  1. Create build dir, run cmake and make:
mkdir build
cd build
cmake .. -DPICO_BOARD=pico
make -j
  1. Copy audio_spectrogram.uf2 to Pico when in BOOT mode.

License

Apache-2.0 License


Disclaimer: This is not an official Arm product.

About

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". ๐Ÿ”Š ๐Ÿ‘€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published