O'Reilly logo

Raspberry Pi Projects for the Evil Genius by Donald Norris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 3MP3 Player Project

In this project, I will show you how to create a fairly simple, yet fully functional, MP3 audio player. I will also describe how to use the GPIO pins as inputs, which will allow the player to use some hardware push-button switches to select the MP3 songs it will play.

We will also explore the Advanced Linux Sound Architecture (ALSA) software package that drives the Linux sound production and provides some utilities essential to helping us complete this project.

Prototype Connector

Let’s first focus on a piece of hardware that I will use to connect the project hardware switches with the RasPi’s GPIO pins. This prototype aid is different from the Pi Plate introduced in the last chapter. Called the Pi Cobbler, it is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required