AD8232 HELP

Thread Starter

snake0012

Joined Jul 24, 2020
9
Hi guys I am on a little project (ecg with an arduino) I followed all the topics , the diagrams to wiring
, electrodes placement.... But never I can get an classic ECG GRAPHIC Please help Best regards

AD8232

Gnd-gnd
3,3v -3,3 v
Output -a0
Lo- dig 11
Lo+- dig 10
Sdn- none

Code:

C:
Void setup() {
// initialize the serial communication:
Serial.begin(9600);
pinMode(10, INPUT); // Setup for leads off detection LO +
pinMode(11, INPUT); // Setup for leads off detection LO -

}

void loop() {

if((digitalRead(10) == 1)||(digitalRead(11) == 1)){
Serial.println('!');
}
else{
// send the value of analog input 0:
Serial.println(analogRead(A0));
}
//Wait for a bit to keep serial data from saturating
delay(1);
}
Mod edit: code tags - JohnInTX
 

Attachments

Last edited by a moderator:

MrChips

Joined Oct 2, 2009
30,824
1) Show us a circuit diagram.
2) Show a photograph of your setup (circuit). Recording ECG is not child's play. Do it wrong and you will get a total mess.
3) What is your sampling rate?
 
Top