Hi SouthernAtHeart,
Trying to catch up on this one . . .
Looks like you’re still considering using ambient light, if you are considering the VEMT2523X01. I still think it’s going to be difficult to make this work consistently under a broad range of ambient light conditions.
I found a set of graphs from here which show typical wavelength distributions for various lighting sources. Note that natural sunlight is quite consistent throughout the visible spectrum (and well into the infrared, too, though not shown on the graph), whereas LED, fluorescent, and incandescent lighting all have significantly different distributions of wavelengths. Not shown is the absolute magnitude differences between the various light sources. Sunlight will tend to be much greater magnitude than the other sources.
This means that your sensor will respond very differently depending on which environment it happens to be placed in. The graph below shows the relative sensitivity of the VEMT2523X01 to various wavelengths. Note that it’s peak sensitivity is at about 850nm, and that it’s sensitivity reduces significantly with shorter wavelengths, such that it will much less sensitive to green and blue (≤ 530nm) as it is to red and infrared (≥ 600nm) wavelengths.
Regarding the resistor(s) – Typically for a phototransistor, one would only use a single resistor either between the collector and Vcc or between the emitter and ground, depending one whether you want negative or positive logic, respectively, on your MCU input pin. Using a larger value will tend to make it more sensitive, though slower to respond. However, speed should not be an issue in your application. I do think that using a potentiometer for the resistor is a good idea, as it allows you to play with it to try to optimize performance. However, as mentioned above, performance could vary considerably depending on the particular ambient light conditions present.
Back to alternative options, have you looked at something like the NJL5902R-2-TE1 reflective sensor. It’s a very small surface mount part with integrated IR emitter and phototransistor. It is designed for close-proximity detection. For power saving, I would recommend pulsing the emitter for a millisecond or two and sensing only during that pulse, and then turning it off between pulses. If you are detecting a finger nearby, one could probably run at something like 1% duty cycle and still be functional.
Here’s the typical schematic for a positive-going output upon detection for the NJL5902R-2-TE1: