Proximity Sensor

I connected a proximity sensor to my bolt,the light in the sensor is not turning on and when i run my code it says bad response.what can i do?

Please share a pic of your connection of proximity sensor to Bolt

I’m sorry its dark,but there is a powercut at my place

Hi sorry for the late reply our team was out of office,

As per the pic the Red light on your sensor is not coming on at all right?

Also have you tried adjusting the screw on the potentiometer?

yeah i have tried adjusting the screw in both directions.

Hi,

In that case we shall ship you a replacement. For replacement of the sensor please send a mail to ryan.dcosta@inventrom.com. And send him a link to this forum topic in the mail as well.