text stringlengths 3 234 |
|---|
2025-12-01 07:40:50.396,21659,21673,21673,21671,21675,21669,21683,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3933,76085864 |
2025-12-01 07:40:50.405,21663,21675,21670,21671,21672,21668,21679,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,76100862 |
2025-12-01 07:40:50.429,21663,21664,21669,21670,21671,21667,21675,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,76115862 |
2025-12-01 07:40:50.438,21665,21676,21665,21666,21671,21671,21680,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,76130862 |
2025-12-01 07:40:50.454,21665,21670,21671,21664,21672,21666,21677,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3930,76146862 |
2025-12-01 07:40:50.470,21674,21675,21671,21669,21671,21669,21673,21668,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3930,76162862 |
2025-12-01 07:40:50.487,21672,21677,21669,21665,21680,21667,21676,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3930,76178862 |
2025-12-01 07:40:50.503,21664,21668,21667,21668,21676,21667,21675,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3930,76195864 |
2025-12-01 07:40:50.532,21662,21671,21669,21666,21666,21667,21670,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3930,76210862 |
2025-12-01 07:40:50.533,21673,21672,21665,21671,21676,21662,21673,21666,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3930,76225862 |
2025-12-01 07:40:50.549,21685,21673,21666,21667,21675,21667,21672,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3930,76241863 |
2025-12-01 07:40:50.564,21676,21677,21675,21672,21671,21667,21681,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3923,76256862 |
2025-12-01 07:40:50.581,21683,21677,21673,21668,21672,21666,21678,21668,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3923,76273862 |
2025-12-01 07:40:50.598,21674,21679,21674,21671,21674,21668,21676,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3923,76289862 |
2025-12-01 07:40:50.634,21671,21679,21675,21678,21673,21667,21674,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3923,76305864 |
2025-12-01 07:40:50.635,21671,21674,21674,21671,21670,21670,21678,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3940,76320862 |
2025-12-01 07:40:50.643,21671,21675,21666,21673,21674,21669,21674,21667,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3940,76335862 |
2025-12-01 07:40:50.661,21676,21672,21669,21672,21674,21670,21677,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3940,76352864 |
2025-12-01 07:40:50.674,21668,21666,21672,21668,21673,21668,21679,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3932,76367862 |
2025-12-01 07:40:50.689,21666,21671,21672,21669,21675,21669,21675,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3932,76384862 |
2025-12-01 07:40:50.706,21666,21676,21670,21677,21674,21665,21678,21675,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3932,76401862 |
2025-12-01 07:40:50.735,21664,21675,21674,21675,21677,21666,21680,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3932,76417864 |
2025-12-01 07:40:50.736,21666,21671,21667,21671,21669,21665,21676,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,76432862 |
2025-12-01 07:40:50.752,21670,21672,21665,21674,21676,21672,21678,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,76447862 |
2025-12-01 07:40:50.770,21661,21669,21672,21674,21669,21669,21678,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,76464863 |
2025-12-01 07:40:50.786,21671,21672,21669,21670,21669,21668,21677,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,76479862 |
2025-12-01 07:40:50.797,21667,21676,21668,21671,21678,21670,21674,21676,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3926,76494862 |
2025-12-01 07:40:50.812,21676,21681,21669,21667,21672,21667,21678,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3926,76509862 |
2025-12-01 07:40:50.835,21672,21675,21673,21673,21669,21670,21676,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3926,76526864 |
2025-12-01 07:40:50.843,21678,21670,21667,21667,21671,21664,21672,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3926,76541862 |
2025-12-01 07:40:50.859,21674,21679,21675,21669,21672,21664,21673,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3926,76556862 |
2025-12-01 07:40:50.877,21669,21676,21671,21670,21672,21663,21677,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3926,76572864 |
2025-12-01 07:40:50.892,21668,21677,21672,21672,21675,21663,21679,21666,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3926,76588862 |
2025-12-01 07:40:50.905,21668,21671,21673,21675,21673,21669,21679,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3935,76603863 |
2025-12-01 07:40:50.934,21665,21668,21667,21671,21674,21668,21671,21675,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3935,76617862 |
2025-12-01 07:40:50.939,21662,21674,21669,21669,21675,21669,21672,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3935,76633865 |
2025-12-01 07:40:50.952,21657,21666,21664,21666,21670,21667,21672,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3933,76648862 |
2025-12-01 07:40:50.967,21666,21669,21667,21668,21671,21668,21676,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3933,76663862 |
2025-12-01 07:40:50.983,21670,21673,21666,21669,21673,21670,21678,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3933,76679862 |
2025-12-01 07:40:51.001,21670,21670,21665,21670,21673,21670,21677,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3933,76695863 |
2025-12-01 07:40:51.033,21676,21669,21669,21667,21670,21670,21682,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3923,76710862 |
2025-12-01 07:40:51.034,21672,21676,21671,21672,21668,21669,21678,21675,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3923,76725862 |
2025-12-01 07:40:51.047,21669,21677,21676,21672,21664,21669,21678,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3923,76742864 |
2025-12-01 07:40:51.063,21681,21673,21673,21672,21676,21670,21680,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,76757862 |
2025-12-01 07:40:51.080,21674,21678,21672,21674,21678,21673,21674,21668,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,76772862 |
2025-12-01 07:40:51.097,21671,21676,21668,21672,21676,21671,21678,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,76787862 |
2025-12-01 07:40:51.134,21671,21677,21676,21671,21674,21666,21677,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,76804862 |
2025-12-01 07:40:51.135,21673,21677,21674,21673,21673,21670,21679,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,76819862 |
2025-12-01 07:40:51.142,21664,21675,21670,21677,21668,21668,21674,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,76834862 |
2025-12-01 07:40:51.160,21659,21673,21671,21672,21679,21675,21679,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,76850865 |
2025-12-01 07:40:51.173,21661,21669,21669,21669,21678,21671,21678,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3931,76866862 |
2025-12-01 07:40:51.188,21661,21670,21671,21672,21673,21672,21676,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3931,76883862 |
2025-12-01 07:40:51.205,21668,21680,21672,21669,21678,21671,21677,21677,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3931,76900862 |
2025-12-01 07:40:51.235,21668,21669,21668,21670,21675,21670,21676,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3931,76916864 |
2025-12-01 07:40:51.236,21658,21672,21673,21669,21671,21669,21676,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3925,76931862 |
2025-12-01 07:40:51.250,21665,21670,21668,21674,21670,21670,21675,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3925,76946862 |
2025-12-01 07:40:51.268,21664,21664,21668,21676,21672,21672,21677,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3925,76963862 |
2025-12-01 07:40:51.284,21670,21665,21666,21666,21671,21671,21675,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3925,76978862 |
2025-12-01 07:40:51.296,21662,21670,21665,21664,21672,21668,21672,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3931,76993862 |
2025-12-01 07:40:51.314,21670,21675,21671,21666,21670,21664,21674,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3931,77008862 |
2025-12-01 07:40:51.335,21676,21668,21671,21671,21671,21666,21674,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3931,77024864 |
2025-12-01 07:40:51.347,21675,21671,21669,21671,21671,21665,21672,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3931,77039862 |
2025-12-01 07:40:51.359,21666,21675,21675,21668,21671,21668,21676,21667,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3924,77054862 |
2025-12-01 07:40:51.375,21671,21679,21674,21667,21671,21669,21679,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3924,77071863 |
2025-12-01 07:40:51.393,21668,21667,21671,21674,21670,21665,21677,21669,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3924,77086862 |
2025-12-01 07:40:51.408,21662,21672,21669,21672,21674,21668,21675,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3939,77100863 |
2025-12-01 07:40:51.435,21660,21669,21665,21669,21674,21665,21670,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3939,77116862 |
2025-12-01 07:40:51.441,21666,21673,21670,21673,21671,21668,21674,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3939,77133866 |
2025-12-01 07:40:51.458,21661,21672,21673,21671,21678,21668,21676,21675,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3939,77149862 |
2025-12-01 07:40:51.470,21661,21667,21674,21673,21673,21677,21676,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3935,77164862 |
2025-12-01 07:40:51.486,21670,21666,21668,21672,21674,21669,21678,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3935,77179862 |
2025-12-01 07:40:51.505,21669,21674,21666,21671,21668,21667,21679,21677,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3935,77195866 |
2025-12-01 07:40:51.536,21675,21675,21672,21665,21672,21668,21677,21675,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,77210862 |
2025-12-01 07:40:51.537,21666,21673,21666,21661,21675,21673,21677,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,77227862 |
2025-12-01 07:40:51.548,21668,21675,21666,21668,21672,21672,21678,21679,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,77244862 |
2025-12-01 07:40:51.567,21670,21671,21667,21668,21672,21670,21681,21678,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3927,77260864 |
2025-12-01 07:40:51.579,21668,21672,21668,21667,21670,21665,21676,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3932,77275862 |
2025-12-01 07:40:51.595,21682,21672,21671,21661,21673,21669,21676,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3932,77290862 |
2025-12-01 07:40:51.613,21671,21678,21667,21671,21671,21662,21677,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3932,77307863 |
2025-12-01 07:40:51.634,21680,21669,21666,21673,21673,21664,21678,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,77322862 |
2025-12-01 07:40:51.645,21670,21672,21669,21674,21674,21670,21675,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,77337862 |
2025-12-01 07:40:51.662,21674,21669,21671,21673,21675,21667,21679,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,77352862 |
2025-12-01 07:40:51.679,21665,21670,21670,21676,21673,21665,21678,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3928,77369864 |
2025-12-01 07:40:51.691,21664,21670,21669,21673,21672,21669,21674,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3922,77384862 |
2025-12-01 07:40:51.707,21664,21679,21669,21670,21676,21670,21676,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3922,77399862 |
2025-12-01 07:40:51.734,21666,21663,21671,21665,21682,21669,21680,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3922,77416862 |
2025-12-01 07:40:51.742,21664,21669,21675,21670,21670,21673,21679,21670,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3922,77431862 |
2025-12-01 07:40:51.754,21662,21670,21673,21671,21673,21674,21681,21675,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3922,77448862 |
2025-12-01 07:40:51.770,21667,21672,21673,21671,21679,21669,21679,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3922,77465862 |
2025-12-01 07:40:51.788,21664,21670,21672,21673,21674,21671,21679,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3922,77481865 |
2025-12-01 07:40:51.801,21671,21667,21672,21668,21672,21672,21677,21671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3918,77496862 |
2025-12-01 07:40:51.828,21669,21675,21666,21666,21677,21670,21680,21674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3918,77511862 |
2025-12-01 07:40:51.832,21669,21673,21667,21667,21672,21672,21678,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3918,77528864 |
2025-12-01 07:40:51.849,21664,21667,21667,21665,21664,21668,21676,21675,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3918,77544862 |
2025-12-01 07:40:51.862,21668,21670,21670,21670,21672,21669,21679,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3944,77559862 |
2025-12-01 07:40:51.877,21670,21661,21669,21669,21669,21665,21678,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3944,77574862 |
2025-12-01 07:40:51.893,21668,21670,21671,21670,21672,21667,21675,21679,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3944,77591865 |
2025-12-01 07:40:51.911,21680,21676,21671,21672,21669,21669,21677,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3944,77606862 |
2025-12-01 07:40:51.933,21673,21681,21667,21671,21671,21665,21676,21672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3925,77621862 |
2025-12-01 07:40:51.937,21675,21677,21678,21671,21672,21667,21678,21673,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3925,77636862 |
Smart Mattress BCG Heart Rate Dataset
Posture-Robust Lightweight Smart Mattress Edge Heart Rate Monitoring on Low-Cost Pressure Sensor Arrays
Wu Jie-Neng -- National Yang Ming Chiao Tung University, Master's Thesis, 2026 Code & models: https://github.com/m46012002/smart-mattress-edge-hr
Dataset Summary
This dataset contains ballistocardiography (BCG) signals collected from a 32-channel FSR (force-sensitive resistor) pressure sensor array embedded in a latex mattress. Simultaneously, a fingertip MAX30105 PPG sensor provides heart rate ground truth.
33 healthy subjects performed 5 body postures (supine, prone, left lateral, right lateral, and on/off-bed transitions) while lying on the mattress. The dataset was used to train and evaluate a lightweight CNN-based channel reliability model for wearable-free, posture-robust heart rate monitoring at the edge.
Key statistics:
- 33 subjects (age 18-35, mixed sex)
- 5 postures per subject
- 13.5 Hz sample rate (32ch) / 27.03 Hz (16ch variant, subject 224)
- ~225 raw recording files, ~270 MB preprocessed
Dataset Structure
ESP32_recored/
|-- 100/ # test/calibration subject (excluded from analysis)
|-- 101/ ... 110/ # Group 1: 10 subjects, 2-min per posture
| |-- Front/ # Supine (face up)
| |-- Back/ # Prone (face down)
| |-- LeftSide/
| |-- RightSide/
| |-- UFront/ # Post-exercise variant (stair climbing before recording)
| |-- UBack/
| |-- ULeftSide/
| `-- URightSide/
|-- 200/ # test/calibration subject (excluded from analysis)
|-- 201/ ... 223/ # Group 2: 23 subjects, 5-min per posture
| |-- Front/
| |-- Back/
| |-- LeftSide/
| |-- RightSide/
| `-- Leave/ # on-bed -> off-bed -> on-bed transition
`-- 224_16ch/ # Group 3: 1 subject, 16ch firmware (27.03 Hz)
|-- Front/
|-- Back/
|-- LeftSide/
|-- RightSide/
`-- Leave/
Each posture folder contains one file: ppg_data_YYYYMMDD_HHMMSS.txt
Data Fields
Each file is comma-separated with no header row, 35 columns per line:
| Column | Name | Type | Description |
|---|---|---|---|
| 0 | timestamp |
string | PC wall-clock time "YYYY-MM-DD HH:MM:SS.mmm" |
| 1-32 | ch0-ch31 |
int16 | FSR pressure ADC (higher = less pressure, lower = more pressure) |
| 33 | ppg |
int32 | MAX30105 green-LED reading (ground truth reference only) |
| 34 | esp32_us |
int64 | esp_timer_get_time() microsecond timestamp on ESP32 |
Example row:
2025-05-20 13:14:43.343,21879,21750,20843,...,5092,3267,...,21888,99840,991080717
ADC polarity: higher ADC value means less pressure (no contact 21800-22000); lower means more pressure (under body weight ~1900-11000).
BCG signal = tiny dynamic fluctuation (100-1000 ADC counts) riding on a large static DC bias.
PPG note: the PPG column is the raw finger-clip signal used only for ground-truth HR labelling. It is not used as a model input at inference time.
Collection Protocol
Group 1 -- Subjects 101-110
- Sample rate: 13.5 Hz (32 channels)
- Duration per posture: 2 minutes (approx. 1,640 rows)
- Postures: Front, Back, RightSide, LeftSide (+ U-variants after stair climbing)
- U-variants (UFront, UBack, ULeftSide, URightSide): subject climbed stairs immediately before recording to create an elevated + recovering heart rate scenario. Merged with base posture in downstream processing.
Group 2 -- Subjects 201-223
- Sample rate: 13.5 Hz (32 channels)
- Duration per posture: 5 minutes (approx. 4,100 rows)
- Posture order: Front -> RightSide -> Back -> Leave -> LeftSide
- Front/RightSide/Back/LeftSide: subject performs 10-15 squats to elevate HR, then lies still for 5 minutes
- Leave: supine 2 min -> fully leave mattress 30 sec -> return supine 2.5 min (continuous recording)
Group 3 -- Subject 224
- Firmware variant: 16-channel only (ch0-ch15 active; ch16-ch31 are all zero)
- Sample rate: 27.03 Hz (halved scan channels -> doubled sample rate)
- Same 5 postures as Group 2
Subject Demographics
| Group | Subjects | N | Weight range (kg) | Sex |
|---|---|---|---|---|
| 1 | 101-110 | 10 | 44.5-105.0 | 7M, 3F |
| 2 | 201-223 | 23 | 42.1-113.0 | 12M, 11F |
| 3 | 224 | 1 | -- | -- |
Subjects 100 and 200 are test/calibration runs, excluded from all analyses (EXCLUDE_SUBJECTS = [100, 200]).
Hardware
| Component | Specification |
|---|---|
| MCU | ESP32-S3 (Xtensa LX7, 240 MHz, 512 KB SRAM) |
| Pressure sensors | FSR x32, 16-column x 2-row grid on latex mattress |
| ADC | ADS1115 16-bit @ 860 SPS x 2 chips, via 4-channel MUX |
| PPG (reference) | MAX30105 fingertip clip, Green LED, 800 SPS |
| Firmware | ESP-IDF FreeRTOS; sequential polling ch0->ch31, ~2.28 ms/channel |
Channel mapping:
ch = mux_idx x 8 + adc_idx
mux_idx in {0,1,2,3} # MUX select pins GPIO35/36
adc_idx in {0..7} # 0-3 -> ADS1115 #1 (addr 0x48), 4-7 -> ADS1115 #2 (addr 0x49)
Inter-channel sampling delay: ch0 is first, ch31 is last; max delay ~72 ms (0.97 samples at 13.5 Hz).
Usage
Load a single recording
import pandas as pd
cols = ['timestamp'] + [f'ch{i}' for i in range(32)] + ['ppg', 'esp32_us']
df = pd.read_csv('ESP32_recored/201/Front/ppg_data_20250601_100000.txt',
header=None, names=cols)
print(df.shape) # (approx. 4100, 35)
print(df['ch0'].describe())
Load all subjects for ML training
The load_all_data() function in pipeline/common.py handles sliding-window extraction, PPG FFT ground-truth labelling, and per-channel reliability labelling.
from pipeline.common import load_all_data
windows, labels = load_all_data()
# windows: (N, 32, 128) float32 -- N windows, 32 channels, 128 samples each
# labels: (N, 32) binary -- 1 = reliable channel, 0 = unreliable
Ground-truth labelling parameters
| Parameter | Value |
|---|---|
| Window size | 128 samples |
| Overlap | 50% |
| Window function | Hanning |
| HR frequency range | 0.75-3.0 Hz (45-180 BPM) |
| Channel reliable if | bpm_error < 5 AND FFT SNR > 3 |
| Outlier correction | Forward fill if adjacent HR jump > 20 BPM |
Download
from huggingface_hub import snapshot_download
snapshot_download(
repo_id='m46012002/smart-mattress-bcg',
repo_type='dataset',
local_dir='data',
)
After download, place the ESP32_recored/ folder at data/ESP32_recored/ relative to the code repo root.
Related Resources
- Code & pre-trained models: https://github.com/m46012002/smart-mattress-edge-hr
- Method details:
docs/method.mdin the code repo - Hardware & data format:
docs/data_description.mdin the code repo
Citation
@mastersthesis{wu2026smartmattress,
author = {Wu, Jie-Neng},
title = {Posture-Robust Lightweight Smart Mattress Edge Heart Rate Monitoring
on Low-Cost Pressure Sensor Arrays},
school = {National Yang Ming Chiao Tung University},
year = {2026}
}
License
MIT License -- Copyright 2026 Wu Jie-Neng, NYCU
- Downloads last month
- 266