5 ms·
The RP2040 can output 24 bit (or technically 32-bit), 48kHz stereo audio over I2S. Combine that with a DAC like the PCM1502 (which has plenty of dev boards) and
by bschwindHN 2y ago
The RP2040 can output 24 bit (or technically 32-bit), 48kHz stereo audio over I2S. Combine that with a DAC like the PCM1502 (which has plenty of dev boards) and you've got yourself a high quality audio setup.
I have a Rust crate for outputting I2S data, or retrieving it from something like a mic or ADC. You can hook it up to DMA and make your audio go brrrr
https://github.com/bschwind/rp2040-i2s https://github.com/bschwind/rp2040-i2s
- hippospark 2y agoI once built a player with a MAX98357 I2S Amp that could drive a small speaker, it was fun.
- bschwindHN 2y agoI should probably also link an example usage, playing noise to help with sleeping: https://github.com/bschwind/sleep-machine/blob/main/src/main.rs https://github.com/bschwind/sleep-machine/blob/main/src/main...
- TacticalCoder 2y ago[dead]