Board-edge / cantilever mount — preferred
- Place the PMW3325 at the PCB edge with the optical aperture facing outward/downward.
- Let the sensor/lens area overhang or sit in an edge notch so the sensor bottom is unobstructed.
- Put the support electronics and breadboard headers behind it.