Hello,
I am now using a pulse sensor to collect PPG signal on a human body. Basically, a pulse sensor is composed of a LED and a light sensor.
I connect the pulse sensor to Arduino UNO using this circuit:
(the image doesn't show up, click this URL to see the image)
.
And here is the code I use for reading the analog input:
void setup() {
analogReference(DEFAULT);
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(0.1); // delay in between reads for stability
}
Now the PPG signal I received is saturated on the top(see the image in the attachment).
I have tried the same thing on another Arduino UNO card and I got the same result.
I am thinking of using a serial resistor, would that work?
Do you guys have any solution or idea can help to solve this problem?
Thanks!