Android App to Graph Data from MSP430



I decided to extend my project "Bluetooth Weather Station" by developing an android application to connect with my MSP430

For bluetooth communication, I used the standard bluetooth library as provided by Android for RFCOMM serial communication. The mac id of my bluetooth device was hard coded into the app.

To plot the data stream, i used the android plot API. Using android plot was fun, however, i noticed there was a lag between the arrival of data and plotting, and android plot could not plot the live stream at very high rates (>1Hz). Inorder to overcome this limitation, I created a buffer to store values before plotting them on my android device. The app allows me to select the parameter whose current value is to be displayed and plotted. Check out the screenshot from the app: