Add Audio to your Raspberry Pi Pico 1 & 2! | RP2350 | RP2040
Learn how to add audio input, output, and machine learning capabilities to your Raspberry Pi Pico 2! Works just as well on original Pi Pico, but the machine learning inference is significantly faster on RP2350. This step-by-step guide covers everything from setting up analog and I2S microphones to playing audio through speakers and running a keyword spotting model with the new RP2350 chip.
Materials, #aliexpress links
Raspberry Pi Pico 2 (https://s.click.aliexpress.com/e/_DFnnenR)
Grove Shield for Pi Pico https://s.click.aliexpress.com/e/_DDN1Se9 (cheaper alternative https://s.click.aliexpress.com/e/_DkhbRvP)
Grove cables https://s.click.aliexpress.com/e/_DmBe5B7 https://s.click.aliexpress.com/e/_DeVJ37b
I2S Microphones https://s.click.aliexpress.com/e/_DFDjGW5 https://s.click.aliexpress.com/e/_DFOArX3
Grove Analog Microphone https://www.seeedstudio.com/Grove-Analog-Microphone-p-4593.html
Alternative Analog Microphone https://s.click.aliexpress.com/e/_DcQNx7T
5w 8 Ohm Speakers https://s.click.aliexpress.com/e/_DEzAYu1
PAM8406 Digital Amplifier https://s.click.aliexpress.com/e/_DdIOpx3
Github hoodie :)
https://s.click.aliexpress.com/e/_DF6B2e9
Most of the sketches used in the video are available as examples for Arduino-pico core, the rest are here:
https://gist.github.com/AIWintermuteAI/a725aabdde682a1b711c3602bc02f67b
Arduino-pico core:
https://github.com/earlephilhower/arduino-pico
Keyword spotting project:
https://studio.edgeimpulse.com/public/500163/latest