Main > Main Forum

Steering Wheel Encoder and U-HID

<< < (2/3) > >>

Paul Olson:
That looks like the same board that was used in the 2.25" trackballs. I think the labelled connector you were working off of is backwards from this one. Looking at the front of the board, one of the inputs on the left, then 5v, then ground, then the other input. If the cursor on the screen moves in the wrong direction, just swap the input wires.

lamprey:
I can't seem to get this working..  :banghead:

I couldn't prove that the PCBs were any good so I bought a replacement pair from TwistyWristArcade and I can't get those going either. I can prove that the U-HID works as I got my Star Wars yoke working and can prove that quadrature works with a trackball. But, when I try hooking to the Atari PCBs I get nothing. I doubled check my connections with a volt meter and I can see that all the way rom the U-HID to the PCB is connected without interruption.

I also made a half-hearted attempt to hook these to an opti-pak and no dice either. I'm feeling rather silly here, so if anyone has any other advice or has hooked this type of Atari PCB to a U-HID and can assist in anyway, I'd appreciate it.

Thanks!

PL1:
Have you used a cell phone/digital camera to check if the IR LED part of the optical circuit is working?


Scott

lamprey:

--- Quote from: PL1 on May 17, 2014, 02:28:14 am ---Have you used a cell phone/digital camera to check if the IR LED part of the optical circuit is working?

--- End quote ---
Dang, I wish I knew you could do that earlier. :) I just checked all 4 of the PCBs with a digital camera and they are all show a couple of glowing dots when powered up.

PL1:
Good news -- Looks like you're 1/2 way there.   ;D

Check the voltage on one of the data lines.

When you slowly turn the encoder wheel, does the voltage vary between high and low?

If it does (and you have a second multimeter), when you slowly turn the encoder wheel, do the two data lines alternate changing states between high and low?  (phase 1 to phase 2 B changes, 2 to 3 A changes, 3 to 4 B changes, 4 to 1 A changes )



Coding for clockwise rotation
Phase   A     B
1         0      0
2         0      1
3         1      1
4         1      0
   
Coding for counter-clockwise rotation
Phase   A     B
1         1      0
2         1      1
3         0      1
4         0      0

The only other thing that comes to mind is whether the boards you are using are "active low" (most common configuration) or "active high".   :dunno


Scott

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version