chris0
June 16, 2009, 5:24pm
1
Hi all,
I want to use one of these devices with arduino
http://www.ultimarc.com/SpinTrak.htm
At the bottom it shows power, ground and two data.
Its this sort of encoder, two sets of pulses
A rotary encoder, also called a shaft encoder, is an electro-mechanical device that converts the angular position or motion of a shaft or axle to analog or digital output signals.
There are two main types of rotary encoder: absolute and incremental. The output of an absolute encoder indicates the current shaft position, making it an angle transducer. The output of an incremental encoder provides information about the motion of the shaft, which typically is processed elsewhere into information s...
Has anyone used this device before or others like it?
I keep trying the search but getting 500 internal server errors.
Thanks
system
June 16, 2009, 6:57pm
2
Try this link. It is for a rotary encoder. Im assuming yours works in a similar fashion.
http://www.arduino.cc/playground/Main/RotaryEncoders
Basically you are going to use the two interupts in the arduino to monitor the rotation and determin which direction it is turning.
You're going to need to ask the maker, or experiment by hooking up the +5 and ground, and watching what comes out of the other 2 pins as you spin the knob. The "left" and "right" labels are ambiguous: they could be the same quadrature outputs as on the page that Ill Mill referenced, or they could be already decoded, and separate pulses coming out of one or the other to tell you the knob has spun to the left or right.
Ran
chris0
June 23, 2009, 2:53pm
4
The maker said...
Its standard quadrature, see the "Incrementar Rotary Encoder" section here:
A rotary encoder, also called a shaft encoder, is an electro-mechanical device that converts the angular position or motion of a shaft or axle to analog or digital output signals.
There are two main types of rotary encoder: absolute and incremental. The output of an absolute encoder indicates the current shaft position, making it an angle transducer. The output of an incremental encoder provides information about the motion of the shaft, which typically is processed elsewhere into information s...