Hello,
I recently purchased this encoder and I’ve been having some problems with it. Could anyone send me some more information about the numbers of phases (outputs) in this model, why the sticker says two outputs when the datasheet only says one output, and if there are any examples of uses/arduino code/python code that I could look at. Also, if there are any semi decent two output (or phase?) encoders under $100 that anyone knows about, it would be much appreciated.
Thank you
Steven H.
Hi,
The Rotary Encoder 200 P/R (RB-Spa-618) is a single phase output encoder with the following pinout :
Brown : VCC 5V-12V
Black : Output
Blue : GND
Could you post a picture of your encoder’s sticker ?
Here is an Arduino sample code/explanation on hot to use encoders with Arduino (two phases but same principle is applicable).
Here is our Encoders & Disks category for your reference. The Rotary Encoder 5000 P/R 3 Channel 6mm (NPN) or the 6mm Rotary Encoder 1024 P/R might interest you.
Here are some pictures of the encoder. Having one phase implies it can only measure distance, but not direction of the distance?
docs.google.com/document/d/1rjCF9wlcIjT1AHl2OSTKvi31uJMtHz3wFRSBQjaS9bA/edit?usp=sharing
Correct, this encoder has indeed one output/phase which you can interpret to find the position of the input shaft. You will need a quadrature encoder (2 outputs/phases) to obtain both position and direction of rotation.
Hi,
Do you know of any way to actually test the output of the phase A with an oscilliscope or multimeter? I don’t get any legible output on arduino and I’ve tried many code iterations.
Being able to check if my encoder is even working would be very helpful.
Yes, you should be able to easily probe the output of phase A of the encoder with an oscilloscope by connecting the oscilloscope’s probe to the output (black wire) and the oscilloscope’s reference probe to GND (blue wire). When rotating the encoder, you should see a square wave on the oscilloscope.