PSoC 4 Pioneer Kit Community Project#051 – Music Player

Today we are expanding on the SD card example that we posted last week. In that earlier example we showed you the new customer SD component used to interface with the SD card. In this example we want to expand on that example to play music, stored on the SD card, through a Speaker.

PSoC 4 Pioneer Kit Community Project#051 – Music Player

Forum Post Attachments:

 

At the bottom of this post we are including the following items:

  • Example Project Zip File
  • Zip File of Images
    • Project Schematic
    • Component Configurations

 

Components Used:

 

The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:

  • SD Card
  • CODEC Interface (SPI)
  • CyPins

 

The components are configured by right clicking on the component in your Top Design schematic view and selecting Configure. Please enable the following selections in the Configuration windows for the listed components above.

 

Firmware Description:

 

The main.c firmware is included in the example project. Please review the commented sections for more details.

PSoC 4 Pioneer Kit Community Project#051 – Music PlayerIn this example we expand on our earlier example. We have developed another custom component to interface with the MP3 codec board over the SPI interface.

 

This project makes the CY8CKIT-042 function as a Music Player. Like any music player we need a mass storage capability to store our songs. In this example we use the SD card to store our music. The PSoC4 reads the song files one by one and send it to the CODEC chip over an SPI bus. The player plays each song in order starting with the first song on the SD card. The user has the ability to go to the next some using the β€˜NEXT_SONG’ button. On pressing the button

 

For more detail: PSoC 4 Pioneer Kit Community Project#051 – Music Player


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *