jdesbonnet / LPC824_MAX30102

LPC824 firmware for simple UART interface to MAX30102 SPO2 sensor
6 stars 2 forks source link

GY-MAX30102 #1

Open SayedBaqer opened 7 years ago

SayedBaqer commented 7 years ago

Hi, i am trying to get GY-MAX30102 to read heart rate on Arduino UNO were i need to use to monitor Egg embryo heart rate, i try SparkFun MAX3010x (here) Library but it dose not give stable and correct value of human heart rate, can you help me please? since you have use this sensor with other board,

red=54123, ir=22630 red=54130, ir=22658 red=54122, ir=22532 red=54042, ir=22378 red=54093, ir=22546 red=54102, ir=22525 red=54081, ir=22533 red=54080, ir=22569 red=54095, ir=22602 red=54090, ir=22630 red=54023, ir=22312 red=54025, ir=22462 red=54063, ir=22515 red=54066, ir=22532 red=54073, ir=22573 red=54074, ir=22601 red=54070, ir=22615 red=54074, ir=22646 red=54003, ir=22280 red=53973, ir=22397 red=54024, ir=22495 red=54039, ir=22513 red=54041, ir=22555, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54050, ir=22610, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54084, ir=22695, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54104, ir=22739, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54098, ir=22536, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54011, ir=22491, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54055, ir=22608, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54071, ir=22640, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54066, ir=22663, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54071, ir=22684, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54065, ir=22711, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54062, ir=22739, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54055, ir=22634, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=53993, ir=22550, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54027, ir=22670, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54040, ir=22681, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54036, ir=22695, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54035, ir=22722, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54033, ir=22742, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54041, ir=22764, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54005, ir=22551, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=53985, ir=22633, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54014, ir=22678, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54010, ir=22689, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54014, ir=22718, HR=214, HRvalid=1, SPO2=97, SPO2Valid=1 red=54009, ir=22724, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=54016, ir=22762, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=54013, ir=22722, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53944, ir=22593, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53964, ir=22650, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53973, ir=22651, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53964, ir=22632, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53954, ir=22671, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53960, ir=22685, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53957, ir=22700, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53938, ir=22517, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53918, ir=22594, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53929, ir=22627, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53931, ir=22632, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53937, ir=22651, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53929, ir=22670, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53929, ir=22689, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53917, ir=22516, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53870, ir=22553, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53901, ir=22627, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53910, ir=22634, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53903, ir=22659, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53921, ir=22671, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53914, ir=22679, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53897, ir=22554, HR=214, HRvalid=1, SPO2=96, SPO2Valid=1 red=53849, ir=22541, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53854, ir=22575, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53888, ir=22624, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53889, ir=22636, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53900, ir=22674, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53894, ir=22686, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53905, ir=22642, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53833, ir=22451, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53840, ir=22531, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53850, ir=22573, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53853, ir=22583, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53850, ir=22606, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53864, ir=22640, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53864, ir=22645, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53862, ir=22671, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53834, ir=22443, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53789, ir=22365, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=53634, ir=21199, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=51729, ir=19360, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=6055, ir=43473, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1 red=47171, ir=43156, HR=125, HRvalid=1, SPO2=96, SPO2Valid=1

jdesbonnet commented 7 years ago

You really need to plot the red and IR values on a chart in order to see if it's working. Remember that the amplitude from the heart beat is a tiny fraction of the 'DC' value (eg your IR ADC values might be in the 20000 range but expect the heart signal to be +/- 100 ADC units super imposed on that).

When plotting I suggest subtracting the DC value first (you can calculate the DC value using various techniques, eg digital low pass filter, moving averages etc).

With eggs, you might be better off shining a LED through the egg rather than using the MAX30102 LEDs.

SayedBaqer commented 7 years ago

actually i have long experience in birds hatching, but in some cases specially low productivity birds i need to develop such monitor