Connecting SICK Optics WS15-D1130 / WE15-A1130

I'm using the Sick optic sensor with an Arduino Uno. I have an external 12V supply, and connecting the NPN line to an Interrupt pin (2 - on the Uno). I read somewhere that if I specify pin 2 as INPUT_PULLUP with a FALLING spec on the interrupt code it should work. But then I saw the current output of the Sick sensor is about 100ma. That seems like it's too much for the Arduino. Do I need to cut the current down with a resistor?
Thanks.

The spec on a NPN output is the amount of current that it can handle, not what it's outputting.

Thanks so much for that elucidation. Based on your answer, hooking the NPN output of the sensor to the Arduino interrupt pin should work. I did add another 10K pullup resistor to help quiet the noise, but I got to continue troubleshooting to figure this out. Once again, much appreciated.

For anyone interested, the signal line coming in from the SICK WS15 is 12 V. You need a voltage divider to bring it down to 5 volts.

Not if it's an open collector: the whole point of having an open collector output is that it doesn't have a fixed voltage output and can interface to a wide range of device inputs.

Hey CedarLakeInstruments,

Don't know if it's open collector. I do know that when I plug the sensor wire of 12V into the arduino digital pin, it powers the whole system. With 5V it seems to behave. Whatever, thanks for all your input. Do you have a site where you sell electronics/instruments?

Drew

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.