Announcing Official Support for the Raspberry Pi Pico (RP2040)

Today, we are excited to announce official support of Raspberry Pi's debut microcontroller, the RP2040, and the Raspberry Pi Pico development board.


This is a companion discussion topic for the original entry at https://www.edgeimpulse.com/blog/announcing-official-support-for-the-raspberry-pi-pico-rp2040

I’m making an IoT device for audio scene recognition with the Pico, any help towards interfacing a microphone with pico on edge impulse?

Hi @hxvris,

The easiest method is to probably use an ADC microphone (https://how2electronics.com/how-to-use-adc-in-raspberry-pi-pico-adc-example-code/) and a hardware timer interrupt (https://raspberrypi.github.io/pico-sdk-doxygen/group__hardware__timer.html) that samples at your desired frequency (e.g. 16 kHz).

You can also likely find libraries to do I2S (https://github.com/raspberrypi/pico-extras/tree/master/src/rp2_common/pico_audio_i2s) or PDM (https://github.com/ArmDeveloperEcosystem/microphone-library-for-pico) using PIO on the RP2040.

Hope that helps!