April 24, 2024, 08:35:28 PM

SHIELD-EKG-EMG

Started by Gravity, October 31, 2012, 10:39:31 PM

Previous topic - Next topic

Gravity

SHIELD-EKG-EMG with the OLIMEXINO-328 :)

Can anyone tell me what alternative software I can use with this board in order to run the demo examples.  I tried to get the 'Electric Guru' software but it is no longer available on the web.

:)

LubOlimex

#1
Hello there Gravity,

I have uploaded it in the Software section of the SHIELD-EKG-EMG page: https://www.olimex.com/Products/Duino/Shields/SHIELD-EKG-EMG/.

Direct link for download: https://www.olimex.com/Products/EEG/OpenEEG/EEG-SMT/resources/ElecGuru40.zip

Alternatively, you can use BrainBay.

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

yb

#2
I have a question about the 6 channels of the SHIELD-EKG-EMG.
I use the example code on an olimexino328 to interface with a computer, the packets are correctly received.
I can detect the beginning of a packet 'Z'  and the end '\xa5', i get the packet version '\x02' and the counter.
The next 12 bytes are the payload (2bytes per channel), but i don't exactly know what each of the channel corresponds to physically? (i have three electrodes (L/R/D))

here are two sample packets:
"
Z\x02G\x02\x9e\x02A\x02\x0f\x02\x0f\x03\xff\x03\xff\x01\xa5
Z
\x02H\x03\x02\x02\xa7\x02g\x02P\x03\xff\x03\xff\x01\xa5

"
legend: packet delimiter, version, packet number, data, switches

any documentation available on the subject? do you have any insight, on how the data relate to the ECG waveform i want to reconstruct?

thanks!

LubOlimex

Hello yb,

The useful data in the red is only the two bytes for you. The rest is for the other 5 channels.

struct modeeg_packet
{
uint8_t sync0; // = 0xA5
uint8_t sync1; // = 0x5A
uint8_t version; // = 2
uint8_t count; // packet counter. Increases by 1 each packet
uint16_t data[6]; // 10-bit sample (= 0 - 1023) in big endian (Motorola) format
uint8_t switches; // State of PD5 to PD2, in bits 3 to 0
};


You can find the source of the firmware where the packet is defined:

http://openeeg.sourceforge.net/doc/modeeg/firmware/modeeg-p2.c

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

gridman

Can't seem to locate the ElecGuru files. The link was no good. Most other links to it just end up on the Realization page.

LubOlimex

Try to access it from the software section located on the EEG-SMT page (not from the forum): https://www.olimex.com/Products/EEG/OpenEEG/EEG-SMT/

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