Download beatRunner Mobile App

Transcript
 Bluetooth stack [11]. It is important for the developer to understand how the data packets are
sent, received and extracted at each stage in order to successfully implement the BTstack in
his/her application. It was beyond the scope of the project to do deep research on Bluetooth
protocol, therefore the use of Bluetooth to transmit heart rate data was eliminated.
Internet based Solution to Transmit Heart Rate Data
Figure 1 – Design Data Flow
Since the use of Bluetooth was unsuccessful in transmitting data to the iOS device, the final
product uses the Internet to transmit heart rate data to the iPhone. Figure 1 depicts the data flow
of the final design. The user’s ECG signal is transmitted from Polar T31 HRM and received by
the HRMI via a magnetic field. Then the readable heart rate data is transferred to a PC via USB.
Then an executable that using the C programming language receives and verifies the data from
the PC’s USB port and posts the data to a PHP script stored on the web server. The beatRunner
app then reads the data from the web page and displays it on the iOS device.
2.2 Music Manipulation Feature
Tempo Changing Algorithm
The original music manipulation feature consisted of two components as shown in Table 1. The
tempo-changing feature was designed and tested to slow down and speed up songs. The Dirac
beatRunner(ECE4007L05) 5