NPN sensor problem
-
@petr-k said in NPN sensor problem:
M584 M584 X0 Y1 Z2:4 E3 ; set drive mapping
You have M584 twice on that line.
-
-
@petr-k if you have a multimeter then as @fcwilt suggested, you should measure the voltage between the IN pin and GND pins of the Z Probe connector. You should get:
- With the sensor not connected: nearly 3.3V (and DWC should report the Z probe reading as 0). If you don't read 3.3V then most likely your M558 command is wrong.
- With the sensor connected but not triggered: same (except that if the sensor includes a pullup resistor, you may get a higher voltage than 3.3V)
- With the sensor connected and triggered: about 0.2V if you don't use the diode, or 0.5V if you do.
Edit: in your photo it looks as though you may be using 2 diodes connected in series.
-
sensor connected, not triggered - 3.0V
sensor connected, triggered - 0V
sensor disconnected, not triggered - 0V
sensor disconnected, triggered - 1,5 VAll with diode.
My soldering looks like a second diode
-
G31 X35 Y-4 Z0 P500 was the problem, I had two parameters P (P0 and P500), now works great
-
@petr-k And Pā 0