Proximity sensor for rotary home switch
-
I have a Duet3 mini5+, using a PNP NC proximity sensor currently using the IO_3.in using the 5V_EXT, GND and IN pin.
The sensor has a light that is lit when not sensing anything and 5V is read from this. When sensing, the light goes out and it goes to 0V.
My config for it is M574 A1 S1 P"!io3.in".
The axis rotates according to the homea.g file, but never stops at switch.I've searched for an answer but have not found any.
Anyone have any ideas as to why it isn't stopping at the home switch?
-
@jimakron to connect a PNP sensor to a Duet you normally need to use a voltage divider or at least a pulldown resistor. See https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_connecting#pnp-output-normally-open-inductive-or-capacitive-sensor.
-
-
@jimakron yes that looks correct to me.
-
@dc42 Thank you so much
-
-