Inductive sensor as end stop. Is it possible and how?
-
Although overkill i have an M12 PNP inductive sensor id like to use as an end stop. Easy right? However the Duet 2 Wifi only supports end stops with an operating voltage of 3.3v and these inductive sensors operate between 10v - 30v. Is it possible to to use such a sensor? I assume the voltage back to the duet on trigger would be similar as the supply voltage so this could fry the duet.
If possible some solution suggestion would be appreciated.
-
@bonjipoo said in Inductive sensor as end stop. Is it possible and how?:
I assume the voltage back to the duet on trigger would be similar as the supply voltage so this could fry the duet.
depends on the version of your duet and supply voltage for the sensor
-
Its a version 1.04 and apparently can withstand 8.6v but the supply to the sensor would ideally be 24v or Vin.
-
then use a voltage divider (and i think you need a pull down resistor as well to keep the input low when not driven high)
-
Here's how mine are wired
https://forum.duet3d.com/topic/10596/sanity-check-plz-omron-inductive-switch-for-xyz-endstops/2?_=1593251170749
Needs a schottky bat43 diode -
@3DPMicro said in Inductive sensor as end stop. Is it possible and how?:
Here's how mine are wired
https://forum.duet3d.com/topic/10596/sanity-check-plz-omron-inductive-switch-for-xyz-endstops/2?_=1593251170749looks NPN, much simpler as the active signal is 0v
-
@bearer yes. And works great
-
Thanks Guys. Maybe i'll "switch" to NPN and go with your suggestions. Thanks for your help with that.
-
@bonjipoo you can use the PNP, you just need more three resistors for each, two for the divider and one pull down.
if switching to NPN is simpler then go for it, but PNP will work