Compact Photoelectric Sensors