Abstract: An optical device with a light source and a detector is provided. A digital micromirror device positioned between the detector and the light source may deflect light beams projected from the light source. An aperture in front of the detector may block an incoming light beam from the detector when the incoming light beam is incident on the detector outside of a passable incident range and including an aperture opening configured to pass the incoming light beam to the detector when the incoming…