Ok after all i found out that it was the sensor problem.

According to the outputs on the ports for high and low indication, the problem exists.

Once i place a low current 10mA it does not light but flashing very low.

If i place an led more that 20mA then it fully light up.

I dont know if anyone has the same problem.