josdo / smesh

3 stars 2 forks source link

PMSA Sensor Calibration #4

Open danineamati opened 1 month ago

danineamati commented 1 month ago

The PMSA sensor has two readouts: "Standard" and "Environmental." What is the difference between the two? Is it just a calibration difference?

Relevant Code: https://github.com/josdo/smesh/blob/dccdf23f8f1b03efeb273a56db9a9385c982125c/snode/scripts/read_aqi.py#L54-L55

Example data in the field (dust drive-by test):

2024-10-06 13:27:21.406259,0x4358fbec,84,85,85,54,60,73
2024-10-06 13:28:20.979386,0x4358fbec,64,64,65,42,51,60
2024-10-06 13:29:21.312213,0x4358fbec,68,68,70,44,53,64
2024-10-06 13:30:21.803282,0x4358fbec,69,70,71,44,54,64
2024-10-06 13:31:21.594025,0x4358fbec,69,70,71,44,54,64
2024-10-06 13:32:22.118011,0x4358fbec,56,57,58,40,48,57
2024-10-06 13:33:22.084924,0x4358fbec,60,60,60,41,49,57
2024-10-06 13:34:22.279890,0x4358fbec,65,83,123,42,59,88
2024-10-06 13:35:22.367353,0x4358fbec,67,67,69,44,53,63
2024-10-06 13:36:22.612704,0x4358fbec,62,64,65,41,52,60
2024-10-06 13:37:22.818269,0x4358fbec,67,70,74,44,54,66
2024-10-06 13:38:23.054776,0x4358fbec,26,52,104,25,46,81
2024-10-06 13:39:23.321971,0x4358fbec,21,23,24,21,23,24
2024-10-06 13:40:23.476634,0x4358fbec,19,20,21,19,20,21
2024-10-06 13:41:23.772433,0x4358fbec,24,24,25,24,24,25
2024-10-06 13:42:24.102518,0x4358fbec,20,23,31,20,23,31
2024-10-06 13:43:24.122828,0x4358fbec,20,21,21,20,21,21
2024-10-06 13:57:39.387467,0x4358fbec,37,39,39,31,37,39
2024-10-06 13:58:39.692275,0x4358fbec,60,62,62,40,50,59
2024-10-06 13:59:40.205326,0x4358fbec,63,64,64,41,51,60
2024-10-06 14:00:39.972603,0x4358fbec,63,64,66,42,51,61
2024-10-06 14:01:40.329781,0x4358fbec,62,63,63,42,51,60
2024-10-06 14:02:41.157171,0x4358fbec,59,59,59,40,49,56
2024-10-06 14:03:40.776983,0x4358fbec,60,61,62,40,50,58
2024-10-06 14:04:40.914909,0x4358fbec,59,59,60,40,48,58