1 / 31

iTunes Remote Control

iTunes Remote Control. ECE 445 Spring 2006 Project #24 Jon Michaels Nick Modrzejewski Rob Tupuritis. Introduction. Digital Music Peer to Peer Filesharing Wireless Communications. Apple iPod iTunes Multimedia PC’s Universal Remotes. Objective.

jela
Download Presentation

iTunes Remote Control

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. iTunes Remote Control ECE 445 Spring 2006 Project #24 Jon Michaels Nick Modrzejewski Rob Tupuritis

  2. Introduction • Digital Music • Peer to Peer Filesharing • Wireless Communications • Apple iPod • iTunes • Multimedia PC’s • Universal Remotes

  3. Objective • Aid transition of digital music into home theater • Build product to aid popular digital music player • Functional and marketable product

  4. Initial Idea • Remote Control for iTunes on a PC • RF and Bluetooth vs. infrared • Functionality - menu, visualization, and equalizer functions • Software package

  5. Features • PIC Microcontroller • BlueSMiRF radio • Bluetooth USB • Backlit Serial LCD screen • ON/OFF switch • 4 AA Battery powered • Surface mount buttons

  6. The iTunes Remote

  7. System Overview • Hardware: • Pushbuttons and logic, PIC16F88 microcontroller, serial enable LCD, BlueSMiRF blueradio, Power Supply, • Bluetooth enabled PC. • Software: • iTunes, remote handler software (ECERemote.exe), PIC program

  8. System Overview Serial enabled LCD software BlueSMiRF BlueTooth Serial Port PIC16F88 12 Push Buttons

  9. Hardware Overview(In House) • Pushbuttons and Logic • User interface, 12 buttons allow the user to control iTunes remotely • PIC16f88 microcontroller • Controls communication from the remote to radio • Power Supply • Provides a regulated 5V source and ground for the system.

  10. Hardware Overview(Purchased) • Serial Enabled LCD • serLCD v2 • Controlled by the HD44780 LCD controller • Purchased from Sparkfun Electronics • BlueSMiRF • Manufactured by blueradios • Purchased from Sparkfun Electronics

  11. Push Buttons & Logic • 12 Priority encoded buttons • Logic system for generating an interrupt signal

  12. Push Buttons & Logic(Schematic)

  13. PIC16F88 Microcontroller • Receives button data on pins A0-A3 • External interrupt driven • Generates unique ASCII character for each button. • Sends ASCII character via RS-232 port to BlueSMiRF. • Programmed in C using MPLab, CCS C compiler, and PICStart Plus programmer.

  14. PIC16f88 Microcontroller(Schematic)

  15. Power Supply • Powered by 4 AA batteries • Standard slider switch provides ON/OFF functionality • voltage regulator provides a clean 5 volt supply to system.

  16. Purchased Hardware • Serial Enabled LCD • 16x2 character LCD display with adjustable backlight. • Receives ASCII character via RS-232 port and displays it. • BlueSMiRF • Receives RS-232 data from PIC and transmits over radio link. • Receives data via radio link and transmits in RS-232 standard to serial enabled LCD. • 9600bps, 8 Bits, No Parity, 1 Start/Stop

  17. Software • Custom Windows application that interfaces between the iTunes software and remote control hardware • Features: - Media Player Functionality - Music Library Navigation - Hardware Configuration

  18. Media Player Functionality • Play/Pause • Skip Forward/Backward • Volume Adjustment • Equalizer • Visualizer • Shuffle

  19. Music Library Navigation • Access to entire iTunes music library from remote via menu interface • Easy intuitive navigation • Song selection arranged by artists and user-defined iTunes playlists

  20. Hardware Configuration • Dynamic interface allows user to easily connect to Bluetooth remote • Provides interface to adjust LCD backlight remotely

  21. Development Tools • Visual C# application developed using Visual Studio 2005 and the .NET framework • iTunes Windows SDK

  22. iTunes Programming • iTunes functionality exposed via Windows COM interface • Allows creation and manipulation of iTunes its and internal objects: - playlists and playlist collections - tracks and track collections - custom event handlers

  23. Menu Interface • Tree-like structure • Nodes are built dynamically as user navigates == Playlists == Party Mix MenuNode class Driving Mix MenuItem class Oldies MenuItem class === Beatles === MenuItem class All You Need is Love === Artists === Come Together Aerosmith Help! Beatles Chevelle

  24. Communications - Incoming • BlueSMiRF radio is configured by Windows as a standard serial port • .NET framework provides SerialPort class • DataReceived Event Handler reads in commands from remote • Byte streams are decoded into commands that are sent to iTunes

  25. Communications - Outgoing • LCD functionality is controlled from the PC • The LCD unit receives commands and characters to display • User button presses and iTunes events call LCD functions that write the appropriate information to the display

  26. Range Testing • BlueSMiRF radio accepts AT modem-style commands • Provides two measures of connection quality: - Received Signal Strength Indicator (RSSI) - Bit Error Rate • Start at distance of two feet and incremetally move away, taking 3 measurements of each indicator per step • Average values and plot as a function of distance

  27. Range Testing Results: - Maximum operating distance ~30m - Reliable operation within 20m

  28. Battery Life • Measure current draw for 12 different cases • Assume normal operation involves the user selecting one new song every 5 minutes. This requires approximately 10 – 30 button presses (communication events) • Standard Energizer E91 AA Battery has a capacity of 2850 mAh

  29. Battery Life

  30. Recommendations • Push and hold button repeat • Minimze cost by building radio and LCD in house • Handle out of Range crashing issues • Increased software robustness • Increased battery life through radio ‘sleep mode’ • Rechargeable batteries, dock

  31. Q & A Are there any questions? We hope to have answers.

More Related