We choose si1141 to perform as proximity sensor but it was influenced by ambient light . The AN498 pdf explains a “dynamic baseline” to fit for the variation system. Silicon Lab's sample source code contains examples ofhow this can be achieved. Where can I find this sample source code? I didn't find it in Si114x development Kit.
OH,it is a a "slow-moving baseline", how to find these reference materials?
The Si114x Programmer's Toolkit contains example code for baselining:
Once installed, you can look at the source code provided in:
The Si114x_handler.c file has our baselining algorithm in it. Conversely, you can create your own algorithm that do an average of incoming samples and looks for fast deviations away from the average in new samples.
I read the si114x_handler.c , what's the GENERAL_CLEAR_OVERLAY ,GENERAL_INFRARED_OVERLAY,INDOORS meaning? what is the situation under GENERAL_CLEAR_OVERLAY, GENERAL_INFRARED_OVERLAY, INDOORS ?