Photocell sensor schematic diagram explanation