Motor mount encoder

Hello,

I bought a motor with an encoder attached to it. Encoder Products Company | Encoder | Valin

I am trying to get the encoder to work with arduino. I want to relate the count to the rotation in angle. Is there some sample code out there that I can test with?

Thank you

A datasheet for the encoder would be of great help.

Hi. Thank you for the reply.

Here's the link to the datasheet.

http://www.clrwtr.com/PDF/Accu-Coder/Accu-Coder-15T-Thru-Bore-15H-Hollow-Encoders.pdf

How fast are you going to turn the motor?

Paul

Do you know the specific model of the encoder you have and the counts per revolution. What is the specific wiring option. How many leads are coming from the encoder and their colors?

I want to relate the count to the rotation in angle

Please elaborate on what you want to do? Are you going to have multiple revolutions?

Is there some sample code out there that I can test with?

http://playground.arduino.cc/Main/RotaryEncoders