Quantcast
Channel: Reprap Forum - Controllers
Viewing all articles
Browse latest Browse all 10211

NPN Inductive Proximity Sensor

$
0
0
Good Evening,

Printer: Prusa i3 + Ramps 1.4
Configuration File: [pastebin.com]
Voltage Divider Wiring: [dl.dropboxusercontent.com]
Sensor: [www.amazon.com]

I am at kind of a lost right now... I pruchased a LJ12A3-4-Z/AX 4mm NPN Proximity Sensor, and I can't seem to get it to trigger issuing a M119 command.

I have wired a voltage divider with 2x10kohm resistors, and I have checked the voltage output which gives me 5v. Currently I have it setup where it is supplying the sensor with 12v, Wired the Output wire to signal, and the ground wire to GRD on the ramps 1.4 board end-stop, leaving the only open pin vcc on the endstop zmin pin-out. I know the sensor works because when i put it up to metal the LED on the sensor dims and the output voltage changes from 0v->5v. Also I know the port on my ramps 1.4 works because I can put back my mechanical switch and it OPEN-TRIGGERED with the m119 command. Anyone have any ideas on what could be the problem?

Edited:
I have checked the output for the endstop pinouts on the ramps 1.4 board and it is still supplying 5v from Signal-Ground. I thought disabling the ZMIN_PULLUPS in the firmware would stop the 5v from going through the Signal pin?? If so why would it still be supplying 5v over the pin?

Thanks

Viewing all articles
Browse latest Browse all 10211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>