190 likes | 322 Vues
Lakshmi Baddam Oren Levy Marc Smith Marvin Howard Georgia Institute of Technology April 28, 2011. 1. Project Overview. Workout motivation tool that will manipulate music Motivate runner to reach target heart rate Available to iOS mobile users Purchased in App Store for $1.00. 2.
E N D
Lakshmi Baddam Oren Levy Marc Smith Marvin Howard Georgia Institute of Technology April 28, 2011 1
Project Overview • Workout motivation tool that will manipulate music • Motivate runner to reach target heart rate • Available to iOS mobile users • Purchased in App Store for $1.00 2
Design Goals • User-friendly GUI • Heart rate detection using Polar heart rate monitor • Music manipulation • Instantaneous performance data 3
User-defined Variables Heart Rate Monitor Music Playlist Music Accelerometer GUI beatRunner Initial Design Overview 4
Apple’s Bluetooth Restrictions • Pairing limited to Apple approved audio accessories • No functionality for apps to transfer or receive data and files • BTstack • Alternative Bluetooth stack • Pros • Unrestricted pairing • Data and file transfer • Cons • iOS mobile device jailbreak required • Requires solid understanding of Bluetooth protocol
Heart Rate Monitor Interface Web Server Heart Rate Monitor Laptop beatRunner Modified Heart Rate Monitor Module
HRM Transmission Details • Polar T31 coded transmitter • Heart rate monitor (HRM) interface • Convert ECG signal to heart rate data • HRM data • Transmit to laptop via USB • Laptop to webserver • Webserver to iPhone • Cons • System not portable • Wi-Fi environment required
Workouts and Target Heart Rate (THR) • THR zone intensity THR = (Maximum - Resting) * Intensity + Resting 8
Value taking from the HRM User defined variables used to calculate target heart rate, calories burned, and BPM Results from Calculation User Input – Settings Screen 9
Fat burning Cardio Main screens navigation buttons Cross training Training Level App Features • Select from three workouts • Set workout levels • Select Time Length 10
Accelerometer • 3-axis accelerometer • Shake API class • Receive x, y, z direction values from hardware 11
Accelerometer Testing • Test screen • Put iPhone in pocket/hand • Shake motionto detect step • Increment count 12
Song Selection • Songs chosen based on BPM in ID3 tag • Closest BPM chosen for workout • BPM stretched ± 20%
Music Manipulation • Initial • SOLA time stretching algorithm • Pro • Alters tempo while preserving pitch • Actual • Adjust sampling rate
Linear Pulse Code Modulation (LPCM) • Decompress MP3 file • Linearly sample amplitude • Play back at altered sampling rate
Cost Analysis • Budget: $400 • Equipment cost • Polar Wearlink+ Heart Rate Transmitter with Bluetooth – $79.95 • Polar T31 Coded Transmitter - $43.99 • Heart Rate Monitor Interface – $59.95 • Development cost • $41.27/hour wage: $56,908 • 125,000 downloads expected at $1.00 per download • Total profit: $68,000 16
Problems & Solutions • Bluetooth data transmission • HRM decoding • MPPlayer Class • UIAccelerometer Class • Xcode and iPhone compatibility • Functions/Parameters 17
Future Work • Portable system • Transmit HRM data directly to mobile device • Calculate song BPM in app • Compatibility with other mobile devices