Industrial proximity sensor for material sorting, Photosensor in semiconductor fabrication