photoelectric switch, Digital proximity sensor, Analog photosensor