Health monitoring on the Android Smartphones

From MID DAQ
Jump to: navigation, search

Heat stroke is defined as a body temperature of greater than 40.6C degree due to environmental heat exposure with lack of thermo-regulation. Design a system where the body temperature and other bio-signals can be monitored. For examples, when 2C degree rise in temperature is detected/ rate of heartbeat exceeded certain threshold value, an emergency SMS with GPS location information is sent.

EE 65 Temperature Monitoring (Short Version)

EE65 Temperature Monitoring (Long Version)

EE65 ECG Monitoring

Status

we are able to complete the steps 1 to 7 of the given Health monitoring on the Android Smartphones. However, we are unable to do step 5, which is to use the GPS info to help generate a URL of the location from google map.

Todo

  1. Install and run Python and DAQ diagnostic on Smartphone
  2. Install and run Android SDK and DAQ diagnostic on PC
  3. Run and observe SMS example
  4. Run and observe GPS example
  5. Modify GPS and SMS examples to send GPS info in URL via SMS so recipient can view map of location
  6. Run and observe measure temperature example
  7. Modify code to send location, temperature info via SMS when temperature is exceeds threshold
  8. Run and observe ECG example
  9. Modify code to send SMS when heart rate is exceeded

References

Calculate Heart Rate from ECG waveform

code snippet to measure heart rate (shr) in beats per minute

    # read waveform
    ECGdata = m.ReadAnalogWaveform(emant.Emant300.AIN2,emant.Emant300.AIN3, NumSamples)
    reading = NotchMains(ECGdata)
    # calculate heart rate
    try:
        thresh = (max(reading)-min(reading))/2
        maxlist, minlist = peakdetect.peakdet(reading,thresh)
        ym = map(list,zip(*maxlist))
        if len(ym[0])>=2:
            diff=[]
            for i in range(len(ym[0])-1):
                diff.append(ym[0][i+1]-ym[0][i])
            hr = sum(diff)/len(diff)
            shr = str(ScanRate*60/hr)
        else:
            shr = "none"
    except IndexError:
        shr = "none"

$10 million Qualcomm Tricorder X PRIZE

Imagine a portable, wireless device in the palm of your hand that monitors and diagnoses your health conditions. The winner will be the team that most accurately diagnoses a set of diseases independent of a healthcare professional or facility and that provides the best consumer user experience.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox