capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi
-
Is it possible to use such endstops.
Need your help to wire an config those sensors.
First test with with 1N4148 Diode in series at stop pin an black sensor wire fails.
config...
M574 X2 S1 P"^xstop"
M574 Y2 S1 P"^ystop"
M574 Z2 S1 P"^zstop"thanks
Gerd -
@Gerd said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
First test with with 1N4148 Diode in series at stop pin an black sensor wire fails.
that is for npn.
-
@Veti said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
@Gerd said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
First test with with 1N4148 Diode in series at stop pin an black sensor wire fails.
that is for npn.
OK, I see, many thanks.
What about the config?
-
that look ok
maybe inversion, but we can look at that once you get an output -
@Veti said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
that look ok
maybe inversion, but we can look at that once you get an outputmany thanks
-
@Gerd said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
Is it possible to use such endstops.
Need your help to wire an config those sensors.
First test with with 1N4148 Diode in series at stop pin an black sensor wire fails.
config...
M574 X2 S1 P"^xstop"
M574 Y2 S1 P"^ystop"
M574 Z2 S1 P"^zstop"thanks
GerdWhat are the specs on the devices you are testing?
I tested a couple for use as a Z probe but their response time was too slow.
Inductive sensors generally worked fine.
Frederick
-
@fcwilt said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
@Gerd said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
Is it possible to use such endstops.
Need your help to wire an config those sensors.
First test with with 1N4148 Diode in series at stop pin an black sensor wire fails.
config...
M574 X2 S1 P"^xstop"
M574 Y2 S1 P"^ystop"
M574 Z2 S1 P"^zstop"thanks
GerdWhat are the specs on the devices you are testing?
I tested a couple for use as a Z probe but their response time was too slow.
Inductive sensors generally worked fine.
Frederick
Frederick, I want to use inductive not capacitive sensors, sorry for mistake.
i can't correct topic!
-
@Gerd said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
Frederick, I want to use inductive not capacitive sensors, sorry for mistake.
Good, inductive sensors are much better.
Do you have the specs for the sensors you are trying?
Generally such sensors have a working voltage range of 10 to 30 volts DC. There are some specified as 5 volts DC.
You need to take into account the voltage that may appear on the output to be sure it does not damage your Duet.
One of the other important specs is "switching frequency" - all other things being equal the higher the frequency the faster the response time.
I have sensors that I purchased for testing that ran from 50 Hz to 3000 Hz. For my printers I chose to use those in the 2000 to 3000 Hz range.
If you have any questions don't hesitate to ask.
Frederick
-
Hi,
@fcwilt I connected the PNP (NC) sensor brown to 24 V, black with R1 68K to STP and blue to GND. R2 with 10K i connected from GND to black.
Control LED on board is out, LED on Sensor is on. When in end position LED on board is on and LED on sensor out. Seems correct to me.
But in both cases M119 says endstop is not connected.
Config is...
; Endstops
M574 X2 S1 P"^!xstop" ; configure active-high endstop for high end on X via pin !xstop
M574 Y2 S1 P"^!ystop" ; configure active-high endstop for high end on Y via pin !ystop
M574 Z2 S1 P"^!zstop" ; configure active-high endstop for high end on Z via pin !zstopWhat I'm doing wrong?
Frequency of the sensor is 3000Hz, power range 10....30V
Gerd
-
@Gerd said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
But in both cases M119 says endstop is not connected.
please post the actual output
also check that you are actually on firmware version 3.2
post the output of m115 -
@Veti said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
@Gerd said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
But in both cases M119 says endstop is not connected.
please post the actual output
also check that you are actually on firmware version 3.2
post the output of m115m119
Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stoppedm115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-01-05 -
hmm if the led on the board changes, it should also change with m119.
maybe the level of the signal is not correct, but i can not comment on that. -
@Veti said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
hmm if the led on the board changes, it should also change with m119.
maybe the level of the signal is not correct, but i can not comment on that.i connected to gnd of the Endstops. Is this correct?
-
you connected the signal to gnd?
the signal should go to the stop pin -
@Veti said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
you connected the signal to gnd?
the signal should go to the stop pinno i connected Signal to stop pin and ground of the sensor to ground pin of the Endstop.
but there is also the ground nearby the Vin which I could use.
-
at moment i only connected 1 of the 3 Endstops. Could this be a problem?
-
I measured at stop (signal) pin 0V when closed and 2.95V when opened.
-
This post is deleted! -
@Gerd said in capacitive sensors PNP (NC) 10-24V for endstops on a Duet Wifi:
I measured at stop (signal) pin 0V when closed and 2.95V when opened.
Those values should be fine.
However your description of how the resistors are connected does not match the documentation you linked to.
Perhaps you description is simply incorrect because the documentation is consistent with my tests.
What board are you using?
What firmware is it running?
Thanks.
Frederick
-