MBED Bluetooth Controlled Party Bus

Malik Russell/Jared Thompson

Description

This was a project for a Georgia Tech ECE 4180 Lab Spring 2016. The following project uses Bluetooth Low Energy to interact with song selection saved on an SD card. A uLCD displays menu options for selecting the songs which are then played through a speaker. Once the music starts playing the robot 'dances' (spins in a circle) and the album artwork of the selected song is displayed on the uLCD.

To add music to the Mbed, songs were modified in the music editing tool Audacity to a 16-bit mono .wav file at 16000 Hz. The songs were then saved to the sd card under the folder myMusic. The album artwork was placed onto an unformatted sd card and loaded onto the onboard sd card slot of the uLCD screen. Use the tool 4D workshop tool to add the images to the sd. Make sure the images are down-scaled to 128x128 for the uLCD. The link to the workshop tool is below.

http://www.4dsystems.com.au/product/10/120/Development/4D_Workshop_4_IDE/

For the bluetooth connection, download the Bluefruit LE app and connect to the Adafruit bluetooth device. Once you press connect, press the controller button and then control pad to command the buttons on the mBed.

Hookup Guide

SD Card

mbedSparkFun MicroSD
8CS
5DI
VoutVCC
7SCK
GNDGND
6DO
9CD

uLCD

mbeduLCD
5V=VU5v
GNDGND
TX = 28RX
RX = 27TX
29Reset

H-bridge

mbedH-bridgeDC motorExternal Supply (5v)
VccVcc
GNDGND
AO1Right Red
AO2Right Black
BO1Left Black
BO2Left Red
VMOT5v
P26PWMA
P25AIN2
P24AIN1
VCC (pullup)STBY
P23BIN1
P22BIN2
P21PWMB

Class D high-efficiency audio amp

mbedTPA2005D1SpeakerPotentiometer
GNDpwr - (gnd), in -
Vout(3.3V)pwr +
P18 (AnalogOut)in +
out ++
out --
Volume (All Three)Bridges facing TPA Board

Adafruit BLE

mbedAdafruit BLE
GNDGND
VU (5V)Vin
ncRTS
GNDCTS
P13RXI
P14TXO

Finished Board

/media/uploads/mrussell40/img_4237.jpg

/media/uploads/mrussell40/img_4239.jpg

The above image shows the Party Bus powered on while displaying the album artwork.

Demo

Import programMbed_Party_Bus

MBED Bluetooth Controlled Party Bus


Please log in to post comments.