November 15, 2024, 10:55:06 AM

SHIELD-EKG-EMG data conversion

Started by Megmed, January 29, 2015, 07:10:19 PM

Previous topic - Next topic

Megmed

Hello there

So i've been using the Shield above to read the ECG data, the data is sent through packets of 17 octets long

How can i convert the data from the big endian format that it's used to a proper ECG format (the decimal one).

Thank's

Sakar

You can get a single byte, instead of the packets, if you skip the example code and "Serial.print(analog.read(A0));" This will print to the serial monitor graphable data, just import to excel (or program of choice) and graph. Read at 250-256 Hz for accurate data.