Sensor not working

I suggest reading this topic :