Difficulties configuring SHIELD-EKG-EMG with Arduino Uno

Started by EricFSU22, March 21, 2013, 11:08:39 PM

Previous topic - Next topic

EricFSU22

Hello,

I am new this forum, and am looking for some assistance setting up my Olimex EKG/EMG Shield on my Arduino UNO.

After importing libraries (TimerOne, FlexiTimer2) in Arduino 1.01, I uploaded the sample sketch found at http://www.olimex.com/dev/shield-ekg-emg.html. Then I moved the jumpers on the EKG/EMG board such that REF-E is closed, 5V selected, D9 position, ANI_SEL set to 1st channel.

http://imgur.com/a/4BA3E
Then I connected the boards and ran ElectricGuru, but it could not connect to the serial port. Is this shield not compatible with the Arduino UNO (must be ran with Olimex 328)? If it is compatible what am I doing wrong? Thanks any advice is greatly appreciated!

-Eric

LubOlimex

Hey Eric,

The electrode (audio jack) doesn't seem connected properly. It seems half-plugged.

The library should be compatible with all Arduino boards (https://www.olimex.com/Products/Duino/Shields/SHIELD-EKG-EMG/resources/ShieldEkgEmgDemo.zip). However, OLIMEXINO-328 and Arduino UNO despite having the same microcontroller use different bootloaders (OLIMEXINO-328 uses Arduino Duemilanove bootloader).

Some users have showed progress with Arduino UNO R3. For example: http://www.youtube.com/watch?v=uuGDnuqZqu8 and http://www.youtube.com/watch?v=15D6zbXlQ4c

http://thinkering.npage.de/arduino-microcontroller/portable-ecg-monitor.html

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

berdran

I had the same problem (I have Arduino R3). I checked in the device manager (for the USB Arduino device) the number for the COM port: I found 13. Then, I went to the advanced settings, where I could select COM1. Then, I could choose the right COM port with the Arduino soft. And it worked.
It works well for me -at least with BrainBay.

Does it work for you now?

eldino

Hello,
the web page for a sample of data by arduino uno is hs  :(
http://thinkering.npage.de/arduino-microcontroller/portable-ecg-monitor.html

the code ShieldEKGEMGDemo print by serial monitor this results:
3
127
1
165
90
2
250
0
162
1
151
2
25
2
108
2
213
3
28
1
165

what it's?

how create graph in excel with this?

Thanks for yours regards

Sakar

The sample code prints the individual bits the board is outputting, for use with ElectricGuru to graph it. To graph the board directly (such as from Excel), all you need to do is "Serial.print(analogRead(A0));" for the default pin position. This will print the byte value of the output, and this can be graphed in Excel. It should be read at 256 Hz, if possible, but "if (mills() % 4 == 0) {(code)}" will approximate 250 Hz.
Quote from: eldino on March 13, 2016, 03:03:59 PM
Hello,
the web page for a sample of data by arduino uno is hs  :(
http://thinkering.npage.de/arduino-microcontroller/portable-ecg-monitor.html

the code ShieldEKGEMGDemo print by serial monitor this results:
3
127
1
165
90
2
250
0
162
1
151
2
25
2
108
2
213
3
28
1
165

what it's?

how create graph in excel with this?

Thanks for yours regards