Inductive sensor
-
Is it a PNP or an NPN output sensor?
-
Its NPN
-
Then you don't need resistors, just a small signal Schottky diode as described in the page I linked too.
-
Would this setup work?
-
Hey npm1
I just hooked a probe similar to this yesterday.
dc42 helped me out with a problem that I was having.
You should have a read of that thread.
https://www.duet3d.com/forum/thread.php?id=4490.Are you planning on using the probe as an end stop too?
Because I hooked mine up using E0 endstop pins, I'm not sure that it will work as
an endstop if you use the probe pins.Hope this helps
Steve -
Yes that diagram looks right. Use probe type P5 in the M558 command.
-
Port will not burn out?
-
Yes that diagram looks right. Use probe type P5 in the M558 command.
Hey dc42, just so i understand, if you use the probe connector can you still use the probe as an endstop?
Is there any difference besides for the firmware settings between using the Z probe pins vs the E0 stop pin? -
-
thks for the heads up on the pictures,
@kozlow: anything can be used as an endstop as long as the M558 and G31 commands are defined correctly
-
thks for the heads up on the pictures,
@kozlow: anything can be used as an endstop as long as the M558 and G31 commands are defined correctly
Right, i realize that you can use a probe as an endstop, that's how mine is set up.
What i didn't know was if it worked the same when the probe was hooked up to the probe pins. Because when i set up my NPN sensor the wiki said to use the E0 stop pin.
The wiki must be out dated. That must be for previous hardware that didn't have probe pins. -
An NPN-output sensor can be connected to the E0 endstop input, E1 endstop input, Z endstop input (if it is free) or Z probe connector. You choose the P parameter in the M558 command to tell it which one.
-
An NPN-output sensor can be connected to the E0 endstop input, E1 endstop input, Z endstop input (if it is free) or Z probe connector. You choose the P parameter in the M558 command to tell it which one.
Ok, thanks for the clarification. I understand now. Lol
-
Great so I have successfully got the 5v version of this sensor, literally plug and play, the issue i have is the first layer i.e. some of the filament isnt smushed down enough to the point where i could rub my finger against the filament and have it come of the build plate
Isnt bed leveling with a sensor supost to give perfect first layer height.
my bed.g file
[[language]] ; bed.g ; called to perform automatic bed compensation via G32 M561 ;Clear any bed transform G28 ; home all G90 ; Back to absolute positioning ;G91 ; relative mode M557 X0:150 Y13:180 S30 ; Define mesh grid G1 Z4 F200 ; move Z 4mm for clearance G90 ;absolute mode ;M280 p3 S160 I1 ; Clear any alarms ;M401 ; In lieu of macro - call GCode for deploy probe G29 S0; run auto bed mesh level M374 ; Save Mesh Data ;M402 ; In lieu of macro - call GCode to retract probe
My Home Z file
[[language]] T0 ; select first hot end G91 ; Relative coordinates G1 Z5 F200 ; Lower bed. G4 P500 ; Dwell for 500ms - to ensure bed is down G90 ; Absolute positioning G1 X10 Y15 F300 ; Go to first bed probe point and home the Z axis ;M401; M280 P3 S10 I1 ; Lower Z probe (BLTouch) G30; Calibrate Z-axis ;M402; M280 P3 S10 I1; Retract Probe ;G92 Z2.5; PLA. higher g92 means that 0 is lower down on the z axis G92 Z1.55; ABS. higher g92 means that 0 is lower down on the z axis
My Heightmap
please helpExcuse the Bltouch comments I removed it from my printer since it was always giving me inconsistent z heights and massive variations in the heightmap.
With the bltouch i had to continues change the G92 height. With the new sensor I barely touch this code.
Please Help
-
I have successfully soldered and added the new sensor to my printer, looking forward to better consistency, how ever this is connected through the endstop connector rather than the probe connector.
What is the difference between the probe connector and the axis endstop connectors
this time i am looking to post more heightmaps.
-
@npm1 said in Inductive sensor:
I have successfully soldered and added the new sensor to my printer, looking forward to better consistency, how ever this is connected through the endstop connector rather than the probe connector.
What is the difference between the probe connector and the axis endstop connectors
this time i am looking to post more heightmaps.
An NPN output sensor can be connected to either an endstop connector or the z probe connector. It doesn't matter which as long as you tell that firmware in the M558 command how you have connected it.
-
At the moment when i get the sensor connected to the probe pins, the z probe trigger value is alway 1000, when the sensor is touching the aluminium, the reading is still 1000.
The firmware is set as follow:; Endstops
M574 X1 Y1 S1 ; Set active low endstops
M574 Z1 S0 ;(S1)
M558 P5 X0 Y0 Z1 H10 F80 I1 T6000 ; for inductive sensor, Set Z probe type to switch, the axes for which it is used and the dive height + speeds
M557 X0:170 Y13:180 S25; Define mesh grid
G31 P500 X0 Y0 Z0; Set Z probe triggerm119 is not reporting the probe at its minimum point
please help
-
That's not right, the reading should be 0 when the sensor is not triggered. Does the reading go to 0 when you disconnect the sensor?
It's possible that the sensor output is leaky. If that's the case, it may work if you connect it to a spare endstop input (e.g. E0, using P4 in the M558 command) instead of to the Z probe input.
-
i did try this, but wasnt sure on how to use e0 as the endstop for the z axis
i also connected it to the z axis endstop and the lights z axis lights didnt flash as expected
im gonna retry with cabling and diode as maybe the one ive got now isnt the right one.
-
Hi Guys,
I have connected a diode to the sensor, with anode side(no line on the plastic) into the connectors on the duet wifi, and the cathode side(line on the plastic) into the wire on the sensor itself.LJ12A3-4-Z/AX
When using either E0 STP pin or the Z STP for the sensor signal no light comes on. i.e. when the probe is triggered the red light is turned off, when the probe isn't triggered the red light is on( in my case the lights have never been on to begin with)
Please Help as this is making me pull my hair out.
At the moment the sensor is connected to the E0 Connector
The code is as follows:; Endstops
M574 X1 Y1 S1;
M574 E0 Z1 S0;
M558 P4 X0 Y0 Z1 E0 H10 I1 F80 T6000 ; for inductive sensor, Set Z probe type to switch, the axes for which it is used and the dive height + speeds
M557 X0:170 Y13:180 S25; Define mesh grid
G31 P1000 X0 Y0 Z0; Set Z probe trigger