Indentifying pinouts on rotary encoder

Hi,

in my junk drawer, I have a 5 or 6 rotorary encoders, the type you twist by hand. I can see no easy identification on the outside.

I took one apart to see if I could get an understanding of the pin outs, but I’m not sure and I wanted to post a couple of images to see if someone here could help.

As I opened it, I broke the wires to one of the ir devices, so you can only see one. There are two wires which run to the top to the other ir emitters or receivers, on the other side of the wheel.

On this device there are 4 pin outs at the ‘front’.
At the ‘back’ there appear to be 2 ir send/recv pairs
under the board is a TI chip with 82C475K and HC14
on top there looks like there are a couple of trim pots

Any ideas on what the pin outs are??

Thanks
Phil

I expect the "HC14" is a 74HC14 Schmitt-trigger hex inverter (a noise-reducing buffer).

The four pins are probably Ground, +5, Quadrature A, and Quadrature B.

The pin that connects to Pin 7 (same side but opposite end from the Pin 1 dot) is Ground.

The pin that connects to Pin 14 (across from Pin 1) is 5V.

The other two are the quadrature outputs and it doesn't matter which is which.

The pins at the ends are +5v and ground (but I can't tell which), the two in the middle are quadrature outputs. In the top picture, I think the resistor on the right is in series with the IR LED. If you use a multimeter to identify which side of the LED is the cathode, you can work out which way round +5v and ground are.

Thanks for the help guys.

Looking at the top pic, where the chip is shown:

The pin out on the left goes to pin 14 on the HC14, which is the +Vcc. The pin on the other end is the gound and the two middle pins are A and B.

Works great. See atached pic.

Best
Phil