MP3 Player with Bluetooth Control

Project by Chris Jones and Patrick Wu

Purpose

This project allows the user to play music from an SD card using a Bluetooth module and the user's phone. Additionally included are an LCD display for user interfacing and an output speaker.

Description

  • The SD card has .wav music files already on it. Wave files can be used via Audacity http://www.audacityteam.org/
  • The program will read the files on the SD into a string vector
  • The LCD display will output up to 4 songs on the screen
  • Using the bluetooth controller, one can: select 1 of the 4 displayed songs, page up / down the song list, play and stop songs
  • NOTE: Sometimes certain songs will cause the amp to draw a lot of current and for this we use an external power supply, but this is not always necessary

Demo

Program

Import programECE4180Lab4

Bluetooth MP3 Player with uLCD, Speaker, and SD card hardware components

Equipment / Wiring

uLCD wiring

https://developer.mbed.org/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/

mbeduLCD HeaderuLCD cable
5V=VU5V5V
GndGndGnd
TX=28RXTX
RX=P27TXRX
N/AResetReset

SD Card wiring

https://developer.mbed.org/cookbook/SD-Card-File-System

mbedSD breakout
MOSI=P5DI
MISO=P6DO
SCK=P7SCK
P8CS
VOUTVCC
GNDGND

Bluetooth wiring

https://developer.mbed.org/users/4180_1/notebook/adafruit-bluefruit-le-uart-friend---bluetooth-low-/

mbedAdafruit BLE
TX=P9RXI
RX=P10TXO
5v=VUVIN
GNDGND
N/ARTS
GNDCTS

Speaker Wiring

https://developer.mbed.org/users/4180_1/notebook/using-a-speaker-for-audio-output/

mbedClass D ampSpeaker
GNDPWR-
VOUT(3.3V) OR VU(5V)PWR+
GNDIN-
ANALOGOUT=P18IN+
OUT++
OUT--


Please log in to post comments.