ECG

Hi, could anyone help me get the following code of heart rate (ECG)?

''Create a code that can be obtained when a heartbeat occurs. To do this, you have to analyze the signal peaks that appear every time a heartbeat occurs and you discriminate this from the signal.
Obtain the maximum and minimum values ​​to achieve a threshold, above the minimum but below the maximum.''

I do not know how to get the maximum and minimum to get the threshold.

Thanks in advance.

Is that all you've got? Didn't teacher specify the sensor you are to use ?

If I thumped you upside the head at random intervals, and asked you to determine the hardest I'd hit you and the softest, could you do that?

What would you need to know in order to determine that?

it is e-Health Sensor Shield

ipt11:
it is e-Health Sensor Shield

And google has completely failed you?

Here is a description of an arduino based ECG monitor with some theory and the code: http://www.instructables.com/id/ECG-Monitoring-System-by-Using-Arduino-or-AD8232/

All that e-Health platform has been renamed to mySignals http://www.libelium.com/products/mysignals/

hello dear all

good day - i have found a interesting approach here.

Our main objective is to implement a monitoring system which monitors the heart pulse of a patient. This work presents a novel easy to use system intended for the fast and non invasive monitoring of the Lead I electrocardiogram (ECG) signal by using a wire less steering wheel. The steering wheel used here is a prototype model. A novel heart rate detection algorithm based on the continuous wavelet transform has been implemented, which is specially designed to be robust against the most common sources of nois e and interference present when acquiring the ECG in the hands. Skin
Electrodes were used to record the nerve voltages for monitoring the heart pulse. The voltages recorded will be sent to an instrumentation amplifier which amplifies the signal, and then to a filter which filters the noise. Thus, analog signal is given to Analog to Digital Convertor (ADC) of Arduino. There, analog voltages are been converted to digital and that digital values will be stored in the EEPROM of Arduino. The values stored in EEP ROM will be sent to PC via XBEE (IEEE 802.15.4) wirelessly and a serial port will be opened in the MATLAB by using a serial object. GUI is progrmmed to make the user interface interactive and simple. Using the real time plot, I’ve plotted the values recei
ved by XBEE module and making a running waveform which displays when the MATLAB sent a query to Arduino.

the gather the signal - and amplify it trough different stages then they add a noise filter..

See them _ writing how they did it with Matlab