Welcome, Guest

### Author Topic: Olimex EKG shield. Help! Calculating actual ECG voltage from ADC_Value?  (Read 2224 times)

#### brianzkee

• Newbie
• Posts: 2
• Karma: +0/-0
##### Olimex EKG shield. Help! Calculating actual ECG voltage from ADC_Value?
« on: February 21, 2015, 06:02:27 AM »
Help, how can I calculate the actual ECG voltage from the ADC_Value?
Because the ADC_value is int, a 10-bit value (1024) and a reference voltage of 5V. If for example I get a value of 700 converting this to voltage will be like... 700/1024*5V = 3.41V? Well, this is invalid for ECG because it's actual voltage is in millivolts range. Maybe I'm just missing something that's why I'm confused. I think the calculation has something to do with the GAIN. Any Ideas?

• Newbie
• Posts: 9
• Karma: +1/-0
##### Re: Olimex EKG shield. Help! Calculating actual ECG voltage from ADC_Value?
« Reply #1 on: April 07, 2015, 12:19:03 PM »
You need to notice that there is an offset when no electrodes are connected.
Guru will show 300 (ADC Value) which corresponds to the zero voltage.

Thus, the value 400 in voltages is found as follows