Toolboard + NO NPN probe
-
I have had a mishap with IR probe and need to replace it fast and only suitable I have is a inductive NO.
Plan is to take 24V from incoming power to run this probe. Is the config lines OK?
; Endstops
M574 X1 S1 P"!121.io2.in" ; configure active-high endstop for low end on X via pin ^io3.in
M574 Y1 S1 P"!io0.in" ; configure active-high endstop for low end on Y via pin ^io0.in
M574 Z0 S2 P"!121.io1.in" ;; Z-Probe
M558 C"!121.io1.in" P5 H10 F120 T8000 ; F120
G31 P50 X0 Y20 Z0 ;3.490
M557 X5:340 Y25:400 P4:4 ; define mesh grid -
Realized that io1 on toolboard is only 3.3V tolerant so I changed to io0.
But still no trigger from 'probe'. Must be something I am missing in config, pleas help.
-
@tecno you can't map a pin twice. get rid of the M574 Z0 line
-
Morning, so it is OK with IR but not switch. Still learning
-
Did get rid of the line.
So what is wrong?
; Endstops
M574 X1 S1 P"!121.io2.in" ; configure active-high endstop for low end on X via pin ^io3.in
M574 Y1 S1 P"!io0.in" ; configure active-high endstop for low end on Y via pin ^io0.in
; M574 Z1 S1 P"^!121.io0.in" ;; Z-Probe
M558 C"^!121.io0.in" P5 H10 F120 T8000 ; F120
G31 P50 X0 Y20 Z0 ;3.490
M557 X5:340 Y25:400 P4:4 ; define mesh gridGreatful to get some help here.
-
@tecno might be a good idea to post your whole config and an output of
M98 P"config.g"
-
-
@tecno well there you go. use P8 and not P5
-
a61bae5c-9ac9-475e-a5c0-a73e2738dc4c-config.g
Hard DIVE into the bed, led on probe lights up but no reaction to that
-
@tecno maybe you don't need the pullup?
best to check these things far away from the bed rather than relying on that as a last resort -
@jay_s_uk
M558 C"!121.io0.in" P8 H10 F120 T8000With probe not triggered Prove value is 0 triggered is 0
If I set probe not inverted Probe value is 1000 triggered still 1000
No change whatever I try
-
@tecno maybe you need a diode as detailed here https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_connecting#npn-output-normally-open-inductive-or-capacitive-sensor?
other than that, no idea -
@tecno said in Toolboard + NO NPN probe:
With probe not triggered Prove value is 0 triggered is 0
If I set probe not inverted Probe value is 1000 triggered still 1000Either you have no signal on the pin, or it is constantly tied to 3.3V by the probe. Check function of the probe stand-alone with a multimeter: What voltages do you read when the probe is triggered/untriggered?
A third possibility might be the port being defective, but first, check your probe signal.
-
NPN and no 3.3V ! Vin as these need 6-30V
Vin non triggered = out Vin
Triggered = out under 0.6VSo probe is OK
Looks like the Tollboard is busted again
-
@jay_s_uk said in Toolboard + NO NPN probe:
@tecno well there you go. use P8 and not P5
Select mode 5 (P5) in the M558 command. Invert the probe output From the manual you linked !
-
@tecno https://docs.duet3d.com/en/User_manual/RepRapFirmware/CAN_limitations
only P8 and P9 can be used on CAN boards -
Doh... too many variables so confusing it is.
How can i check port that it is working? Short GND to INP or 5V?
Set it as P8 so I can see Probe value 0 or 1000
-
@tecno said in Toolboard + NO NPN probe:
Vin non triggered = out Vin
Do I understand this right: The signal has 6-30V non-triggered?
-
Yes
-