I'm new on this forum. I'm working on my heartbeat sensor (pulse sensor) that uses PPG technology, i've got some troubles to calibrate the sensor. Actually, i don't know how to choose a "threshold value" in order to have the shape of that ppg signal when i put my finger on it. Do you have any idea, please ? If you want me to give more details, feel free to ask me, and thank you!!
I believe you will need an adaptive setup, where you use the peak maximum and minimum levels, and set the threshold proportionally between those.
Ideally monitor the levels on an oscilloscope to see what percentage between the peaks will give the ideal signal - or adjust through the range and use the midpoint between the extremes it becomes unreliable.
Thanks so much for your reply!
Unfortunately, I don't have an oscilloscope available right now, but I'm using the serial monitor of Arduino instead, but still the same problem. To be more practical, I'm gonna share the result that I got, and the signal that I wish to have! The program that is available on Arduino's library suggests a threshold value that we can adjust, tried many values randomly f many times but in vain. Thank you so much!! I need help, please!
Girino - Fast Arduino Oscilloscope: I am a Physicist and the nicest part of working in this field is that I get to build my own instruments. With this way of thinking, I decided to build a homebrew Arduino Oscilloscope. This instructable was written with the purpose of teaching a bit …
www.instructables.com
This is soundcard solution, scope + spectrum analyzer + sig gen, make sure you protect inputs -
It looks like you need a lot more gain before the ADC to get a decently accurate waveform representation.
You may be able to get something from the existing signal using a low pass filter, eg. like storing the last 32 samples in a circular buffer and adding them all together after each new sample, to get a slower-moving signal with a lot more levels.
I'm new on this forum. I'm working on my heartbeat sensor (pulse sensor) that uses PPG technology, i've got some troubles to calibrate the sensor. Actually, i don't know how to choose a "threshold value" in order to have the shape of that ppg signal when i put my finger on it. Do you have any idea, please ? If you want me to give more details, feel free to ask me, and thank you!!
It looks like you need a lot more gain before the ADC to get a decently accurate waveform representation.
You may be able to get something from the existing signal using a low pass filter, eg. like storing the last 32 samples in a circular buffer and adding them all together after each new sample, to get a slower-moving signal with a lot more levels.
I believe that the signal that I will have on the serial plotter will not be clean, and this is normal because of motion artifacts, but this is the next step of my project which is filtering the signal. Firstly, I think I need to calibrate the sensor, then after having a noisy PPG signal, I'll try-finally to filter it. What do you think?
Note this ap note seems to have been obsoleted, maybe contact author to see
if there is an update. Could be medical application some vendors gun shy on
involvement.
In general PSOC has the following on it (single chip) -
Note this ap note seems to have been obsoleted, maybe contact author to see
if there is an update. Could be medical application some vendors gun shy on
involvement.
In general, PSOC has the following on it (single chip) -
Hello Dana!
Thanks for your help! I get from that document that maybe it is not necessary to have the shape of the signal that I am aiming for, because It is the main purpose of filtering, What do you think? But still, the threshold value needs to be adjusted!
PS: For filtering, I am planning to use LMS Algorithm.
Set-up the Hardware and Software, and see your heartbeat & pulse ! We've also put together this handy guide. PulseSensor Starter Project Code Features Blink Pin 13 LED with your heartbeat! Live visualization of Pulse Signal on Arduino Serial Plotter Newbie-friendly code Once you've...
According to the original article, the amplitude out of the sensor is near 200 ADC counts, which gives a decent signal range to work with; yours is more like 5 counts.
That implies something wrong with the hardware setup, a faulty sensor, or the ADC input pin is not configured correctly??
I'm gonna share the Arduino code and the schematic. My circuit contains the following components: 10 LEDs, 10 resistors (1 k ohm), Arduino UNO, and my pulse sensor. The circuit is quite simple.
Thank you so much for your precious help!
According to the original article, the amplitude out of the sensor is near 200 ADC counts, which gives a decent signal range to work with; yours is more like 5 counts.
That implies something wrong with the hardware setup, a faulty sensor, or the ADC input pin is not configured correctly??
so I'll start with D0, just a quick question please, I think that led 13 on Arduino's board will lighten if I have something wrong with my circuit, and the LEDs will lighten simultaneously with my heartbeat? What do you think?