Play MP3 File on Maker Pi Pico Using CircuitPython

Play MP3 File on Maker Pi Pico Using CircuitPython


CircuitPython has released a stable version for the Raspberry Pi Pico which is version 6.2.0. The latest firmware has a built-in library for audiomp3. So for this tutorial, I would like to play MP3 files using Maker Pi Pico. Ok let’s try!


This video shows how to play MP3 files on Raspberry Pi Pico / Maker Pi Pico.


Hardware Preparation

This is the list of items used in the video.

Sample Program

This is CircuitPython sample code to play MP3 file on GP18 when button GP20 is pressed. Please replace with your MP3 file name and duration. Refer to the video for more detail.


Thank You


Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."

Related Products