on both ends, are the same 1.3V.
Finally, i can make it work adding a transistor. So i connect output of sensor to transistor (base), collector to 5V and emitter to PIC. The voltage at the PIC is 2.5V which give logic 1.
hi,
As the voltage is 1.3V at both ends of the resistor, it suggests the LM324 is at fault.