Post a new topicPost a reply Page 1 of 2   [ 12 posts ]
Go to page 1, 2  Next
Author Message
 Post subject: Arduino Compatibility & ECG
PostPosted: Mon Jan 16, 2017 6:31 am 

Joined: Mon Jan 16, 2017 5:40 am
Posts: 3
Dear Support Team,

I have some questions concerning the MySignals HW platform.

You are recommending to use the shield with an Arduino Uno and I was wondering if it is possible to replace it with an Arduino Mega 2560 (https://www.arduino.cc/en/Main/ArduinoBoardMega2560) since it is build to be fully compatible with the Arduino Uno. I am interested in using it due to its larger flash memory in the hopes of being able to use all or at least more sensors at once that way.
So a) is it possible to replace the Uno and b) would more flash memory allow me to use different sensor types at the same time (f.ex. BLE and analog) or is there anything else making that impossible?

My second question concerns the current output of ECG data. Measuring ECG is essential to me which is why I have used your previous eHealth Kit 2.0 to do so among others with good results. I was hoping to get a more accurate measurement using the updated MySignals.
I tested both the HW and the SW kit using the PS200 patient simulator from Seculife which generates different types of ECG Signals. (https://i.imgsafe.org/c58ab34c8b.jpg)

Here is what I measured using the eHealth kit and KST:
https://i.imgsafe.org/c58760c5b8.png
Here is a measurement using an Edan M50 patient monitor:
https://i.imgsafe.org/c58880bb99.jpg

As you can see the output is a perfect ECG Signal with only minor differences in the amplitude of the R wave. What I have measured using the MySignals Kits however is less satisfying.
This is the output of the SW kit:
https://i.imgsafe.org/c58bdae769.jpg
The lines are irregular and the R waves have different amplitudes. Sometimes they are not being detected at all (2nd beat). As a result the software isn't calculating the heart rate right either. I was simulating 100 bpm here.

I have an even bigger issue with the HW kits I have available. The different kits I have measured (about 5 different ones) all have varying degrees of noise visible, sometimes to the point of not being able to recognize any ECG.
https://i.imgsafe.org/c5899c6fe7.jpg
https://i.imgsafe.org/c586b504b2.jpg

Can you tell me why I am having these issues? Is there a possible correlation to the code provided by you? I am using the SDK 1.0.1 and the ECG_TFT code.

Thank you in advance. Regards.


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Tue Jan 17, 2017 8:32 am 

Joined: Mon Sep 28, 2009 11:06 am
Posts: 10492
Hello Osiris,

Thanks for your contribution.

About your questions:

1) Sorry about it but we have not tested the product over Arduino MEGA.

2) About ECG visualization we are working in an improved method to sent ECG to the cloud, sending all the data information. The problem in MySignals SW is the representation method. We still working in order to improve our product. Sorry about these problems.

3) About HW ECG. Something is wrong here. Are you using a grounded power source? Send photos about the complete hardware system.

Regards.


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Tue Jan 17, 2017 4:54 pm 

Joined: Mon Jan 16, 2017 5:40 am
Posts: 3
Hello Support,

Thank you for the quick response.

1) Assuming it does work, would the larger flash memory mean you can run all sensors simultaneously?

2) Thank you for the information.

3) I have now tried several Configurations including using my Laptop over USB with and without power source with no change. All of the power sources use Schuko plugs so they are all grounded.

Here are some pictures of what I've tried:

This is MySignals HW with its own power source and the PS200 patient simulator running on battery:
http://i.imgsafe.org/e4a64ba898.jpg
It's not recording proper data.

This is MySignals HW with its own power source and the PS200 running with its own power source visible in the other picture and a 1 mV Signal:
http://i.imgsafe.org/e4a659bdf0.jpg
The system doesn't recognize any data.

This is MySignals HW with its own power source and the PS200 with its own power source and a 2 mV Signal:
http://i.imgsafe.org/e4a66cd46d.jpg
Data is being recorded again but it's still noisy.

Regards.


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Thu Jan 19, 2017 8:52 am 

Joined: Mon Sep 28, 2009 11:06 am
Posts: 10492
Hello osiris,

1) Sorry about it but we have not testet ir.

3) Could you test the board with a real patient? In order to see if there is the same noise.

Regards.


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Thu Jan 19, 2017 4:09 pm 

Joined: Mon Jan 16, 2017 5:40 am
Posts: 3
Hi,

After some experimentation I now know what has been causing the issue with ECG measurements. It was noise coming from the Wifi Module attached to the shield. Upon removing it I'm getting the expected results.

So I'll have one last question: Is it possible to turn the Wifi module off in software without removing it from the board?

Regards.


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Tue Jan 24, 2017 8:44 am 

Joined: Mon Sep 28, 2009 11:06 am
Posts: 10492
Hello osiris,

Thanks for your contribution.

We will solve this problem in the next release.

Regards.


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Mon May 22, 2017 7:24 am 

Joined: Mon May 15, 2017 8:36 am
Posts: 2
To get MySignals shield to work with Arduino Mega 2560 you need to re-wire special pins. I have successfully run MySignals with arduino Mega 2560. I used some 90 degree pin headers and jumper wires to do re-wiring. Locate 4 pins on MySignals which should be connected on Arduino UNO's pins 10,11,12,13. These are SS, MOSI, MISO and SCK pins. Connect them to Arduino Mega's pins 53,51,50,52 respectively. Also you need to re-wire A4 and A5 pins to Arduino Mega's pins 20,21. After this configuration it should work.


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Tue May 23, 2017 8:25 am 

Joined: Mon Sep 28, 2009 11:06 am
Posts: 10492
Hello sedatbilgili,

thank you very much for your contribution to the forum. In order to enter sleep mode in WiFi module please check the code in this post:
viewtopic.php?f=59&t=10123

Regards


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Fri Jun 16, 2017 1:01 pm 

Joined: Thu May 11, 2017 2:44 pm
Posts: 3
Ok, thank you. I tried it and it works. In addition to changing the pins you need to edit the MySignals.h accordingly.

The only thing that didn't work for me at first was the touchscreen functionality of the TFT display. Same here: In the Constructor exchange the digital Pin Names of the Uno for the Mega ones. So it's:

UTouch myTouch(54,53,55,56,57);

instead of UTouch myTouch(14,21,15,16,17);

I would be happy though if support could answer why the CS is 21 though. As far as i know the Uno only has 20 digital pin numbers (0-19).


Top
 Profile  
 
 Post subject: Re: Arduino Compatibility & ECG
PostPosted: Mon Jun 19, 2017 6:38 am 

Joined: Mon Sep 28, 2009 11:06 am
Posts: 10492
Hello QRST,

We use precisely this value 21 because it does not exist in Arduino Uno. The library need the declaration of this pin but we don't need to declare it because CS is always selected by hardware.

Thank you very much for your contribution.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 2   [ 12 posts ]
Go to page 1, 2  Next


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.