20
Bluetooth remote control Mathieu Stephan, EPFL

Bluetooth remote control

  • Upload
    brita

  • View
    51

  • Download
    1

Embed Size (px)

DESCRIPTION

Bluetooth remote control. Mathieu Stephan, EPFL. Why ?. BT. LCD screen. USB. Create a complete product Remotely control your music player Get information about the tracks being played Get calls / listen to the music on your remote control - PowerPoint PPT Presentation

Citation preview

Page 1: Bluetooth remote control

Bluetooth remote controlMathieu Stephan, EPFL

Page 2: Bluetooth remote control

Why?Create a complete product

Remotely control your music player

Get information about the tracks being played

Get calls / listen to the music on your remote control

Provide advanced functionalities using the USB port

Provide a platform with free tools

LCD screen

Buttons

USB

Audio

BT

Page 3: Bluetooth remote control

/!\ INFORMATION /!\

This project is made from scratch

Page 4: Bluetooth remote control

General idea

Microcontroller

LCD screen

Bluetooth Audio CODECBluetooth

USB

Analog

Buttons

?

Page 5: Bluetooth remote control

Components’ choiceAT90USB1287: 8Mhz, 128kb flash memory, embedded

USB bootloader, free compiler (WinAVR)

LMX9838: Bluetooth to UART converter with embedded antenna, Serial Port Profile

Winbond W681310: cheap audio codec supported by the LMX9838

Nokia Color LCD: cheap 130*130 pixels screen interfaced using SPI bus

Page 6: Bluetooth remote control

Interfacing the components

AT90USB1287

LCD screen

LMX9838 W68310Bluetooth

USB

UART

SPI

PCM Analog

Buttons

Page 7: Bluetooth remote control

Bluetooth point of view

BT Dongle

2.4 Ghz USB

Remote control

UART

Windows drivers

Serial port

Bluetooth application

Winamp

Page 8: Bluetooth remote control

How to use the remote

OK

Switch between menu / player

mode

Increase / Decrease volume

UP

DOWN

LEFT RIGHT

Page 9: Bluetooth remote control

PowerLithium Ion battery (charged when USB is plugged)

LCD screen with power save modes (partial display…)

PWM on the LCD backlight (to vary its intensity)

LMX9838 with 3 different power save modes

Sleep / Wake up on the AT90USB1287

W681310 enable pin

Page 10: Bluetooth remote control

PowerPower save mode : 17

mWBacklight off, headset not plugged, no BT link :

94 mWBacklight off, headset plugged, no BT link :

95 mWBacklight on, no BT link : 277

mWBacklight off, BT data link :

118 mWBacklight on, BT data link :

307 mWBacklight off, data & audio link :

177 mWBacklight on, data & audio link : 347

mW

Page 11: Bluetooth remote control

Autonomy (with the 620mAh bat)Power save mode : 135 hBacklight off, headset not plugged, no BT link :

25 hBacklight off, headset plugged, no BT link :

24 hBacklight on, no BT link : 8 hBacklight off, BT data link :

20 hBacklight on, BT data link :

7 hBacklight off, data & audio link :

13 hBacklight on, data & audio link : 6.5 h

Page 12: Bluetooth remote control

Work done (1/4) – System design

Printed circuit boards produced

Page 13: Bluetooth remote control

Work done (2/4) – FirmwareLCD screen interfacingBluetooth module interfacingGraphic library: pixel control, text, pictures, scrolling…Actions needed at first boot: BT profile, audio config...Protocol implementation for dialog with the media playerUSB: implementation of a HID devicePower handling: power save modes, battery voltage

sensing

Page 14: Bluetooth remote control

Work done (3/4) – plugin Communicates with the remote control using

a serial port over bluetoothDecode the requests, send the appropriate

answers (titles, playing status…)

Page 15: Bluetooth remote control

Work done (4/4) – the boxDesigned using SolidworksProduced using EPFL CNC machines

Page 16: Bluetooth remote control

Communication overview

Remote

Bluetooth link

Get init

Titles to display

Init done

What’s up?

Nothing / title changed…

User scrolling….

What’s after/before title X?

[Titles displayed]

Page 17: Bluetooth remote control

What has been done/improvements

Goal has been achieved (as you can have tested)

Printed circuit board can be reduced

Graphic library can be improved

Packaging can be better

Page 18: Bluetooth remote control

Evolution

Everything: open platform, free tools, expansion port, Bluetooth and USB interfaces!

Page 19: Bluetooth remote control

Any questions?

Thanks

Page 20: Bluetooth remote control

Work left to do (prev pres)Final prototype with power elements

Audio Codec interfacing

Winamp plugin creation

Plugin’s messages parsing on the AT90USB

Benchmarks: speed / autonomy

Create a packaging