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
-
@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.