Proximity switch

For view click Proximity switch schematic diagram