Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
Elecrow community is a shared platform and we are not responsible for any design issues.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
closed
user-img

SEKSAN PINTAPRASAHT

Published: Oct 03,2024

PicoSoundPlayer

RaspberryPICO + PCM5100 Circuitpython

ccc ccc
Copyright Info

Attribution-ShareAlike (CC BY-SA)

Read More⇒
  1379
  5
  0
cover-img
 
  • thumbnail-img
  • thumbnail-img
 

Hardware Components

  • RaspberryPICO

    raspberry
    X 1
  • PCM5100

    X 1

Story

UPDATE:2024/12/20

https://www.youtube.com/shorts/m6Y4_jlA9D8

PicoSoundPlayer

In this project, we will use the Raspberry Pi Pico along with the PCM5100 DAC to play MP3 files and output high-quality sound through a speaker! We'll control the music playback using a Python program that allows the Raspberry Pi Pico to read MP3 files from an SD Card and send the audio through the PCM5100 DAC.

Main components:

- Raspberry Pi Pico for processing music playback.

- PCM5100 DAC to convert digital audio signals to analog output.

- MP3 Decoder to read and play MP3 audio files.

- High-quality speakers for sound output.

Key features:

- Smooth MP3 playback via the PCM5100 DAC.

- Control the start/stop of music playback

- Supports continuous playback from a list of MP3 files.

Raspberry Pi Pico is highly versatile for audio projects. In this project, we will use Raspberry Pi Pico with the PCM5100 chip, a DAC (Digital-to-Analog Converter) used to convert digital signals to analog audio. This chip connects via the I2S (Inter-IC Sound) protocol, commonly found in high-quality audio devices such as music players and headphones. Additionally, we will use the CircuitPython library to play MP3 files, controlling the sound mute/unmute function using the Soft Mute (XSMT) feature.

ฺBasic Theory of I2S:

I2S is a standard protocol used for transmitting digital audio data between various devices, which consists of three signals:

  1. Bit Clock (BCK): This is used to define the timing for transmitting data bits.
  2. Word Select (WS) or also known as LRCK (Left-Right Clock): This indicates the direction of the data, specifying whether it is audio data for the left (Left) or right (Right) channel.
  3. Data: This consists of the audio data bits transmitted between the devices.

The transmission of audio data through I2S offers the advantage of high audio quality and reduces data loss during communication, making it popular in high-quality audio devices such as headphones, sound systems, and music players.

 

 

PCM5100 is a high-precision DAC chip from Texas Instruments, used to convert digital signals from the I2S protocol into analog audio. It delivers high-quality audio up to 32-bit resolution with a maximum sampling rate of 384 kHz.

Main features of PCM5100:

·         Converts digital signals into high-quality analog audio

·         Supports I2S protocol

·         Features Soft Mute to control muting without creating "pop" or "click" sounds

·         Reduces noise with ZeroCross and Soft Mute technologies, ensuring smooth volume adjustment

CIRCUIT:

CODE:

Comming Soooooooooooooooon!!!

user-img

SEKSAN PINTAPRASAHT

+ Follow

Topic

View All
raspberrypi diy music circuitpython electronic
  • Comments( 0 )
  • Like( 5 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All