TI IC Design Contest North America: Electrocardiogram communicated with android platform via Bluetooth

 



Universidad: Instituto Politecnico Nacional

Miembros del equipo: Manuel Said Torres Gonzalez

                                         Juan Jesus Hernandez Carlon

                                         Aldo Garcia Alcantara

                                         Fernando Vargas Ortiz

                                         Ramon Hernandez Lopez
 
Parts TI usados:


  • LM137
  • LM337
  • UA78M05
  • UA79M05
  • INA118
  • LF353N
  • LM324N
  • MSP430 Value Line LaunchPad Development Tool
  • CC256x Bluetooth / Dual-Mode Evaluation Module 
    (The Bluetooth module will arrive on 06/05/2014)

Project Description

Our Objectives:
Perform a low cost ECG, and you can connect via Bluetooth to an app on android.

What do you do?
Our project shows the cardiac signal in an application in android

What problem does it solve?
This was developed with the idea that anyone with heart problems or athletes may be viewing your heart rate

How it works?
The Cardica signal is amplified because it is very small, then it is filtered with a band-pass (0.1Hz to 120Hz) and filter a NOTCH filter at 60Hz, the latter filter is to remove noise that absorbs signal the line electric.

Once the filtered signal is added a DC level to become completely positive and connected to MSP430G2553 which employs the Analog Digital Converter, to sample the signal and can be sent over the bluetooth module. 

With the application in android, the bluetooth signal is receive and the ECG signal is reconstructed, and will show on the mobile.

Features
  • What are the main features?
    * Construction of low cost
    *Communications Bluetooth
    * Application in Android


  • What makes your project unique?
    Communication Bluetooth with an application in android

  • Is it wireless?
    Bluetooth

  • Does sensors such as accelerometers, temperature, etc.?
    Not

  • Does the collection of solar energy?
    Not

Resources

CODE IN ENERGIA

 

  • CODE ADC

 

void setup()

 {

 

                        Serial.begin(9600);

}

 

void loop()

 {

 

                         int sensorValue = analogRead(A3);

                        Serial.println(sensorValue);

                        delay(1);

}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • CODE BLUETOOTH

 

NOTE: the code was developed, however not counted with any bluetooth module to be tested

 

#include <IRremote.h>

#include <IRremoteInt.h>

 

#define sensorPin A0

 

void setup() {

Serial.begin(9600);

}

void loop() {

if(Serial.available()>0){

char re = Serial.read();

switch(re){

case 'E':

start();

break;

    }

  }

}

 

void start(){

while(1){

Serial.print('s');

Serial.print(floatMap(analogRead(sensorPin),0,1023,0,5),4);

delay(10);

 

if(Serial.available()>0){

if (Serial.read()=='Q') return;

  }

 }

}

 

floatfloatMap(float x, float inMin, float inMax, float outMin, float outMax){

return (x-inMin)*(outMax-outMin)/(inMax-inMin)+outMin;

}


FInal Report

1856.ecg.docx

[https://drive.google.com/uc?id=0B-IOTtkm_zX2djdCeVJ6SzA0R28&export=download]

 

Related
Recommended