Need Help

Hi,

I am new to arduino world. I have been trying to interface a incremental encoder and contrast sensor to Arduino 2560 R3. i need help on interfacing the sensor. Model- SICK-Nt6-03012.

Thanks in advance awaiting your reply.

Regards

John

Do you have a pointer to the datasheet?

This is not a very standard sensor and not likely to have a lot of pre-written code. But with a datasheet we may be able to help. I did a quick search for the datasheet but there are hundreds of hits for distributors but none (that I found in the time I allocated) for the datasheet.

Sorry this went to the wrong post

Thanks!

Looks like the data sheet is [here.

My best guess is:

Pin 1 - Digital output? Not sure on this one, but it looks like it swings between 2V and supply voltage - 2V

Pin 2 - supply voltage (10 to 30V DC)

Pin 3 - Analog output (0.15 to 6V)

Pin 4 - No Connect

Pin 6 - Not sure

So I don’t know where ground is. It may be the cable shield (called PE in the diagram = protective ground or protective earth) or it may be pin 6 called M in the diagram)

I’d start by wiring it up to an LED and meter to figure it out before tossing the arduino in the mix. Once you have it working, you will need to use voltage dividers to interface between the sensor and arduino.

/mike](https://mysick.com/saqqara/im0007888.pdf)