NEW GUIDE: MP3 Playback on RP2040 with CircuitPython #AdafruitLearningSystem #Adafruit @adafruit
Play some tunes on your RP2040!
Compressed audio can be a nice alternative to uncompressed WAV files, especially when you have a small filesystem like that on many CircuitPython boards, as WAV files get sizeable quite quickly. You can listen to a much longer playlist with CircuitPython, using the built in MP3 playback capability!
The new MP3 Playback on RP2040 with CircuitPython guide has two great examples of using CircuitPython to play MP3s on your RP2040 board. The first example shows you how to wire an amp and a speaker to your Raspberry Pi Pico, and use PWM to play MP3 files over the speaker. The second example uses the MacroPad’s built in speaker and the MacroPad library which has built-in MP3 playback support. If you’re looking to chill out to some tunes on your RP2040, this guide is for you!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.