Libelium is offering new technical support channels, to contact with de Technical Support team to solve any issue our doubt please contact with your sales agent or visit our contact site



Post a new topicPost a reply Page 1 of 1   [ 10 posts ]
Author Message
 Post subject: ECG value stay the same
PostPosted: Fri May 05, 2017 8:28 pm 

Joined: Fri May 05, 2017 8:20 pm
Posts: 5
i did setup from document but EKG value is stay the same.

jumper position is N , - , +

https://www.dropbox.com/s/nj8ug9puf8pdymw/ekg.jpg?dl=0

https://www.dropbox.com/s/jmvxhq3xmhq0i0i/EKG2.png?dl=0

this is result it KST.

https://www.dropbox.com/s/y5p5w04f6ayob01/9212.PNG?dl=0


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Mon May 08, 2017 7:51 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello numchiew14,

please try this code and open Serial Plotter in arduino IDE (lastest versions)

Code:
#include <eHealth.h>

void setup()
{
  Serial.begin(115200); 
}

void loop()
{
  int ECG = analogRead(0);
  Serial.println(ECG);
  delay(1);   // wait for a millisecond
}


Regards


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Mon May 08, 2017 6:21 pm 

Joined: Fri May 05, 2017 8:20 pm
Posts: 5
thank you, i belive this is my ecg value ?

it seem to have a lot of noise.

https://www.dropbox.com/s/3vavpx1hvt1i7re/312.PNG?dl=0

how to change it to 0-5v output ?


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Tue May 09, 2017 7:38 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello numchiew14,

in order to convert it to volts you can do:
Code:
float analog0 = (float)ECG * 5 / 1023.0;


ECG is a circuit with big amplification and that noise is normal if the contacts are found in the air. For better conductivity between patches and skin you can use conductive gel.

Regards


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Tue May 09, 2017 10:59 am 

Joined: Fri May 05, 2017 8:20 pm
Posts: 5
here is result when i convert to volts.

*unconnect jumper*
https://www.dropbox.com/s/x479n5za9dx0dl5/998.PNG?dl=0

*connect on body*
https://www.dropbox.com/s/qonihmgdv5ke25u/999.PNG?dl=0

*disconnect from body*
https://www.dropbox.com/s/1s5bk25uy2r5qy3/997.PNG?dl=0

here's my code.

Quote:
#include <eHealth.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}

void loop() {
// put your main code here, to run repeatedly:
int ECG = analogRead(0);
float analog = (float)ECG * 5 / 1023.0;
Serial.println(analog);
delay(5); // wait for a millisecond
}


It does not seem right to me.


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Wed May 10, 2017 7:49 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello numchiew14,

please check your ECG/EMG jumper, put it on the left position (ECG)
Image

Regards


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Wed May 10, 2017 12:01 pm 

Joined: Fri May 05, 2017 8:20 pm
Posts: 5
I connect ECG sensor in this position.

https://www.dropbox.com/s/nj8ug9puf8pdymw/ekg.jpg?dl=0

I think i connect it correctly.


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Thu May 11, 2017 9:08 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello numchiew14,

in your photo the ECG/EMG jumper is wrong connected, in EMG position (at the right instead of at the left). Please change the jumper and try again.

Regards


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Thu May 11, 2017 10:38 am 

Joined: Fri May 05, 2017 8:20 pm
Posts: 5
I try to connect like this.

here is an output.

https://www.dropbox.com/s/6jawv3qv3sa0mvj/9393.jpg?dl=0

https://www.dropbox.com/s/o9nw87d2yylef2l/100.PNG?dl=0

and then i try connect like this. here is an output.

https://www.dropbox.com/s/nj8ug9puf8pdymw/ekg.jpg?dl=0

https://www.dropbox.com/s/fxe4xqh243kku ... 3.PNG?dl=0

Where is the correct position ?

and second try is look like ECG to me. but value is so low.
I try to change to conductive gel and connect 12v. adapter but value is still low.

https://www.dropbox.com/s/anisdaj6g9w54 ... 6.PNG?dl=0


Top
 Profile  
 
 Post subject: Re: ECG value stay the same
PostPosted: Fri May 12, 2017 7:34 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello numchiew14,

as you can read in the tutorial, connect the three leads (positive, negative and neutral) in ECG connector:
Image

this is a jumper:
Image

Where you can read EMG/ECG Jumpers, please put the jumper on the left (1 and 2 in the board).
Imageç

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 10 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.