This video introduces how to use the PIO function of Raspberry Pi Pico to capture the INMP441 I2S microphone to make a voice recorder and save the file on the SD card. When connected to a USB Host, the recorded files can be read through the USB MSC device.
Test items:
1. According to the inmp441 datasheet, the 32 bit frame contains 24 bit data, LSB 8bit is 0. Capture by 2 channels, 32000 sample rate.
2. Capture 32 bit frame containing 16 bit data, LSB 16 bits padded with 0, 2 channels, 32000 sample rate.
3. Capture 16 bit frame containing 16 bit data, 2 channels, 44100 sample rate.
4. Capture 16 bit frame containing 16 bit data, 1 channels, 44100 sampling rate.
[Raspberry Pi Pico (c-sdk)] Storage: Ep 5. TinyUSB USB Mass Storage Device(USB Stick) with 2 LUNs:
[ Ссылка ]
[Raspberry Pi Pico (c-sdk)] Storage: Ep 4. TinyUSB USB Mass Storage, SD/MMC and W25Q Flash Devices:
[ Ссылка ]
[Raspberry Pi Pico (c-sdk)] PIO I2S audio player:
[ Ссылка ]
code:
[ Ссылка ]
![](https://i.ytimg.com/vi/6AfcCyxWVEQ/maxresdefault.jpg)