Hey. guys. i have a problem.
I connected the ad8323 board to an arduino uno which I connected to my laptop.
The voltage at 3,3 v is on the 3,3 v supply pins (that is apparently not the problem) , all pins seem to be normal.
The code I used (seems to be the standard one that comes with all manuals):
void setup() {
// initialise the serial communication:
Serial.begin(9600);
pinMode(11, INPUT); // Setup for leads off detection LO +
pinMode(10, 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);
}
The problem is that I get some kind of sinusoid instead of ECG graph (and if some contact is badly seated, there will be 2 graphs, otherwise, the one I showed above). This is definitely not my heart rhythm, because I am not dead(sort of). I would be grateful if you could help me, please.
I also noticed that the LED on the ad8323 inside the heart pattern lights up alternately, maybe this has something to do with it.
2 posts - 2 participants