We acquired a TI SensorTag to use as a prototype for our posture sensor. Steven spent some time in Matlab doing data mining to figure out how to recognize sitting, standing, lying down, and walking from sample data we took with our first prototype.This week we will be modifying the SensorTag firmware to attempt to recognize posture using accelerometer data on the SensorTag itself. Soon we'll start working on developing an iOS application to receive posture logs from the chip over bluetooth.
This week we'll also be starting to design a circuitboard for our product. We hope to send off the design to be fabricated early next week, so we can get the board back the week after, then solder on the components, design and print a case, and test our application on the actual board.
We collected some data from a Megamini R4 board taped to the upper leg, to see how difficult it will be to detect sitting and standing.
Our test setup.

The Matlab output of our data. We collected the data using Teraterm from the serial output of the arduino, and formatted and graphed it using Matlab. We started with sitting, and transitioned to standing and back to sitting again. The transitions can be clearly seen, particularly in the first and third graphs (X and Z accel). The next step is to determine how difficult it will be to detect these transitions and not other activity.