Photosensor in pharmaceutical packaging, Proximity sensor for agricultural machinery