===== Open Med Sensor ===== {{:project:8032319169_c24a1c1749.jpg|(screenshot)}} Trying to open proprietary medical sensors and connect them to the Internet. Connecting a personal medical sensor device to the Internet enables storing measurements over time (compared to a single measurement displayed on the device display). A connected sensor is thus more valuable than a stand-alone device. Connected sensors do exist, but are often quite expensive. On the other hand, Bluetooth modules and Bluetooth enabled Smartphones are readily available and can act as a cheap gateway to the Internet. {{:project:8032320005_dacf042957_m.jpg|}}{{:project:8032317798_fbdd92f266_m.jpg|}}{{:project:8032319331_ae13e3c31c.jpg|}} [Oct 2012] "voodoo" interface, oscilloscope measurement: {{http://farm9.staticflickr.com/8328/8123487561_d63bc55c0c.jpg}}{{http://farm9.staticflickr.com/8184/8123487703_5e39fb802c_m.jpg}} [Nov 2012] intercepting the i2c bus: {{http://farm9.staticflickr.com/8487/8162713640_c12a911361_n.jpg}}{{http://farm9.staticflickr.com/8350/8162713504_3a08bf3bc3_n.jpg}} {{http://farm9.staticflickr.com/8345/8204837900_f07ca73a19.jpg}}{{http://farm9.staticflickr.com/8066/8203747069_d44e3bb210_n.jpg}} [Nov 2012] talking to the EEPROM (i2c multi master setup): {{http://farm9.staticflickr.com/8058/8204835280_d754bb6a99_n.jpg}}{{http://farm9.staticflickr.com/8205/8203744859_243db62196_n.jpg}} ===== Hardware ===== * Weinberger KP-6241 (CHF 25 at Media Markt) * BlueSMIRF Bluetooth Module (https://www.sparkfun.com/products/582) * Arduino Nano * Nexus S Android Smartphone with Bluetooth, Wifi, 3G ===== Tasks ===== * Open the medical sensor device housing [DONE] * Find a way to intercept data sent to LCD display [DONE] * Detect signals sent to LCD display with multimeter [DONE] * Detect signals sent to LCD with oscilloscope [DONE Oct 2012] * Attach wires to LCD display, to do the measurement with an Arduino [DONE Oct 2012] * Decode communication protocol between device and LCD display [FAILED Oct 2012] * Attach wires to i2c test points SCL and SDA [DONE Nov 2012] * Decode signals sent over i2c when storing measurements with protocol sniffer [DONE Nov 2012] * Read values with Arduino via i2c from EEPROM [DONE Nov 2012] * Setup Bluetooth module to send measurements from Arduino [DONE] * Receive measurements sent via Bluetooth with (Windows) Laptop [DONE] * Receive measurements sent via Bluetooth with Android [DONE] * Make measurements available on the Internet [TODO] * Plan B: use OCR (e.g. [[https://developers.google.com/google-apps/documents-list/#uploading_documents_using_optical_character_recognition_ocr|this Google API]]) to read med device display with Android camera [TODO] * Integrate parts, add portable battery [TODO] * Repackage device [TODO] ===== Tools ===== * Screwdriver * Multimeter * Soldering Iron * A Physics Lab… [post event note ;)] * Oscilloscope [Oct 2012] * Logic Analyzer [Nov 2012] ===== Team ===== * [[https://twitter.com/#!/drdol|@drdol]] * [[https://twitter.com/#!/der_graf|@der_graf]] * [[https://twitter.com/#!/frescosecco|@frescosecco]] * Jonas * [[https://twitter.com/#!/tamberg|@tamberg]] ===== Code ===== * [[https://bitbucket.org/tamberg/makeopendata/src/985cb4beb9df/2012/OpenMedSensor/BtSoftwareSerial/BtSoftwareSerial.ino|BtSoftwareSerial.ino]] (Send data via Bluetooth from Arduino) ===== Links ===== * http://make.opendata.ch/forum/discussion/57/open-data-for-your-health#Item_12 * http://quo.vadis.stojkovic.ch/hacking-a-weighing-scale/ (How to scrape an LCD display) * http://en.esskabel.de/adapter/datasheet/ada-flex-30p-050-set/266 (FFC adapter board, not used) * http://arduino.cc/playground/Code/I2CEEPROM * http://www.instructables.com/id/Weather-proof-Bluetooth-capable-RFID-reader/step2/Configure-the-BlueSmirf-module-via-USB/ * http://developer.android.com/guide/topics/connectivity/bluetooth.html * http://www.flickr.com/photos/tamberg/sets/72157631641565782/ (all pictures CC-BY-SA) * http://www.azumio.com/apps/heart-rate/ {{tag>status:demo health hardware needs:design needs:expert}}