Welcome! Log In Create A New Profile

Advanced

5v inductive sensor to Duet Wifi

Posted by JustSumGuy 
5v inductive sensor to Duet Wifi
January 29, 2018 04:28PM
So I have this LJ12A3-4-Z/BX-5V inductive M12 sensor I intended to use on the Duet Wifi for a Z/Bed sensor...
Thing is all the NPN inductive sensor setups I have found are for the 6v-30v version not the 5v

Is there anything I need to know smiling smiley

Edited 1 time(s). Last edit at 01/29/2018 04:31PM by JustSumGuy.
Re: 5v inductive sensor to Duet Wifi
January 30, 2018 01:11AM
There are many vendors who claim their probes would work at 5V, I hope you have a real one...
With the 5V version you wouldn't need the low_drop shottky diode. And you have to put I1 ( capitol i1 ) in the config line of the z-probe, when it's a NPN NO type.
Re: 5v inductive sensor to Duet Wifi
January 30, 2018 08:23AM
Quote
o_lampe
There are many vendors who claim their probes would work at 5V, I hope you have a real one...
With the 5V version you wouldn't need the low_drop shottky diode. And you have to put I1 ( capitol i1 ) in the config line of the z-probe, when it's a NPN NO type.

Wouldn't the signal output be 5v and the logic of the Duet being 3.3v would I need a drop resistor across signal to gnd?
Can I pick up the supply 5v directly from maybe the paneldue 5v supply as its right next to the Zprobe pins and I wont be getting a paneldue?
I have not tested the sensor yet but it is labeled as a 5v sensor
Re: 5v inductive sensor to Duet Wifi
January 30, 2018 09:26AM
AFAIK the input pins are 5V tolerant, maybe David can chime in here?
All the 5V pins are usable to feed the probe.
Re: 5v inductive sensor to Duet Wifi
January 30, 2018 02:18PM
These NPN NO sensors normally have open-collector outputs, meaning they connect the output to ground when triggered and leave it in effect open circuit when not triggered. The complication is that if the ground wire to the sensor becomes disconnected, then the sensor supply voltage will get fed to the output pin via a diode and an unknown amount of resistance internal to the sensor. That's why we recommend using the Schottky diode. But if the supply voltage is only 5V then the risk of feeding excessive current into the endstop input or Z probe input is low anyway.


Delta printer calibration calculator, mini IR Z probe, and colour touch screen control panel: [escher3d.com]

Large delta printer, and other 3D printer blog postings: [miscsolutions.wordpress.com]

Disclosure: I have a financial interest in sales of the Panel Due, Mini IR height sensor, and Duet WiFi/Duet Ethernet [www.duet3d.com].
Re: 5v inductive sensor to Duet Wifi
January 30, 2018 03:30PM
Quote
dc42
These NPN NO sensors normally have open-collector outputs, meaning they connect the output to ground when triggered and leave it in effect open circuit when not triggered. The complication is that if the ground wire to the sensor becomes disconnected, then the sensor supply voltage will get fed to the output pin via a diode and an unknown amount of resistance internal to the sensor. That's why we recommend using the Schottky diode. But if the supply voltage is only 5V then the risk of feeding excessive current into the endstop input or Z probe input is low anyway.

ok, thanx for the input, taking a trip for a bit today so I will test all later, see if I can find some schottky diodes in my travels.... No harm putting it in just to keep things safe right smiling smiley

I will resume this issue come Sunday.
Re: 5v inductive sensor to Duet Wifi
February 13, 2018 10:11AM
Thanx for the info guys, I was not able to track down a diode so I decided to plug it in and give it a go.

All worked fine!! used the +5v and gnd connectors from the paneldue connector and just ran the black signal wire to the Z Probe in pin...

Added M558 I1 to the start up and boom, everything just worked!!

Thanx again!
Sorry, only registered users may post in this forum.

Click here to login