Top Banner
BodyTrack BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking Anne Wright, CREATE Lab, CMU Thursday, July 28, 2011
24

BodyTrack OSCon Talk 7/28/11

Dec 05, 2014

Download

Technology

annerwright

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: BodyTrack OSCon Talk 7/28/11

BodyTrack

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Anne Wright, CREATE Lab, CMU

Thursday, July 28, 2011

Page 2: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Overview Origin story

Approach and system description- Explorable data viewer- Custom device development: Microclimate basestation, Cheststrap- Server components

QS Ecosystem gardening

Quantified Health Evangelism

Get Involved!

- Sign up to keep informed of progress: http://bit.ly/btsub - Main web site: http://bodytrack.org/ - Developer site: http://bodytrack.org/developers.html- Github site: https://github.com/BodyTrack- Email me, Anne Wright [email protected]

Thursday, July 28, 2011

Page 3: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

The beginning: Robots!

Thursday, July 28, 2011

Page 4: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

NASA Ames RoversK9Marsokhod

Thursday, July 28, 2011

Page 5: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Too sick to work on rovers Apply

Thursday, July 28, 2011

Page 6: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Human System Debugging

Thursday, July 28, 2011

Page 7: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

What type of food matters!

Thursday, July 28, 2011

Page 8: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Wide variation in reaction to inputs

Thursday, July 28, 2011

Page 9: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Study biochemistry at CMU

Thursday, July 28, 2011

Page 10: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Search for better tools for Human System Debugging

Great, but can’t graph on same time axes!

Thursday, July 28, 2011

Page 11: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

BodyTrack chest strap:EKG, respiration, accelerometry, temp, humidity;stress, cough/sneeze, snoring

Indoor air qualityBodyTrack Microclimate Environmental Basestation:Temp, humidity, barometric, sound levels, light;Sleep hygiene, air quality (with external sensor)

Sleep loggingRegional data sources:Weather, air particulates, other pollutants, pollen, mold, water quality

Smart phone apps:Pictures, GPS location, activity;food, events, self-reporting

Actigraphy:Activity and energy levels

Weight

BodyTrack

BodyTrack Web Server and Datastore

Thursday, July 28, 2011

Page 12: BodyTrack OSCon Talk 7/28/11

Regional data sources:Weather, air particulates, other pollutants, pollen, mold, water quality

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Indoor air quality

Sleep logging

Smart phone apps:Pictures, GPS location, activity;food, events, self-reporting

Actigraphy:Activity and energy levels

Weight

Aggregate existing pieces

BodyTrack Web Server and Datastore

BodyTrack chest strap:EKG, respiration, accelerometry, temp, humidity;stress, cough/sneeze, snoring

BodyTrack Microclimate Environmental Basestation:Temp, humidity, barometric, sound levels, light;Sleep hygiene, air quality (with external sensor)

Thursday, July 28, 2011

Page 13: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Indoor air quality

Sleep loggingRegional data sources:Weather, air particulates, other pollutants, pollen, mold, water quality

Smart phone apps:Pictures, GPS location, activity;food, events, self-reporting

Actigraphy:Activity and energy levels

Weight

Build missing pieces!

BodyTrack Web Server and Datastore

BodyTrack chest strap:EKG, respiration, accelerometry, temp, humidity;stress, cough/sneeze, snoring

BodyTrack Microclimate Environmental Basestation:Temp, humidity, barometric, sound levels, light;Sleep hygiene, air quality (with external sensor)

Thursday, July 28, 2011

Page 14: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Don’t throw away data!

3 KHz accelerometry on the chest can capture Coughing, sneezing, snoring, speaking, more…

Full-rate ECG can capture Stress levels, activity levels, more…

Audio during sleep can capture Snoring, reasons for awakening, more…

Thursday, July 28, 2011

Page 15: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Big Data

12 KSPS x 1 day = 1 billion samples per day Not a job for MySQL

BodyTrack Datastore supports rapid access across levels of detail (GigaPan)BodyTrack Viewer allows rapid exploration of billions of datapoints

Easy to add real-time computation to combine data and generate new metrics

Thursday, July 28, 2011

Page 16: BodyTrack OSCon Talk 7/28/11

Family of open source sensors sharing a common technology base XMEGA processor, log data to SDHC, interface to host over FTDI USB Firmware supporting both current designs at https://github.com/BodyTrack/BodyTrack_CustomLoggers Java gateway code at https://github.com/BodyTrack/bodytrack-logger-gateway

Microclimate Environmental Basestation (Hardware; firmware in C) Hardware design at https://github.com/BodyTrack/Schematic_BaseStation Version 3 currently in alpha test; approaching beta-quality. Directly measures temperature, humidity, barometric pressure, sound and light levels Interfaces to Dylos air particulate monitors over serial Supports introspection on sleep hygiene, circadian rhythm, respiratory stressors, etc.

Chest Strap Hardware design at https://github.com/BodyTrack/Schematic_ChestStrap Directly measures EKG, respiration, accelerometry, temperature, and humidity Supports work on derived metrics for stress (HRV), coughing, sneezing, snoring, etc.

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Open-Source Sensor Projects

Thursday, July 28, 2011

Page 17: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

BodyTrack Server Projects Fast datastore (C++)

- Implements multi-resolution data tiling on top of key/value store (default is filesystem)- Scales to 1TB per channel- Response time < 10 msec for tiles at any level of detail, even summary of entire 1TB- In process of deploying to alpha website to replace original MySQL-based datastore

BodyTrack Website (Ruby On Rails, MySQL)- Very active development; currently in transition to incorporate fast datastore- REST APIs for data upload and, query of device/channel data for account, and multi-res tile fetch

Explorable data viewer (Javascript/HTML5 Canvas/GWT)- Interactive exploration of very large datasets - Pulls in data on the fly as user zooms and explores- In process of specifying interface to Website and making available as separate project

Thursday, July 28, 2011

Page 18: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-TrackingThursday, July 28, 2011

Page 19: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-TrackingThursday, July 28, 2011

Page 20: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-TrackingThursday, July 28, 2011

Page 21: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Build synergy and community

Thursday, July 28, 2011

Page 22: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Cultivate new sensors

Encourage exportability and good timestamps!

Thursday, July 28, 2011

Page 23: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Quantified Health Evangelism

Thursday, July 28, 2011

Page 24: BodyTrack OSCon Talk 7/28/11

BodyTrack: Open Source Tools for Health Empowerment through Self-Tracking

Help us build this! Tools or stories to share?

Issues you want to track?

Want to contribute to development?

Get Involved!- Sign up to keep informed of progress: http://bit.ly/btsub - Main web site: http://bodytrack.org/ - Developer site: http://bodytrack.org/developers.html- Github site: https://github.com/BodyTrack- Email me, Anne Wright [email protected]

Thursday, July 28, 2011