Electronic – Thin wall to block LED light from hitting photodiode

ledlight-sensorphotodiodesensorsurface-mount

I'm designing a small heart rate sensor using green smd LEDs and a photodiode. The photodiode needs to measure the reflected light, and not direct light from the LEDs. The LEDs are near the perimeter of the photodiode, so I'm trying to figure out some sort of thin wall to block their light from hitting the photodiode. The LEDs have a relatively wide viewing angle (110˚) and are ~1mm tall, so ideally something that is about 2mm tall.

I'm wondering if anyone has suggestions for some type of wall or component I could place between each LED and photodiode to block light?

Best Answer

My advice is to not bother doing what you're doing, and spend the $3.50US to get the part designed for the task, like https://www.digikey.com/product-detail/en/osram-opto-semiconductors-inc/SFH-7060/475-3174-2-ND/6137022

enter image description here