Compact, washdown-resistant photoelectric sensor for detecting transparent objects with a visible red light source.