Proximity Sensor Voltage reference: While connecting the proximity sensor, the voltage reference should be intact, since it affects the sensitivity and accuracy of the sensor. Therefore, while providing supply voltage to the sensor, make sure that it doesn't see any voltage drop between the supply voltage and the point of application of power to the sensor, else the proximity sensor will give inaccurate results.