Unexpected Multiple Detection by Inductive proximity sensor

Thank a lot guys... The issue is resolved. I am new to the microcontroller stuffs and this is my first project. I connected two resistors as shown in the diagram referred from internet.

I hope this is the pull up resistor. I am still confused of what and how a pull up resistors work, maybe i should do some homework related to it. Anyways thanks a lot for the support everyone.

1 Like

Hi,
Looking at your potential divider, a pull-up of 4K7 would probably work.


This would ensure that over voltage on the D2 pin does not occur.

Good that it is functioning, just make sure you dress your wiring neatly, keep the sensor wiring away from the motor wiring as 6 metre is a nice long EMI antenna.
It doesn't look like the sensor cable is shielded.

Tom.. :smiley: :+1: :coffee: :australia:

1 Like

Fine... Thank you so much.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.