Connecting NPN NC inductive switch to Tool board
-
I looked everywhere and cannot find how to connect NPN NC inductive switch to Tool board and how to configure it in the config.g
My setup:
Duet 3 6CH with Tool Distribution board and Tool board.Duet 3 MB6HC version 3.1.1 running on Duet 3 MB6HC v1.01 or later (SBC mode) Board TOOL1LC firmware 3.1.0 (2020-05-15b1)
-
Do I need to connect it to tool-board VIN connector or can I use OUT1/OUT2 on the tool-board? how it would be configured config.g if OUT1/OUT2 is used?
-
Can I connect switch signal to io0.in on the tool-board? How it would be configured in config.g?
-
Do I need a resistors, diode between any wires?
Once again the switch is NPN NC
Thank you.
-
-
@evomotors The general guide is here: https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_NPN_output_normally_open_inductive_or_capacitive_sensor
You can use a probe of type 8 (ie M558 P8) or 9 (BLTouch) with the toolboard. Type 8 is like Type 5, but unfiltered, so should work with an NPN probe.
The io0.in on the toolboard is, I believe, 30V tolerant. The rest of the wiring will depend on your probe, but the above link should get you going in the right direction.
Ian
-
@droftarts said in Connecting NPN NC inductive switch to Tool board:
@evomotors The general guide is here: https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_NPN_output_normally_open_inductive_or_capacitive_sensor
You can use a probe of type 8 (ie M558 P8) or 9 (BLTouch) with the toolboard. Type 8 is like Type 5, but unfiltered, so should work with an NPN probe.
The io0.in on the toolboard is, I believe, 30V tolerant. The rest of the wiring will depend on your probe, but the above link should get you going in the right direction.
Ian
I know about BLTouch, I do have it connected right now and I don't like it. Also the guide doesn't say anything about NC (Normally closed) and nothing about tool-board. The guide you sent is for normally open NPN probe.
This question is specific to the NPN NC inductive probe.
-
Need more help please.
Do I need to configure like this?
M558 P8 C"121.io0.in" H8 F800 T10000
Or like this?
M558 P8 C"^121.io0.in" H8 F800 T10000
Can/how can I configure OUT2 or OUT1 on a tool-board to be ON when I use the probe or to be always ON
-
@droftarts Will this work?
M950 P0 C"121.out1" ; create port 0 M42 P0 S1 ; set GPIO port 0 on
-
@evomotors said in Connecting NPN NC inductive switch to Tool board:
Need more help please.
Do I need to configure like this?
M558 P8 C"121.io0.in" H8 F800 T10000
Or like this?
M558 P8 C"^121.io0.in" H8 F800 T10000
Can/how can I configure OUT2 or OUT1 on a tool-board to be ON when I use the probe or to be always ON
I don't know enough about your probe to say if it would need the pull-up resistor (
^
) to work properly. Try it without first.Do you have a photo of the probe or a link to it?
@evomotors said in Connecting NPN NC inductive switch to Tool board:
@droftarts Will this work?
M950 P0 C"121.out1" ; create port 0 M42 P0 S1 ; set GPIO port 0 on
Yes I think that should work to create and enable that io pin.
I suggest reducing motor currents for the Z axis just above the stall point when testing.
-
@Phaedrux said in Connecting NPN NC inductive switch to Tool board:
I don't know enough about your probe to say if it would need the pull-up resistor (^) to work properly. Try it without first.
Do you have a photo of the probe or a link to it?I tested powering from PSU:
Brown: +VIN (6v to 36v)
Blue: Ground
Black: Signal out (normally ground and nothing when triggered) -
Same probe used in Voron printers, and they use BAT85 diode
-
@evomotors as it’s NO rather than NC, you will need to invert the signal. Put a “!” In front of the pin name, eg M558 P8 C"!121.io0.in" H8 F800 T10000.
If you’re planning to run hot chamber temperatures, be aware that the accuracy of NPN probes, like the Prisa Pinda probe, changes with temperature.
Ian
-
@evomotors said in Connecting NPN NC inductive switch to Tool board:
they use BAT85 diode
I've been informed that the diode should not be necessary here.
-
Trying to do the same thing but with io1.in and a PNP sensor, tried with a diode to be safe but the sensor will not trigger. Any ideas?
-
@tristanryerparke Best to create a new thread with all your details.
Never mind, I see you have another thread already.
-
Can I ask how you wired this in the end?
Where did you get you +6v from to power it.
I'm trying to wire my NPN Inductive Probe and already using Out0, Out1, Out2.