Sensor beefed up for mobile hydraulic cylinders